HTML - Flash Menu With Frames, Trouble Scrolling
I have a Flash menu in a top frame, with a bottom frame that holds the content. Some of the content is large and needs to be scrolled. I would like the site to appear frameless, so the menu scrolls along with the content (so if you scrolled all the way down, you wouldn't see the menu). I initially tried putting it all into another frame, but didn't have much luck with that. I'm open to any suggestions. Let me know if I need to clarify anything. Thanks.
Similar TutorialsHi, I have had to use frames to get an audio loop to run consistently over multiple pages. However the issue i now have is with scrolling. The frame (top bar with just logo and audio script in) remains static when you scroll meaning the main page scrolls seperately. How do i get the whole page to scroll as one!? J hey guys. I don't want the flash text to open a new window when it is clicked. Prefer to have it open in the target mainFrame like i have asked it to. I really have spent hours clicking arond to figure it out. ----(code below from frameset)---- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Dragondoo...Simply Positive s</title> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); //--> </script> </head> <frameset rows="*" cols="173,*" framespacing="0" frameborder="no" border="0" bordercolor="#FFFFFF"> <frame src="Sidebar.htm" name="leftFrame" frameborder="no" scrolling="NO" noresize marginwidth="0" marginheight="0" title="leftFrame"> <frameset rows="109,*" cols="*" framespacing="0" frameborder="no" border="0"> <frame src="Header.htm" name="topFrame" frameborder="no" scrolling="NO" noresize marginwidth="0" marginheight="0" title="topFrame"> <frame src="nice5.htm" name="mainFrame" frameborder="no" marginwidth="0" marginheight="0" title="mainFrame"> </frameset> </frameset> <noframes><body> </body></noframes> </html> ---------(code below from selecting the top-most flash text information. NOTE: only the top flash text is being used to test)------ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Dragondoo...Simply Positive T-shirts</title> <style type="text/css"> <!-- body { background-color: #000000; } .style1 { font-family: "Book Antiqua", Garamond, "Times New Roman"; color: #FFFFFF; font-size: 24px; font-style: italic; } .style3 {color: #FFFFFF; font-style: italic;} --> </style> </head> <body> <p align="center"><img src="WebSite%20Images/DDLogo.png" alt="Dragondoo logo" width="168" height="104"></p> <p> </p> <p align="center"> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" name="Manifesto" width="100" height="20" align="middle" id="Manifesto" accesskey="0" tabindex="0" title="Our Beliefs"> <param name="movie" value="text2.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"> <embed src="text2.swf" width="100" height="20" align="middle" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000" name="Manifesto"></embed> </object> </p> <p align="center"> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="92" height="22" title="Do Good"> <param name="movie" value="text7.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"> <embed src="text7.swf" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="92" height="22" bgcolor="#000000"></embed> </object> </p> <p align="center"> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="44" height="26" align="middle" title="Say what!?"> <param name="movie" value="text11.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"> <embed src="text11.swf" width="44" height="26" align="middle" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed> </object> </p> <p align="center"> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="116" height="20" align="middle" title="Honestly, we love to help."> <param name="movie" value="text12.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"> <embed src="text12.swf" width="116" height="20" align="middle" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed> </object> </p> <p align="center"> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="150" height="22" align="middle" title="We want you happy."> <param name="BGCOLOR" value="#000000"> <param name="movie" value="text14.swf"> <param name="quality" value="high"> <embed src="text14.swf" width="150" height="22" align="middle" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000" ></embed> </object> </p> <p align="center"> <object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="123" height="22" align="middle" title="Oh yeah?"> <param name="movie" value="text13.swf"> <param name="quality" value="high"> <param name="bgcolor" value="#000000"> <embed src="text13.swf" width="123" height="22" align="middle" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" bgcolor="#000000"></embed> </object> </p> <p align="center"><br> </p> <p align="center"><img src="WebSite%20Images/bee125.png" width="125" height="99"> </p> <p> </p> <p> </p> <p> </p> <p> </p> </body> </html> Is there any way that I can set up a page with frames where the frames remain a fixed width and will stay that size even if the browser cannot show them in their entirety? This is a simplified version of what I'm trying to do (with two random sites in the frames for an example) <html> <frameset cols="800, 800"> <frame src="google.com"> <frame src="yahoo.com"> </frameset> </html> How that is working right now is that if you reduce the size of the browser then the frames also reduce in size so that they both remain on the page... I don't want this. I want the frames to remain the fixed width (800) and if the browser is not large enough to display them (<1600), I want it to have a scroll bar along the bottom to scroll further right to view them. I don't really ever use frames though, so I'm not quite sure if there's a command to throw in either frameset or frame tags or if there's something else I need to do. Thanks! I am trying to get rid of the "You have to click to activate this function" mumbo jumbo for a site I am doing. I tried following these directions... http://www.adobe.com/devnet/activeco...devletter.html but am having a rough time getting it to work... here is my code. Code: <script type="text/javascript"> AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0','width','900','height','140','src','GoodDock','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','GoodDock' ); //end AC code </script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="900" height="140"> <param name="movie" value="images/GoodDock.swf" /> <param name="quality" value="high" /> <embed src="images/GoodDock.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="900" height="140"></embed> </object></noscript> Hello everybody! First timer here. I'm a total noob here that somehow got assigned to design our company's website. My company is very understanding about my lack of experience and is willing to send me to any training I need. So, here's my question: Go to www.whitehouse.gov. I think the pretty scrolling menu at the top is exactly the kind of thing I want on my new website. How do I make something like that? I guess this breaks down into several separate ideas: I look at the source and I see that the menu is all set on a background image file called bg-main-one.jpg. How do you design these kinds of images? I love how you can right-click the submenu and open in a new tab. A lot of these menus I've seen you can't do that. I also love how the hyperlink appears on the status bar. Why isn't it like that everywhere? Hovering the mouse over each menu's title launches a separate menu. Is that just your basic ul li list-item HTML accompaned by extremely complex CSS? So how do I create something like that? What groovy technologies do I need to know? Hi, I am trying to create a scrollable menu for my website and I am looking for either code for what I am trying to do, or the url of any website with a similar type of menu implemented. i have looked around quite a bit and I can't find a site with what I am trying to create. part 1: I want to customize the appearance of my scroll bar so that it uses one small Jpeg for the scroll bar and another one for the scroll handle. part 2: as different titles and sub titles on the menu are clicked the menu expands to reveal new sub categories. I need the scroll handle to only show up once the list has reached the limits of the box. the attached image is a mock up of what i am trying to create to give you a better idea. thank you very much to anyone who can help. ive currently built an html website with a flash menu and would like to use it with iframes so that the menu doesn't have to refresh with page.. unfortunatelly this is my first time working with iframes and i am not sure what code to put into my flash buttons to call the page into the frame. I pretty much understand how to use iframes altogether, just not with flash as well! you can view the website he www.exsystems.co.uk (mind the flash embed, im still working on that too!) if someone would share some knowledge on this i would be very greatful! Hello All. I have been attempting a hover-scrolling menu display for my online art portfolio, however I seem to be unable to 1) put the hover-scrolling menu display into a tab-panel 2) have a second scrolling menu display with different content, underneath the first one, which works separately (at the moment they scroll together when either one of them has the mouse-hovering on) Here are my codes = ---------------------------------------------------------------- Code: body { } div.sc_menu { /* Set it so we could calculate the offsetLeft */ position: relative; height: 280px; width: 500px; overflow: auto; } ul.sc_menu { display: block; height: 230px; /* max width here, for users without javascript */ width: 4915px; padding: 15px 0 0 15px; /* removing default styling */ margin: 0; background: url('navigation.png'); list-style: none; } .sc_menu li { display: block; float: left; padding: 0 4px; } .sc_menu a { display: block; text-decoration: none; } .sc_menu span { display: none; margin-top: 3px; text-align: center; font-size: 12px; color: #fff; } .sc_menu a:hover span { display: block; } .sc_menu img { border: 3px #fff solid; -webkit-border-radius: 3px; -moz-border-radius: 3px; } /* Here are styles for the back button, don't look at them */ #back { display: block; width: 500px; text-align: center; color: #003469; font-size: 16px; } </style> <script type= "text/javascript">/*<![CDATA[*/ $(function(){ //Get our elements for faster access and set overlay width var div = $('div.sc_menu'), ul = $('ul.sc_menu'), ulPadding = 15; //Get menu width var divWidth = div.width(); //Remove scrollbars div.css({overflow: 'hidden'}); //Find last image container var lastLi = ul.find('li:last-child'); //When user move mouse over menu div.mousemove(function(e){ //As images are loaded ul width increases, //so we recalculate it each time var ulWidth = lastLi[0].offsetLeft + lastLi.outerWidth() + ulPadding; var left = (e.pageX - div.offset().left) * (ulWidth-divWidth) / divWidth; div.scrollLeft(left); }); }); /*]]>*/</script> </head> <body> <div class="sc_menu"> <ul class="sc_menu"> <li><a href="javascript:popitup('attachments/Image/art1-large.jpg')"><img src="attachments/Image/art1.jpg" alt=""/><span>IMAGE 1</span></a></li> <li><a href="#"><img src="attachments/Image/art2.jpg" alt=""/><span>IMAGE 2</span></a></li> <li><a href="#"><img src="attachments/Image/art3.jpg" alt=""/><span>IMAGE 3</span></a></li> </ul> </div> </body> </html> Code: <HTML> <HEAD> <TITLE>Java Popup Window Example</TITLE> <SCRIPT language="JavaScript" type="text/javascript"> <!-- ; var newwindow = '' function popitup(url) { if (newwindow.location && !newwindow.closed) { newwindow.location.href = url; newwindow.focus(); } else { newwindow=window.open(url,'htmlname','width=404,height=316,resizable=1');} } function tidy() { if (newwindow.location && !newwindow.closed) { newwindow.close(); } } ---------------------------------------------------------------------- Code: <div class="tab-pane" id="tabPane1"> <script type="text/javascript"> tp1 = new WebFXTabPane( document.getElementById( "tabPane1" ) ); //tp1.setClassNameTag( "dynamic-tab-pane-control-luna" ); //alert( 0 ) </script> <div class="tab-page" id="tabPage1"> <h2 class="tab">TERM ONE</h2> <script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage1" ) );</script> <<<attempt to insert scroll-menu 1 >>> <<<attempt to insert scroll-menu 2 >>> </div> <div class="tab-page" id="tabPage2"> <h2 class="tab">TERM TWO</h2> <script type="text/javascript">tp1.addTabPage( document.getElementById( "tabPage2" ) );</script> <<<attempt to insert scroll-menu here>>> </div> </div> <script type="text/javascript"> //<![CDATA[ setupAllTabs(); //]]> </script> </body> </html> ------------------------------------------------------------ Any suggestions or tips would be very much appreciated Hello guys ! Ok, i have this website: www.global-publicity.com and, how you see, i have two jump menus there . Well i wonder how can i do to click on Choose continent and when i click on Europe automatically open in left and right frames two html pages in there BUT open my second menu also (ROMANIA) Hope you understand and sorry for my bad english... I'm very new to HTML/CSS/Javascript. In the website I'm trying to build, I want to display a relatively simple navigation menu on the left side of the webpage, similar in look to the one here (example): http://build-website.com/design/opportunity.html Is there some way to put the initialization text for the navigation menu in a separate .html file (or, just some other file), so that every time I want to add a section/link to the nav menu, I won't have to go through each of my web pages individually and add the code for the link? (I am not going to use frames because, among other things, that would make it more difficult to bookmark and copy addresses of individual pages) I have been teaching myself through the w3schools tutorials, but despite looking through them and googling for answers I haven't been able to find a solution. Is this possible in HTML? Something that would allow something like like <div src="navmenu.html"> would be ideal but I haven't been able to find anything. (At the moment I'm just using notepad and typing in code manually) I have a youtube video on front of the school website and a horizontal dropdown menu just slightly above it. What is happening is when i hover over a menu item the drop down menu is going under the youtube video. But this is only happening on IE but not firefox http://www.rosebridge.wigan.sch.uk Does anyone have a idea? Hi All, I have one problem in HTML, I have a HTML file with drop down menu and a flash banner in bottom , while mouse over the menu the drop down is not visible in the top of the flash banner its going back side, can any one help me out how to bring the drop down menu top of the flash banner. Here is the sample link where I have the problem http://vivek192.5gbfree.com/index.html ____________________________________ sport book betting steroid I have a menu with coffie cup flash menu builder. And i have frames HTML. I know this question as be asked 10000 Times. How do i get the flash menu to go to my main frame page. It keeps opening in its own window a new window or taken up the hole window with out the frames. I tryed eveything including (release) { getURL ("main.html", "main"); } But it still doesnt work but i have no idear how to get this to work Hello, I would like to get the website menu to appear above the flash object. http://www.greekconcierge.com/weddings.php Currently when you click on "Our Services" this is hidden below the flash image object. many thanks, andy Hello, this is my first message here and I hope it will be for all you experts a serious one. This is my page I am developing right now: http://www.travelevros.gr/main.htm The page has one IFrame that loads its subpage of the flash menu. Please dont tell me to get rid of it, I need that IFrame. The flash menu it is placed outside of that IFrame of course, its container is the main page main.htm. In IE, everything works ok and the menu (as transparent) drops down nicely and the user can click the submenus alright, even if they are above the IFrame area. But with Firefox Mozilla, even though the menu drops down nicely too, the user cannot click the submenus, not even the links inside the IFrame page (that covered from the swf rectangular region). So there is a confusion in the Mozilla browser, where to send the click events: to the flash menu or the html page located in the IFrame. What should I do to make this work with Firefox Mozilla? I've tried some solutions i've found in Google, like entering the "z-index" property, placing the flash menu and/or IFrame inside a DIV layer, but I couldnt make it to work. The submenus still cannot be clicked when they drop over the IFrame content. As I said, in IE works fine. I've found somewhere else that the tip for this problem is to place the menu in a DIV and make that DIV load AFTER the IFrame is displayed, at the end of the page, thing that I dont have the knowledge to do. If this is right solution, can somebody help me doing this? On the other hand, if there is some other solution then I am ready to listen. Thank you very much for your time. p/s Check the first menu on the left, it works in Mozilla too, but thats because this region its outside the IFrame. The other menu choices falls down to the IFrame region, so the problem is with the layer placement. Where I have a flash drop down nav bar on top of html it is disabling the links that are underneath the flash nav bar. In firefox even the links in the nav bar do not work where they overlap. HELP!!!! Much appreciative ...Cory Here is the link... http://209.40.102.3/cory/PSBrokerage.asp Website: http://the1337arcade.com/pt/ Problems: I Got the Dropdown Menu Fixed like i want it, The only problem is the 1px at the end of the navigation, if i add a extra px to the padding it drops that and makes the last button go down to the next row... i want it all to be in the same line HTML: Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> <html> <head> <title>Pine Tree High School - Theatre Department</title> <meta name="description" content="The Homepage for the Pine Tree High School Theatre Department."> <meta name="keywords" content="Pine Tree High School,Pine Tree High School Theater,Theatre,Anup Patel,The1337Arcade"> <link href="style.css" type="text/css" rel="stylesheet"> <script type="text/javascript"> var timeout = 500; var closetimer = 0; var ddmenuitem = 0; // open hidden layer function mopen(id) { // cancel close timer mcancelclosetime(); // close old layer if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; // get new layer and show it ddmenuitem = document.getElementById(id); ddmenuitem.style.visibility = 'visible'; } // close showed layer function mclose() { if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; } // go close timer function mclosetime() { closetimer = window.setTimeout(mclose, timeout); } // cancel close timer function mcancelclosetime() { if(closetimer) { window.clearTimeout(closetimer); closetimer = null; } } // close layer when click-out document.onclick = mclose; </script> </head> <body style="background-image: url('bg.jpg')"> <table align="center" cellpadding="0" cellspacing="0" class="container"> <tr><td><div id="header"><a href=index.htm><img border=0 src="logo.jpg" class="logo" alt="PTHS Theatre"></a></div></td></tr> <tr><td> <table align="center" cellpadding="0" cellspacing="0" class="main"> <tr><td> <ul id="sddm"> <li><a target=I1 href="home.htm">Home</a></li> <li><a href="#" onmouseover="mopen('m2')" onmouseout="mclosetime()">Theatre Productions</a> <div id="m2" onmouseover="mcancelclosetime()" onmouseout="mclosetime()"> <a target=I1 href="#">2008-2009</a> <a target=I1 href="#">2007-2008</a> <a target=I1 href="#">2006-2007</a> <a target=I1 href="#">2005-2006</a> </div> </li> <li><a target=I1 href="about.htm">About The Director</a></li> <li><a target=I1 href="contact.htm">Contact The Theatre </a></li> <li><a target=I1 href="contact.htm">Links</a></li> <li><a target=_blank href="http://ptisd.org">District Home Page</a></li> </ul> <div style="clear:both"></div> </td></tr> <tr><td> <center><DIV STYLE="margin-top:10px;"> <iframe name="I1" width="100%" height="400" src="home.htm" border="0" frameborder="0"> Your browser does not support inline frames or is currently configured not to display inline frames. </iframe> <br> </p> </td></tr><tr><td> <div id="blackfooter"> <span style="float:right;"> p: 903.295.5031. e: <a href=mailto:mgoodding@ptisd.org> <span style="text-decoration: none"><font color="#FFFFFF">mgoodding@ptisd.org</font></span></a><font color="#FFFFFF"> </font> </span> 1001 Fairmont Street | Longview, Texas 75605</div> </td></tr> </table> </td></tr> <tr><td> </td></tr> </table> </body> </html> CSS: Code: /* CSS */ html { height: 100%; margin-bottom: 1px; } body { margin: 15px 0px 15px 0px; background: url(/images/bg.jpg); } table.container { width: 750px; background: #FFFFFF; border: solid 1px #000000; } table.main { width: 700px; background: #FFFFFF; border: solid 1px #000000; } ul { margin-top: 5px; } /* header */ #header img.logo { margin: 20px 0px 0px 20px; border: 0; } #header .login { margin: 20px 25px 0px 0px; width: 198px; height: 20px; float: right; font-size: 13px; } #header .login form { margin: 0px; } /* main nav */ #nav { width: 100%; background: #000000; color: #000000; text-align: center; line-height: 25px; } #nav a { margin: 0px 15px 0px 15px; color: #FFFFFF; text-decoration: none; } #nav a:hover { margin: 0px 15px 0px 15px; color: #0026b9; text-decoration: none; } /* footer */ #blackfooter { width: 100%; background: #000000; font-size: 13px; color: #FFFFFF; text-align: left; line-height: 23px; } #footer { width: 700px; background: #FFFFFF; margin: 10px 0px 10px 25px; font-size: 11px; color: #444444; text-align: center; } #footer a { margin: 0px 3px 0px 3px; color: #444444; text-decoration: underline; } #sddm { margin: 0; padding: 0; z-index: 10} #sddm li { margin: 0; padding: 0; list-style: none; float: left; font: bold 11px arial} #sddm li a { display: block; margin: 00px 0 0; padding: 4px 17px 4px 16px; width: auto; background: #000000; color: #FFF; text-align: center; text-decoration: none} #sddm li a:hover { background: #0026b9} #sddm div { position: absolute; visibility: hidden; margin: 0; padding: 0; background: #000000; border: 0px solid #5970B2} #sddm div a { position: relative; display: block; margin: 0; padding: 0px 10px; width: auto; white-space: nowrap; text-align: left; text-decoration: none; background: #000000; color: #FFFFFF; font: 11px arial} #sddm div a:hover { background: #0026b9; color: #000} Thanks for all Help.. Hi I'm trying to make a menu that has sub-menus within it. It will be a vertical menu and right now I'm still working it out so it's not as graphically pleasing as I intend it to be. But before I go any further in the menu I'm trying to figure out how to get the submenu to have links in it. I was just wondering if someone could lend their input on how to get the sub-menus to have links.Here's the Code(I included the style in the page)- Code: <html> <head><style> #menu { width:100px; text-align:center; position:absolute; left: 50px; margin:2em auto; z-index:99999; border-right:10px #000000; } .box { position:relative; z-index: 99999; border-right:10px #000000; } #menu a, #menu a:visited { text-decoration:none; background-color:#fff; color:#c00; display:block; width:140px; height:21px; font-size:14px; border:1px solid #fff; border-right:10px #000000; padding:5px; } * html #menu a, * html #menu a:visited { width:150px; height:35px; w\idth:88px; he\ight:16px; border-right:10px #000000; } #menu a span { display:none; } #menu a:hover { border-right:10px #000000; } #menu a:hover span.left, #menu a:hover span.right { /*outside area of arrow*/ display:block; position:absolute; height:0; width:0; overflow:hidden; border-top:8px solid #fff; border-bottom:8px solid #fff; } #menu a:hover span.left { /*arrow*/ left:5px; top:5px; border-left:8px solid #c00; } #menu a:hover span.right { left:150px; top:5px; border-right:8px solid #c00; } * html #menu a:hover span.left, * html #menu a:hover span.right { width:8px; height:16px; w\idth:0; he\ight:0; } #menu a:hover span.lk { /* extra infor spot*/ display:block; position:absolute; left:140px; top:0; padding:5px; width:150px; background-color:#fff; color:#000; border:1px solid #234; } </style></head><body> <div id="menu" style="z-index:9999999;"> <br><br><br><br><br> <div class="box"> <a href="#nogo">Item 1 <span class="left"></span> <span class="right"></span> <span class="lk"> Description of link 1 </span> </a> </div> <div class="box"> <a href="#nogo">Item 2 <span class="left"></span> <span class="right"></span> <span class="lk"> Description of link 2 </span> </a> </div> <div class="box"> <a href="#nogo">Item 3 <span class="left">dhsf</span> <span class="right">dshsdg</span> <span class="lk"> Description of link 3 </span> </a> </div> <div class="box"> <a href="#nogo">Item 4 <span class="left"></span> <span class="right"></span> <span class="lk"> Description of link 4 </span> </a> </div> <div class="box"> <a href="#nogo">Item 5 <span class="left"></span> <span class="right"></span> <span class="lk"> Description of link 5 </span> </a> </div> </div> </div></body><html> Thanks for your input. Unfortunately I haven't quite solved this horizontal menu that I'm trying to get displayed correctly, just yet. This is my latest code: CSS Code: #headerNavMenuContainer { background: url('images/main_nav_bar2.gif') no-repeat center; float: left; height: 42px; width: 100%; margin: 0 auto; text-align: center; } #headerNavMenu ul { height: 42px; /* the height of the menu bar */ border: 1px solid #000; /* to make sure DIV displays at desired dimensions */ margin: 0 auto; /* i'm not entirely sure what 'auto' does */ text-align: center; /* i don't know how to center vertically in DIV */ } #headerNavMenu li { height: 42px; margin: 0 auto; display: inline; height: 100%; text-align: center; border-right: 1px solid #f00; list-style-type: none; } #headerNavMenu li a { height: 42px; margin: 0 auto; color: #000; text-decoration: none; } HTML Code: <div id="headerNavMenuContainer"> <div id="headerNavMenu"> <ul> <li><a href="#">Home</a></li> <li><a href="#">Products</a></li> <li><a href="#">Encyclopedia</a></li> <li><a href="#">Forum</a></li> <li><a href="#">The Truth</a></li> <li><a href="#">About Us</a></li> <li><a href="#">Contact</a></li> <li><a href="#">Publications</a></li> </ul> </div> </div> The pics below show what I currently have and what I'm trying to get to. I thought for sure that after all the helped I've received so far (many thanks, btw) that I'd be able to setup a horizontal menu using UL/LIs with some CSS. I've studied many other sites that use horizontal menues this way and have tried to figure 'em out but no luck so far Here's my attempted code so far: CSS Code: #headerNavMenuContainer { background: url('images/main_nav_bar2.gif'); float: left; border: 1px solid #000; height: 42px; width: 100%; } #headerNavMenu ul { font-weight: 800; text-align: center; } #headerNavMenu ul a { border-right: 1px solid #dadada; color: #000; text-decoration: none; } HTML Code: <div id="headerNavMenuContainer"> <div id="headerNavMenu"> <ul> <li><a href="#">Home</a></li> <li><a href="#">Products</a></li> <li><a href="#">Encyclopedia</a></li> <li><a href="#">Forum</a></li> <li><a href="#">The Truth</a></li> <li><a href="#">About Us</a></li> <li><a href="#">Contact</a></li> <li><a href="#">Publications</a></li> </ul> </div> </div> |