javascript on top of Lightbox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • CarbonTerry
    Major General

    • Oct 2005
    • 2620

    javascript on top of Lightbox

    Hello,
    I am using a javascript menu ( http://www.usmc-trw.com/ ) on my pages. Whenever an image is opened in Lightbox the menu is on top of the enlarged image. Can I prevent that?

    Sorry, but whenever I enter the script here it dissappears.....
    CarbonTerry
    Semper Fi
    Still green...still mean......just not as lean

    Red Hawk Archery
    Zone 5 Photo
    My USMC
  • Collectors-info
    General

    • Feb 2006
    • 8703

    #2
    Re: javascript on top of Lightbox

    Hi, one of the others had the same problem with flash having the same effect. I assume that you have brought the menus html box to the front of page? If not i can only suggest the Css menu below if of any use? . (Lot less coding)

    Place this 1st part in the "Between head tag" of your page. Its set to your menus colors & will auto size to the text in each menu area.

    HTML Code:
    <style type="text/css">
    #menu1 {
      display:table;
      padding:0; 
      margin:0 auto; 
      list-style-type:none;
      white-space:nowrap;
      }
    #menu1 li {
      display:table-cell;
      }
    * html #menu2 li {
      float:left;
      }
    #menu1 a {
      width:auto;
      display:block;
      padding:2px 6px;
      color:#FFCC00; 
      background:#454000; 
      border:1px solid #FFCC00; 
      text-decoration:none;
      }
    * html #menu1 a {
      float:left;
      }
    #menu1 a:hover {
      color:#000; 
      background:#FF0000;
      }
    </style>
    And place this In a html box where you want your menu to show. Adjusing the #nogo parts for your urls & the text for the links.


    HTML Code:
    <ul id="menu1">
    <li><a href="#nogo">Tab One</a></li>
    <li><a href="#nogo">Tab Two</a></li>
    <li><a href="#nogo">Tab Three</a></li>
    <li><a href="#nogo">All tabs will auto extend to the text</a></li>
    </ul>
    Good luck.



    .
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment

    Working...
    X