Andrei Zdetovetchi
Posts: 102
Location: Bucharest, Romania
Registered: 21 Jul 2006
|
Re: A walk in the botanical garden of Iasi
Posted: 21 Dec 2007 at 10:55 GMT
|
|
fatchai said: where should this file be located? i searched the whole lightwindow directory but coulnd't locate this file...
In your wedding.html file, you have: <script language="javascript" src="p2q_embed_object.js">
This is a relative path to the p2q_embed_object.js and is looking for this js file in the same folder that wedding.html is.
You have made a temp folder for the lightwindow testing and you are calling from that temporary folder the wedding.html file. And wedding.html is trying to load p2q_embed_object.js from that temporary folder. Simply put, just copy p2q_embed_object.js in your lightwindow folder. Should work. Or use absolute paths for the js files, like James said.
|
|
alert moderator
|
|
fatchai
Posts: 322
Location: n/a, Hong Kong
Registered: 17 Mar 2005
|
Re: A walk in the botanical garden of Iasi
Posted: 24 Dec 2007 at 2:54 GMT
|
|
hi Andrei and Smooth:
thank you so much all advices from both of you. i tried both your suggestions but the pano still didn't display probably in the lightwindow popup. When i tried offline in my desktop, it didn't have this issue. it only happened when i uploaded the lightwindow folder in the web server.
fatchai.
|
|
alert moderator
|
|
Smooth
Posts: 2688
Location: Mount Panorama, Australia
Registered: 21 Jul 2004
|
Re: A walk in the botanical garden of Iasi
Posted: 24 Dec 2007 at 5:07 GMT updated: 24 Dec 2007 at 5:10 GMT
|
|
Hi Fatchai,
I just tried this, set up the same as you and I also cannot get it to work online. I tried again with a .mov instead of DevalVR and it worked fine. So I need to investigate further. I then tried DevalVR via the iframe option and it worked! Also, I cannot seem to get any to display correctly with I.E 7.0 though it works correctly with Firefox. More testing to do unless Andrei knows the answer.
Regards, Smooth www.smoth360.com
|
|
alert moderator
|
|
Andrei Zdetovetchi
Posts: 102
Location: Bucharest, Romania
Registered: 21 Jul 2006
|
Re: A walk in the botanical garden of Iasi
Posted: 24 Dec 2007 at 8:35 GMT
|
|
Fatchai, I see that you've updated the code, now it has full absolute links. And I get no errors for misplaced files, everything loads fine. But I cannot see the pano. This leads me to the idea that maybe there is something wrong with the p2q_embed_object.js. I mean this script could work just fine, but could be some other issues that get into conflict with the lightwindow. Ok, it's just a guess, since I don't have access to your files to make tests... All I know is that the lightwindow is working fine with mov files and other media, as seen on the demo page.
Smooth, post a link to your online tests, so I can have a look.
Really there is no hidden trick, I did exactly how the author explains in it's documentation. But I've seen that is highly sensitive to other scripts that could be in the page. I used Fiero's script for detecting the plugins, and I modified a little bit to include support for Flash panorama player. So, I really don't know how it reacts to other scripts.
|
|
alert moderator
|
|
fatchai
Posts: 322
Location: n/a, Hong Kong
Registered: 17 Mar 2005
|
Re: A walk in the botanical garden of Iasi
Posted: 27 Dec 2007 at 2:29 GMT
|
|
thank you Andrei and Smooth:
Implementing the lightwindows is more challenging than it supposes to be.
|
|
alert moderator
|
|