HomefieldOfView | SPi-V dev

Navigation

user

How to create an overlay button

I want to create a semi-transparent button in one of the corners of the screen, pretty much like the FieldofView logo in the free license, that takes the visitor to a new website when clicked.

I've tried starting with the 'toolbar' scriptlet, but can't seem to get the buttons to use open a new url using "getURL".

Does anyone have an example of how to just put an image in the corner (preferably with rollover states too) that can be used as a logo and/or hyperlink?

Thanks in advance,

J.

Me, also, I want to know

Me, also, I want to know how, if possible ?
Any suggests ?

this should get you started

<uielement id="mylogo" halign="right" valign="bottom" hoffset="-4" voffset="4">
<image id="mylogo_image">
<layer class="base"  type="bitmap" src="mylogo.png" />
<layer class="hover" type="bitmap" src="mylogo-hover.png" />
</image>
<behavior id="mylogo_behavior">
<action event="press" type="getURL" target="_blank" url="http://www.example.com" />
</behavior>
</uielement>

Thanks for your help. It

Thanks for your help. It works...
But, after I opened the logo's link, the image .png stays as "mylogo-hover.png" and we open again the link with action anywhere in the panoramic.
Is it a trip, after the link closed, to go back with the mylogo.png and to continue the panoramic from the same moment where it stops (before to use the link) ?

probably a bug

Are you using the latest version (1.3.5)?
I thought I fixed that

I have 1.3.2 and all is

Oops...it was the 1.3.2.
I updated with the 1.3.5.
Now, the panoramic moves again, but the "mylogo-hover" stays as hover.
An when I use again the "mouse pointer" anywhere in the panoramic, I open again the link (also if I use the buttons of the toolbar).
It would be better to go back the standard function, when I close the opened window.

Please try it:

http://www.lediaporama.fr/Panoramas/sauvalogo.htm

will fix in 1.3.6

thanks for the link, apparently I fixed only half the problem I thought I had fixed

incorrect link

This comment has been moved here.