PDA

View Full Version : onClick within <a> tag


davidj
03-08-2006, 11:38 AM
anyone know if this is valid...

logout (#)

This works in IE6, IE7 but throws a wobbly bottom lip in IE5.5

the reason i have done this like this is coz most of the time i fire multi functions from the same link so i would do...

domedia
03-08-2006, 02:08 PM
Not sure what you mean by 'wobbly lip', but it's should work, alough not completely 'valid' :) the href field needs a url in it, you can have javascript ignore it:
logout (pfm_monitor.php?doLogout=true)

davidj
03-08-2006, 02:14 PM
wobbly bottom lip = like a child who has fallen head first off the monkey bars and landed on his face.

picture the senario!

domedia
03-08-2006, 02:16 PM
I do, I still trying to figure out what the browser is telling me when it looks like that ;)
More importantly; what was the browser doing on the monkeybars in the first place?
FireMonkey?

Creative Insanity
03-08-2006, 06:31 PM
Well if it works I say use it.. and if someone is still using 5.x then they deserve the wobbly bottom. LOL