Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 11-01-2007, 09:43 AM
Cameleer's Avatar
Cameleer Cameleer is offline
Administrator
 
Join Date: Oct 2007
Location: Ventura Calif. USA
Posts: 149
Downloads: 6
Uploads: 1
Default Hotspot with mouseover image ?

Hi all,
Sorry but I have not been able to figure this simple thing out yet.
How do you set it up so that an image opens up when you mouse over a hotspot, and then you can click on the image to open up a new pano?

Thanks
__________________
Only those who will risk going too far
can possibly find out how far one can go.
Reply With Quote
  #2  
Old 11-01-2007, 02:50 PM
zleifr's Avatar
zleifr zleifr is offline
Senior Member
 
Join Date: May 2007
Posts: 609
Downloads: 0
Uploads: 0
Default

You need a second spot with the image in it set to visible=0 and placed adjacent to the first one with onClick=loadPano(...). Then the first spot has onOver=secondSpot.visible=1 and onOut=secondSpot.visible=0.

That is basically how it is done. There is plenty of room there for "improvement": you can make it fade in by adding in an alpha tween, blur in, slide in, drop in and bounce.

If you don't need to click on the second spot to load the pano (you can use the onClick action of the first to do it) then you could use the tooltip plugin I wrote and it can load images in the tooltips alongside any text. also the tooltip moves with the mouse.
Reply With Quote
  #3  
Old 11-05-2007, 10:31 PM
Scott Witte's Avatar
Scott Witte Scott Witte is offline
Senior Member
 
Join Date: Sep 2007
Location: Milwaukee, WI USA
Posts: 593
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by zleifr View Post
You need a second spot with the image in it set to visible=0 and placed adjacent to the first one with onClick=loadPano(...).
I may be missing something but I think I do this with just one image. (Assuming the image you want opened up is the hotspot). So for example:
Code:
<spot id="Recep" url="Reception.png" pan="-93.00" alpha="0" onOver="alpha=1" onOut="alpha=0" 
onClick="loadPano(?panoName=Reception&&panHome=55,600,fade)" />
Now, if the hotspot is always visible and you want a separate image to open zleifr's method would be the way. However, if you want to click that image to load the new pano you would skip the "onOut=secondSpot.visible=0" or there would be no image to click by the time your mouse got there. Unless I'm misunderstanding something.
__________________
Scott
Tour de Force 360VR
Scott Witte Photography
----------------------
Auto Quality Plugin: Guarantee the best FPP experience possible for every viewer on every computer.
Motion Zoom Transition Plugin: Move from Node to Node
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 01:06 PM.


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