-
Script - Style Sheet Switcher Images
1) Script Title: Style Sheet Switcher
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...etswitcher.htm
3) Describe problem: I require to change the image in the header section of my site dependent on which style is chosen the text is currently pink but I have enabled the blue below to show the two different styles.
Where do I put the code for this.
I have a line in the header file as follows
<img width="700" height="50" align="middle" id="prrr-header-img" />
and I think I need the following line in the script.
document.getElementById('prrr-header-img').src = '/newsite/images/prrr/prrr_words_'+title+'.png';
web site is www.prrr.org/newsite
Thanks
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks