pleek Posted January 23, 2008 Share Posted January 23, 2008 I accidently posted this in php help and i didn't know how to move it so i just reposted it. ok so i have this code. Here is what it looks like Here is the code <html> <head> <title>Heading</title> </head> <body> <a href="http://www.craigh.tlcrepair.net"> <img src="http://craigh.tlcrepair.net/mkportal/templates/Forum/images//banner2.jpg" width="100%" height="100" border="0"> <center> <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"codebase="http://download.macromedia.com /pub/shockwave/cabs/flash/swflas.cab#version=7,0,19,0" width="780" HEIGHT="100"> <param name="movie" value="newbanner5.swf"> <param name="quality" value="high"> <param name=wmode value="transparent"> <embed src="newbanner5.swf" quality="high" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="780" HEIGHT="100"> </embed> </object> </center> </a> </Body> </html> Im having two problems with this code. First being that i can not for the life of me get the swf banner in front of the background image. Ive tried a couple of different ways but nether of them worked. This could just mean i was coding it wrong. Second. The like for the banner is to the main index of my site. When you mouse over the background image the cursor changes to a pointer but not when you mouse over the swf banner even though they are both part of the same link. Any help on ether of these problems would be much appreciated. Quote Link to comment Share on other sites More sharing options...
phpQuestioner Posted January 23, 2008 Share Posted January 23, 2008 you don't have a background image (you do that with css); what you have is a regular html image. you will need to create a div or table and set a background image for the div or table and then put your flash movie in the div or table. you need to put a transparent layer over your flash movie; set it as a button, that just has a roll-over simulation, with no actual event. this should solve your problem. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.