[Pro] Lightbox Position Off Page

I used VisualLightBox to create the thumbnails and lightbox on this page: http://invertministries.com/Art/homestead.html . Then, I imported it into FreeWay via iFrame.

There are 125 images, a lot, I know. There are over 2000 images and I’m spreading them out across about 20 pages. The lightbox is working as it should with one problem. Depending on which image you click, the lightbox can appear “off the screen.” I’ve tried playing with the iFrame scrolling options in FreeWay, but that doesn’t seem to help.

VisualLightBox has the option of using jQuery or Prototype + script.aculou.us engine. The default was jQuery and that is the current setting.

I’ve uploaded the VisualLightBox directly here: http://joenathan4art.com/VisualLightBox/Homestead/

The lightbox is not off the page there, but something is happening with the iFrame & FreeWay that is making it not work correctly.

Any ideas? And Thanks!!!

Doty

http://invertministries.com/Art/homestead.html


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

The Lightbox image is supposed to display in the middle of the page/screen - because you are using an iFrame the image may be displaying in the middle - just not in the middle of your page.

This page has a VLB on it - note what happens when you resize the window. http://www.deltadesign.co/fw_examples/other/vlb.html

I have added VLB by using Insert>Markup Item and pasting the VLB code in there. That gives me the control you dont have.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi again David,

That’s what I’m trying to do! You must be tired of hearing me say, “how did you do that?”

What code are you pasting? I’ve been uploading directly from VLB, then going to “view source” copying and pasting. It looks horrible. What am I missing?

Doty


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It is quite a while since I built this example but I used the VLB output.

In Insert>Markup Item I pasted the code from the VLB output that starts

<!-- Start VisualLightBox.com BODY section id=1 -->

Then the rest of the code down to the bit

<!-- End VisualLightBox.com BODY section -->

In Page>Html Markup in the Before section I pasted in from

<!-- Start VisualLightBox.com HEAD section -->

down to

<!-- End VisualLightBox.com HEAD section -->

I uploaded (by FTP) the various files and folders (engine etc.) and made sure they shared the same structure as when output by VLB and then made sure that the paths to these files/folders matched the code that I pasted into Page>Html Markup and that in the Insert>Markup Item.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

David,

For some reason, the code generated by VLB seems strange. If I go to this site http://joenathan4art.com/VisualLightBox/Gourds/ and look at the code, the links to the images are incomplete.

I will try to manually fix the code, but for the pages that have a lot of images, it’s going to take a lot of time.

Any other thoughts?

Doty


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

If you are referring to - a href="data/images1/gourd_04a.jpg

Then that is not incomplete - it is known as a relative path as opposed to

http://www.yoursite.com/data/images1/gourd_04a.jpg - which is an absolute one.

As long as your data folder is in the same relative position to the html page as it was in the VLB output then you dont need to change anything.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks for the education, David. VLB uploaded the HTML in a folder outside the data folder. I wonder what would happen if I moved it? Might be worth a try as it’s completely messed up now even after I switched all the relative paths to absolute ones.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

VLB uploaded the HTML in a folder outside the data folder. I wonder what would happen if I moved it?

If you left the links as they are they would break.

This is a typical file/folder structure for VLB

So if you copy the VLB code and paste it into a FW page which has the Engine and Data folders in the same folder as it you should be GTG

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options