i wish to add a further action to the script to change the css for a class
document.write( 'DIV STYLE='display;none;); />' ) } was my initial idea but it doest seem to work so using
if (location.href.indexOf( "/smispage""/tpfpage""/client_images_new""/client_images_list" ) > -1) {
document.write( '<base target="_blank" />' );
}
and adding to it with
if (location.href.indexOf( "/smispage""/tpfpage""/client_images_new""/client_images_list" ) > -1) {
document.write( '<base target="_blank" />' ); document.write( 'DIV STYLE='display;none;); />' )
}
the body is
<div class="headerlogo"> Serious Photography </div>
<div> Serious Photography 2 </div>
This is kind of a hard question to follow, but if you want to check for what page you are on, you can use
A conditional check to match the strings could then decide whether you want to add the new style. I’d change the class to an ID.
then you can do
Personally, I’d use SIZZLE or jQuery to make the selectors easier.