pleek Posted January 22, 2008 Share Posted January 22, 2008 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 https://forums.phpfreaks.com/topic/87282-layering-problem-in-heading-banner/ Share on other sites More sharing options...
pleek Posted January 22, 2008 Author Share Posted January 22, 2008 whoops, i just realized this is in php help and not html help. Don't think i can move it but sry anyways. Quote Link to comment https://forums.phpfreaks.com/topic/87282-layering-problem-in-heading-banner/#findComment-446480 Share on other sites More sharing options...
Stooney Posted January 23, 2008 Share Posted January 23, 2008 Try using the background image as the background to a <div> then placing the flash animation in that div. This should help you, I didn't check for typos but it should work. <html> <head> <title>Heading</title> </head> <body> <div style="background-image: url("http://craigh.tlcrepair.net/mkportal/templates/Forum/images/banner2.jpg"); width: 100%; height: 100px; text-align: center;"> <a href="http://www.craigh.tlcrepair.net"> <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> </a> </div> </body> </html> Quote Link to comment https://forums.phpfreaks.com/topic/87282-layering-problem-in-heading-banner/#findComment-446508 Share on other sites More sharing options...
pleek Posted January 24, 2008 Author Share Posted January 24, 2008 well the background and banner is in the right place but the background image's 100% for the width isn't working it just stops and starts againg in a pattern. Any ideas? Quote Link to comment https://forums.phpfreaks.com/topic/87282-layering-problem-in-heading-banner/#findComment-447498 Share on other sites More sharing options...
teng84 Posted January 24, 2008 Share Posted January 24, 2008 you can use absolute and put the link on absolutes it will aper like your swf has the link bu its the absolute Quote Link to comment https://forums.phpfreaks.com/topic/87282-layering-problem-in-heading-banner/#findComment-447502 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.