Results 1 to 3 of 3

Thread: Lightbox image is under navigation bar. Need it to be above and not have navbar show

  1. #1
    Join Date
    May 2008
    Posts
    91
    Thanks
    35
    Thanked 0 Times in 0 Posts

    Default Lightbox image is under navigation bar. Need it to be above and not have navbar show

    1) Script Title: Lightbox image viewer 2.03a

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...box2/index.htm

    3) Describe problem:
    The lightbox large image is under the navigation bar. I would like the the image to be on top so the nav bar does not show through.
    Thanks
    Last edited by printman55; 09-04-2013 at 10:22 PM. Reason: remove link to page

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,926
    Thanks
    43
    Thanked 3,192 Times in 3,155 Posts
    Blog Entries
    12

    Default

    Using a text only editor like NotePad, around line #109 in the kinshipcomfortbrands.com/p7pmm/p7PMMscripts.js file, cange the zIndex to 50 (as highlighted, change shown in red):

    Code:
    	for(k=0;k<p7PMMctl.length;k++){
    		tM=document.getElementById(p7PMMctl[k][0]);
    		if(tM){
    			tM.p7opt=p7PMMctl[k];
    			if(typeof(opera)!='undefined'||navigator.appVersion.indexOf("MSIE 5")>-1){
    				tM.p7opt[2]=0;
    			}
    			if(P7_PMMisMobile()){
    				tM.p7opt[15]=2;
    			}
    			P7_PMMremClass(tM,'p7PMMnoscript');
    			tM.pmmshut=true;
    			tM.style.position='relative';
    			tM.style.zIndex='50';
    			tM.p7PMMtmr=null;
    			tD=tM.getElementsByTagName("DIV");
    			for(i=0;i<tD.length;i++){
    				tD[i].setAttribute("id",tM.id+'d'+(i+2));
    				tD[i].p7state='closed';
    				tD[i].pmmmenu=tM.id;
    			}
    			tM.pmm . . .
    The browser cache may need to be cleared and/or the page refreshed to see changes.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. The Following User Says Thank You to jscheuer1 For This Useful Post:

    printman55 (09-04-2013)

  4. #3
    Join Date
    May 2008
    Posts
    91
    Thanks
    35
    Thanked 0 Times in 0 Posts

    Default

    Thanks, John that's it!

Similar Threads

  1. using lightbox and to always show next a previous buttons
    By jonnyfreak in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 03-05-2013, 07:52 PM
  2. Replies: 1
    Last Post: 12-08-2011, 01:49 PM
  3. Resolved Other navigation/menu buttons won't show
    By mdisch in forum CSS
    Replies: 2
    Last Post: 04-02-2010, 09:09 PM
  4. Lightbox & Navbar Issue
    By Timothyvb in forum JavaScript
    Replies: 0
    Last Post: 03-22-2009, 08:21 AM
  5. Navigation Lightbox viewer
    By jheerkens in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 01-06-2009, 12:52 PM

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
  •