You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Scott Witte

Intermediate

  • "Scott Witte" started this thread

Posts: 272

Location: Milwaukee, WI USA

Occupation: Professional Photographer

  • Send private message

1

Friday, September 27th 2019, 11:06pm

Making text layer clickable?

I'm probably missing something obvious but this is causing me conniptions.

Can a text layer be clickable? How? Here is a text example:

Source code

1
2
<layer name="test2" type="text" html="CLICK!" keep="true" align="center" 
     interactivecontent="true" onclick="trace('CLICK');"/>

Clicking does not fire the trace event.


Errr. Nevermind. Turns out it was sitting below another, transparent layer that was blocking the click. Like I said, "obvious."

This post has been edited 1 times, last edit by "Scott Witte" (Sep 27th 2019, 11:20pm)