Categories:
Administration (161)
Adware Spyware (43)
Apache (20)
Bluetooth (127)
DOS Commands (2)
Edge (28)
General (5)
Internet Connection (21)
Internet Explorer (224)
Media Center (14)
Media Player (135)
Mozilla Firefox (22)
MS Access (9)
Performance (204)
PHP (25)
Programming (36)
Security (109)
Silverlight (22)
Tips (144)
Tools (312)
Tutorials (40)
Windows 10 (193)
Windows 7 (1411)
Windows 8 (1712)
Windows Phone (33)
Windows Server 2008 (165)
Windows Server 2012 (84)
Windows Server 2016 (23)
Windows Vista (71)
Windows XP (23)
Collections:
Other Resources:
Popup Windows Triggers Based on Mouse Over Links
How to trigger popup windows based on mouse over links with JavaScript?
✍: FYIcenter.com
If you want to trigger a popup window when user moves the mouse over a hyper link, you can use the "onmouseover" attribute in the HTML tag to call a predefined JavaScript function. See the following JavaScript code outline:
<a href="/#top" onmouseover="pLinkOnmouseover();">Mover yo... ... <script language="JavaScript"> /* * Popup Blocker Test - P_LINK_ONMOUSEOVER * - Popup Windows Triggered by Mouse Moving Over Links * * A popup window shows up when you move your mouse over a * hyper link. JavaScript codes implemented on the * onmouseover event of any type of link tag. * * Version of 2007.01.01 * Download at http://sqa.fyicenter.com/tools/ * Copyright (C) 2007 FYIcenter.com. All rights reserved. */ function pLinkOnmouseover() { fyicenterWin = window.open('', 'Popup', 'toolbar=no,sc... fyicenterWin.document.write('<html><body bgcolor="#ee'... fyicenterWin.document.write('<p><b>P_LINK_ONMOUSEOVER ... fyicenterWin.document.write(' - Popup Windows Triggere... fyicenterWin.document.write(' - Developed by FYIcenter... fyicenterWin.document.write('<p><img src="/popup_test_f... fyicenterWin.document.write('If you see this popup win... fyicenterWin.document.write('</body><... fyicenterWin.document.close(); } </script>"
2007-01-17, 7528👍, 0💬
Popular Posts:
Where to find information about what services are running on Windows 7 and how to manage them? I wan...
Where to find tutorials on using Windows 7? I want to learn how to use Windows 7 more efficiently. H...
What files are stored in the "C:\Users\<userid >\AppData\Local\M icrosoft\Windows\Tempor. ..
How to select your wireless connection during the Windows 7 system initial set up process? If you bo...
How to change the Bluetooth device name on your Windows XP system? If you want to change the Bluetoo...