...

View Full Version : Why does IE have to be such a pain in the neck all the time? SWF onclick



arabab
09-18-2007, 08:35 PM
<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" border="0" width="600" height="300" onclick="window.location.href='http://somewebsite.com/'">
...
...
...
...
...
This works in FF but not in IE.

Thanks in advance for your help.

PappaJohn
09-18-2007, 09:16 PM
SWFObject (http://blog.deconcept.com/swfobject/) is a better solution.

VIPStephan
09-19-2007, 12:25 AM
I guess the most cross-browser compatible way would be to include the onclick event, or a clickable area, respectively, in the flash object itself (Actionscript).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum