panorama software,virtual tour software
Alternate Text
Joined: 2012-01-24
Send Msg:
Posts: 19
2012-10-09
#1

Lightbox Effect

I'm having a few issues with using a lightbox effect with a tour. The lightbox works fine with a still image but not with a tour. On click the lightbox pops up but the tour never loads. Any help would be great.


Nikon D90 - Nikon 10.5mm Fisheye - Nadal Ninja Panohead
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2012-10-09
#2
You will need to use an iframe. Confirm the light box you are using can deal with HTML iframes.

Regards, Smooth
Alternate Text
Joined: 2012-01-24
Send Msg:
Posts: 19
2012-10-09
#3

Hi Smooth,

I am using Lightbox 2 http://lokeshdhakar.com/projects/lightbox2/ and dreamweaver cs3.

How would i go about inserting an iframe into the lightbox effect?


Nikon D90 - Nikon 10.5mm Fisheye - Nadal Ninja Panohead
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2012-10-09
#4
As I stated you need a lightbox that supports iFrames. It appears the version you are using doesn't.

Try PrettyPhoto lightbox clone.

They show the code for iFrame support. I tested it and it works fine.

Basically the code is as simple as:
<a href="http://www.yourwebsite.com/folder/tour?iframe=true&width=70%&height=70%" rel="prettyPhoto[iframes]" title="Panorama tour open at 70%">The text you want to display</a>

Regards, Smooth
Alternate Text
Joined: 2012-01-24
Send Msg:
Posts: 19
2012-10-09
#5

Thanks Smooth,

I will give it a go. Thanks for your help.


Nikon D90 - Nikon 10.5mm Fisheye - Nadal Ninja Panohead
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2012-10-10
#6
Let me know if you get stuck. I would think you'll succeed though, as there is not a lot to it.

Regards, Smooth
Alternate Text
Joined: 2012-01-24
Send Msg:
Posts: 19
2012-10-10
#7

Thanks Smooth,

It works great, thats for your help again.


Nikon D90 - Nikon 10.5mm Fisheye - Nadal Ninja Panohead
Alternate Text
Forum Moderator
Joined: 2002-11-23
Send Msg:
Posts: 5438
2012-10-10
#8
That's great!

Regards, Smooth