Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 10-27-2008, 01:16 PM
masten masten is offline
Senior Member
 
Join Date: Apr 2008
Posts: 174
Downloads: 0
Uploads: 0
Default Why doesnt linking to web work from a hotspot

Hi

Why doesnt this work:

<spot id="visit_website" static="1" staticX="1055" staticY="27" salign="TL" url="images/visit_website.png" onClick="openUrl(http://www.virtutour.com/)" />

It works if I change the url to a local one, but doesnt work to link to web?

Weird. Whats going on

cheers much

Masten
Reply With Quote
  #2  
Old 10-27-2008, 01:28 PM
nidrig nidrig is offline
Senior Member
 
Join Date: Sep 2007
Location: Switzerland
Posts: 148
Downloads: 1
Uploads: 0
Default

Hi,

Do you have url where your tour can be seen?

Cu
Reply With Quote
  #3  
Old 10-27-2008, 02:03 PM
masten masten is offline
Senior Member
 
Join Date: Apr 2008
Posts: 174
Downloads: 0
Uploads: 0
Default

Hi Nidrig

Its Ok. Sorted it. You have to have your working files online to link online.

It should work when you're testing locally too really. Maybe can be fixed in an update.

Masten
Reply With Quote
  #4  
Old 10-27-2008, 02:26 PM
nidrig nidrig is offline
Senior Member
 
Join Date: Sep 2007
Location: Switzerland
Posts: 148
Downloads: 1
Uploads: 0
Default

It depends on what you mean by "locally". If you have a webserver running locally, it should work. If you're opening your html file from your web browser without webserver, the openUrl won't work.
Reply With Quote
  #5  
Old 10-27-2008, 10:19 PM
masten masten is offline
Senior Member
 
Join Date: Apr 2008
Posts: 174
Downloads: 0
Uploads: 0
Default

Yeah. Am opening it from web broswer. Dont see why it doesnt work though, web server or not?
Reply With Quote
  #6  
Old 10-27-2008, 11:31 PM
HansNyberg HansNyberg is offline
Senior Member
 
Join Date: Oct 2007
Posts: 611
Downloads: 0
Uploads: 0
Default

Try this instead.
onClick="javascript:window.open('http://www.virtutour.com/','_blank');void(0);"/>

Hans
Reply With Quote
  #7  
Old 10-28-2008, 08:34 PM
masten masten is offline
Senior Member
 
Join Date: Apr 2008
Posts: 174
Downloads: 0
Uploads: 0
Default

Hey Hans

And there's the very simple solution

Many thanks

Masten
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:21 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.