homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

Site warns when an external link is clicked
Why does it work only with the left mouse?

Msg#: 4161684 posted 10:34 pm on Jun 29, 2010 (gmt 0)

Hello everyone !

I am curious about one thing.. and maybe you can enlight me on this:

I know a popular website which has external link warning message when you left click on a link that takes you away from that website... but on the same website and the same link if you click with your mouse wheel (firefox) or right click the link and then select open in new tab (internet explorer) the browser takes you to the specific link and the external link warning message doesn't even show up ! and I dont unterstand how this is possible.
Thank you for your time , have a nice day !



WebmasterWorld Senior Member 5+ Year Member

Msg#: 4161684 posted 11:25 pm on Jun 29, 2010 (gmt 0)

Possibly they are using a onclick JavaScript function to give you the warning. Onclick is not triggered when you right click or use your wheel.


WebmasterWorld Senior Member lammert us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 4161684 posted 1:56 am on Jun 30, 2010 (gmt 0)

Hi ssantiago, welcome to WebmasterWorld!

Dijkgraaf probably pointed you in the right direction. If you still have questions about the technology behind this link warning, feel free to come back here and we'll try to help further.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved