Results 1 to 2 of 2

Thread: javascript on top of Lightbox
      
   

  1. #1
    CarbonTerry's Avatar
    CarbonTerry is offline Major General
    Join Date
    Oct 2005
    Location
    St L MO
    Posts
    2,590

    Default 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

  2. #2
    Join Date
    Feb 2006
    Location
    Earth
    Posts
    8,721

    Default 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.



    .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49