Microsoft
Software
Hardware
Network
Question : JavaScript to find if URL and link are the same and change the style if true!
Basically I'm trying to write some code that looks at every link on a page and if it finds one that matches the URL it will change the style of that link.
The link would be like this..
/one/two/three.htm
And the URL would be...
http://www.number.com/one/
two/three.
htm
I'm guessing something like this needs to be used...
lastIndexOf(substr, [start])
Then both URL and link compared and if they match that link will have its style changed.
Any help would be great!
thanks,
Mark
Answer : JavaScript to find if URL and link are the same and change the style if true!
LOL. Change:
Numbervar OverTotal1;
to:
Shared Numbervar OverTotal1;
in all formulas. No, I can't explain why it didn't work like the first report.
Random Solutions
Newsletter emails stuck in qmail queue
I need a website done for my company
Move Mailbox Powershell Script (sending Welcome e-mail HTML format)
Installing PHP XP (IIS 5.1)
VBscript Help for a Newbie trying to pull AD Computer Info into Excel 2007
Silverlight Master Details
Master Page Layout problem
A non-SYN packet was dropped because it was sent by a source that does not have an established connection with the Forefront TMG computer
Arcserve will not load second tape
windows 7 home password policy