View Single Post
  #9 (permalink)  
Old Sep 6th, 2007, 15:55
c_martini c_martini is offline
Junior Member
Join Date: Jul 2006
Location: London
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Re: newbie javascript problem

Actually I had another idea. I think for my purposes rather than the javascript counting the number of '/' and adding/appending the variable to the end of the link, would it be difficult to have it look for a string or something in the url and replacing it? The reason I ask is the url I gave in the example will most definately not always be the same length or path so this javascript just breaks the link if its not always the same length as the example...
Reply With Quote