Sie sind nicht angemeldet.

edfink

Anfänger

  • »edfink« ist der Autor dieses Themas

Beiträge: 8

Wohnort: Minneapolis, MN USA

Beruf: VR Photographer

  • Nachricht senden

1

Dienstag, 9. Januar 2018, 21:28

onhover equivalent to show tool tip text on phones?

I’m looking for something like “onhover” that I can use with touch devices to display a title over a thumbnail. I want to click/touch a helicopter icon, which then displays a thumbnail. I use a delayedcall to fade out the thumbnail after a few seconds. But I don't know how to show the text without a hover event. I tried adding “showtext” immediately after making the thumbnail visible, but the text flashes on screen and is instantly gone. How could I keep it displayed for the 5 seconds the thumbnail is visible?
This is how the helicopter icon displays the thumbnail:
onclick="set(hotspot[hs_301_thumb_idevice].visible,true); tween(hotspot[hs_301_thumb_idevice].alpha,1,0.5,default); showtext('Biloxi - Ocean Springs Bridges ', thumbstyle); delayedcall(3, set(hotspot[hs_301_thumb_idevice].visible,false);); "


The thumbnail’s onclick just loads a new pano.


Example:
http://BigEyeInTheSky.com/NewPan/Katrina/BiloxiCasinoRow.html

edfink

Anfänger

  • »edfink« ist der Autor dieses Themas

Beiträge: 8

Wohnort: Minneapolis, MN USA

Beruf: VR Photographer

  • Nachricht senden

2

Mittwoch, 10. Januar 2018, 20:28

SOLVED. The real problem was I forgot that the default "showtime" was .6 seconds or something. Once I changed that my text displayed just fine.