Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/87282-layering-problem-in-heading-banner/
Share on other sites

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>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.