View Single Post
  #5 (permalink)  
Old Jul 25th, 2007, 11:32
MikeHopley MikeHopley is offline
SuperMember

SuperMember
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Javascript to change Base href?

Quote:
Originally Posted by Zonglars View Post
just something to save code, as the thumbnails are on photobucket for the moment, so i just want to have some javascript change the base href at the start of the thumbnail section, then change it back to the original at the end of the section.
This won't work, because base href is a global attribute for the document. At best, changing it will break all your other links!