Jump to content

layering problem in heading banner


pleek

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.