SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Aug 2006
    Location
    Reading, UK
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Drop down menu problem

    Hi,

    I have a horizontal drop down flash menu on my site, and I'm trying to make it drop down so it overlaps my html content. Unfortunately, I don't really have much clue how to do this. I know it involves z-index, but I can't seem to get it working! Please help!

    here's my code

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <title>Untitled Document</title>
    <link href="style.css" rel="stylesheet" type="text/css" />
    </head>

    <body>
    <div id= "container">
    <div id= "title">
    <div id= "titleimage"><img src="title.jpg" alt="Revolution Soho"/></div>
    </div>
    <div id="leftcolheader"></div>
    <div id="flashheader">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="568" height="325" title="flash header">
    <param name="movie" value="header.swf" />
    <param name="quality" value="high" />
    <embed src="header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="568" height="325"></embed>
    </object>
    </div>
    <div id="rightcolheader"></div>
    <div id="flashmenu">
    <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="200" title="flash menu">
    <param name="movie" value="menu1.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <embed src="menu1.swf" width="800" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
    </object>
    </div>
    <div id="bodycontainer">hhh</div>
    </div>
    </body>
    </html>
    body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    }

    #container{
    width:768px;
    margin: 0 auto;
    }


    head+body #container{overflow:hidden;}

    #title{
    height:64px;
    background: #903C28;
    padding: 1px 3px;
    }

    #titleimage {
    width:428px;
    height:47px;
    margin:10px 0 0 7px;
    }


    #leftcolheader,#rightcolheader,#flashheader{margin-bottom: 1.5px; margin-top:3px;background:#7C4F36;height:324px;float:left;}

    #leftcolheader,#rightcolheader{width:97px;}

    #flashheader{width:568px;margin-left:3px;margin-right:3px;}

    #flashheader embed{display:block;}

    #flashmenu{ }
    #bodycontainer{
    background: #903C28;

    }

  2. #2
    SitePoint Zealot
    Join Date
    Jul 2006
    Location
    Florida
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    perhaps if you posted links to the flash objects, it's hard to fix it without being able to see them in action

  3. #3
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are the dropdowns part of the Flash movie? If they are, they're not going to drop down below the confines of the movie.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •