Hi so I recently discovered this code to add a background onto a specific member's page:
It works like a charm, except there are a lot of members on my forum so instead of adding it just to user68 it's adding it to user 681, 682, 683 etc
How do you make it only add it to user 68?
Thank you
http://www.gasrforum.com/
- Code:
jQuery(document).ready(function(){
if(window.location.pathname.indexOf("/u68")!==-1){
jQuery('<style>body{background: url("http://media.tumblr.com/6233adc1e97adcc10105f1988b8a2465/tumblr_inline_mns3reYdBr1qz4rgp.gif"); </style>').appendTo(document.head);
} else return;
});
It works like a charm, except there are a lot of members on my forum so instead of adding it just to user68 it's adding it to user 681, 682, 683 etc
How do you make it only add it to user 68?
Thank you
http://www.gasrforum.com/
Last edited by Bedlam on May 29th 2015, 12:24 am; edited 1 time in total