Using events to display popup information for a specific item

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
LJLachance
 
 
Posts: 118
Joined: Sun Feb 04, 2018 8:19 pm
Location: Jacksonville, FL
Contact:

Using events to display popup information for a specific item

Post by LJLachance »

I have followed the examples, word-for-word, to display a popup layer for a specific link. It works as it is supposed to except...

Hovering displays the popup layer, moving the mouse away hides the popup layer. I have set the parameters of the link exactly as in the tutorial but...

IF someone clicks on the link they are hovering over, the page refreshes and the user is taken to the top of the page. In the example in the tutorial, if you click the link, nothing happens. Do I need to add some non-existent page as a link in order to stop the page refresh? OR, is there some other way to prevent the page from refreshing and going back to the top IF someone clicks on the link? Or, am I just missing a step someplace??

Thanks
User avatar
Pablo
 
Posts: 21712
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Using events to display popup information for a specific item

Post by Pablo »

You can disable standard link behavior by setting the URL to:

Code: Select all

javascript:void(0)
LJLachance
 
 
Posts: 118
Joined: Sun Feb 04, 2018 8:19 pm
Location: Jacksonville, FL
Contact:

Re: Using events to display popup information for a specific item

Post by LJLachance »

Works like a champ - thanks for that! :D
Post Reply