Safari Javascript
- Started
- Last post
- 8 Responses
- stewart
i use this script in an tag, it works in ALL browsers on ALL platforms EXCEPT mac Safari
onClick="SwitchMenu('sub1'); parent.pictures.location.href='p...
any idea why?
i'm curious.
- stewart0
btw:
the SwitchMenu part works
it is about the parent.pictures.loca tion.href='URL'"
part that doesn't work in Safari
- stewart0
well eh,
it is possible to put two actions in one onClick event with javascript right?
onClick="SwitchMenu( 'sub1'); parent.pictures.loca tion.href='pictures/ index.html'"
or is it only executing the first one?
- stewart0
haha, what a monologue.
- Rand0
Internet- Too much to keep track of. Too much work. Fuck it
- stewart0
webdesign is cool.
but programming it sucks indeed.
- stewart0
ah well, i changed the design
it now looks like this
http://www.kulsdom.com
- openmind0
Hi,
If you want to make your page xhtml compliant you could try using onclick instead of onClick. Xhtml wants everything in lowercase.
I had similar probs with safari but now just make my pages xhtml compliant and they work fine.
You can check them online by using
enjoy.
- stewart0
well, the index page appears to be "Valid HTML 4.01 Transitional!"
so that's not xhtml compliant?
i think i have to dive into this stuff to be an up to date designer...