Display an URL path -SOLVED

Q&A about the latest versions
Post Reply
User avatar
Julien
Posts: 55
Joined: Sat Sep 28, 2019 7:05 pm

Hi all,

This URL visual was made using a text element plus the code below. The URL path is shown when we're mousing over the hyperlink.. we know that.

Code: Select all

<a href="https://www.my-website.oulala/">My website</a>
But using a Button, Image or an other element (after adding the URL trigger and so) is there a built-in way to also show the URL path when mousing over the element?
I think to add a text element to use as a tooltip.. but am I just completly missing something more straight forward? :)

Julien
Attachments
Capture d’écran 2019-12-11 à 22.24.49.jpg
Capture d’écran 2019-12-11 à 22.24.49.jpg (73.3 KiB) Viewed 2242 times
Last edited by Julien on Wed Dec 18, 2019 10:47 am, edited 1 time in total.
Mac, pro version always updated :)
User avatar
Julien
Posts: 55
Joined: Sat Sep 28, 2019 7:05 pm

Anybody?
Mac, pro version always updated :)
User avatar
Tony
Posts: 1342
Joined: Mon Feb 15, 2010 6:54 am
Location: Adelaide, South Australia
Contact:

Hi Julien,

Not quite sure if this is what you are after or not... https://p2vr.s3-ap-southeast-2.amazonaw ... index.html

So basically what I've done here is the following;

1. Make a variable called 'my_URL' with the Type 'Text' and the initial value http://tonyredhead.com
2. Added a button and a text box based on the Web Link Silhouette component
3. Removed them from the hotspot and placed both in a container called 'show_URL'
4. Modified the ht_url_image element Action to Source: Mouse Click | Action: Go to URL | Parameters: $(*my_URL)/_blank
5. Modified the tt_ht_url element text to $(*my_URL)
6. Modified the tt_ht_url visible logic block to Trigger: Mouse over Parent | Comparison: = | Value: True | Visible: True

I've attached the skin.

cheers,

Tony
Attachments
url-tooltip.ggsk
(4.31 KiB) Downloaded 132 times
Tony Redhead | Panoramic Photographer | mobile: +61438501002 | website: https://tonyredhead.com - https://redsquare.com | Pano2VR Tutorials: https://tonyredhead.com/pano2vr | instagram: https://www.instagram.com/tonyredhead/
bkiter
Posts: 90
Joined: Mon May 09, 2016 1:36 pm

Thank you Tony!

I was about to create a post with the same question.

In my case, I will try to figure how to place the text instead of the planet icon.

I want to place:

Virtual Tour created by : www.mywebsite.com

Thanks!
User avatar
Julien
Posts: 55
Joined: Sat Sep 28, 2019 7:05 pm

Tony wrote: Tue Dec 17, 2019 12:15 am cheers,

Tony
Alright, text box as tooltip is the key.
Thanks for feedback & happy holidays.

Julien
Mac, pro version always updated :)
User avatar
Hopki
Gnome
Posts: 13021
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

@ Tony,
If you expose the variable you could make a nice addition to the components forum :wink:
Cheers,
Hopki
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Post Reply