Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Question about LightBox?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

JJenson
Advanced Member

USA
2121 Posts

Posted - 08 March 2008 :  15:49:10  Show Profile  Visit JJenson's Homepage
I know this isn't a lightbox forum so please no one tell me that. I have asked this question on their forum and just figured I would see if anyone here has even attempted to use it and do what I am trying to do.

Basically I want to change where the lightbox div is being written normally it gets written at the top of the html page but I want it to show up in a table I have created so I can get the lightbox image to show in the same place no matter what someones resolution is.

Anyone ever try this before?

Thanks


This is the javascript that produces the div to hold the images.


var objLightbox = document.createElement("div");
objLightbox.setAttribute('id','lightbox');
objLightbox.style.display = 'none';
objLightbox.style.position = 'absolute';
objLightbox.style.zIndex = '100';


I think I need something along the lines of this


var objLightbox = document.createElement("div");
objLightbox.setAttribute('id','lightbox');
objLightbox.style.display = 'none';
objLightbox.style.position = 'absolute';
objLightbox.style.zIndex = '100';
document.getElementById("lightbox").appendChild(homeNav) //append new div to another div


would something like this be right?

Edited by - JJenson on 08 March 2008 16:01:56
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.35 seconds. Powered By: Snitz Forums 2000 Version 3.4.07