Embed not working in <a></a>

liunx

Guest
hey i got this code:<br />
<br />
<td valign="top" width="0%"><a href=http://www.htmlforums.com/archive/index.php/"nieuws.php"><embed src="images/nieuws.swf" width="100" height="80"></a></td><br />
<br />
When i click on the swf file it doens't loads the new page<br />
when i put some text in <a..>asdsad</a> it does load.<br />
<br />
so why can't i use <embed> in my <a> ? :D<br />
<br />
Edit:<br />
I already tried js using onlick="FRAME1.location.href='http://www.htmlforums.com/archive/index.php/niews.php'" but that dind't wrk either<!--content-->ummm....that is a strange problem. make sure ALL of your spelling and code is PERFECT. cuz you will check it over and over and not find anything wrong, and the whole time it was cuz you did this <a hreaf="xxx.html">. so make sure everything is correct. Also, if that doesnt work dont embed the object. It looks like you are working witha flash file, so try just putting it in an <img> tag. if that doesnt work, then go back in flash and save it as an animated .gif, instead of .swf.<!--content-->Hmmm, you need to have the location of the new page embedded inside the .swf Flash file itself. <br />
<br />
The Flash file will issue the call for the new page, without actually using an HTML anchor at all.<!--content-->Originally posted by 13 year old <br />
ummm....that is a strange problem. make sure ALL of your spelling and code is PERFECT. cuz you will check it over and over and not find anything wrong, and the whole time it was cuz you did this <a hreaf="xxx.html">. so make sure everything is correct. Also, if that doesnt work dont embed the object. It looks like you are working witha flash file, so try just putting it in an <img> tag. if that doesnt work, then go back in flash and save it as an animated .gif, instead of .swf. <br />
<br />
You can't put a flash file in an img tag. You could go back in the flash file and make the whole frame a link.<!--content-->
 
Back
Top