tapan — 2010-05-24T04:50:43-04:00 — #1
I have simple html code but the a href tag in it is not working:
<a href='swfplay.php?ItemID=180'><OBJECT CLASSID='CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000' CODEBASE='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' ID='FVS' Width='300' Height='250'>
<PARAM NAME='movie' VALUE='items_images/1274439560Movie.swf'>
<PARAM NAME='bgcolor' VALUE='#000000'>
<PARAM NAME='allowfullscreen' VALUE='true'>
<EMBED NAME='FVS' SRC='items_images/1274439560Movie.swf' ALLOWFULLSCREEN='true' BGCOLOR='#000000' WIDTH='300' HEIGHT='250' TYPE='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer'></EMBED>
What is the issue ?
serverpoint — 2010-05-24T05:18:02-04:00 — #2
You may need to use
xhtmlcoder — 2010-05-24T05:21:14-04:00 — #3
It won't work because you are probably writing gibberish code plus "proprietary markup", i.e. EMBED. What exactly are you trying to achieve embed some Flash file within a web-page?
At the moment you basically have as follows:
<object data="example.png" type="image/png">Generic Fallback</object>
Why are you wrapping the object within a hyperlink in the first place the anchor is inline and usually the "fallback" occurs within the object.
I'll give you a big hint; where is your "Fallback" text/content? If you had one - like in my example - you might see a hyperlink.
tapan — 2010-05-24T05:35:20-04:00 — #4
Yes i am trying to put in a flash file and thats why there is no fallback text/content. How to go now ?
zcorpan — 2010-05-24T06:18:33-04:00 — #5
Clicking on a flash object is like clicking in an iframe. The click event goes into the flash object, not to the <object> element, so it never bubbles through to the <a> and so the link is not followed. You need to implement the link in the flash object itself or overlay the link over the flash object.
bulevardi — 2010-05-24T07:22:29-04:00 — #6
What about the path?
Because I saw you used a path in your object:
tapan — 2010-05-24T07:34:43-04:00 — #7
What about it ? Its just fetching the swf file from that folder nothing special..even if the link exists or not but a href should still work. But it is not working. I think zcorpan is right.