crazy/man Posted December 2, 2008 Share Posted December 2, 2008 does anyone know how to make this new windows open when you hover over link? like here: http://www.tek-9.org/team.html you hover over one member and new windows open Link to comment https://forums.phpfreaks.com/topic/135182-link-hover/ Share on other sites More sharing options...
gevans Posted December 2, 2008 Share Posted December 2, 2008 there's two options <a href="yourlink" target="_blank">link</a> but that isn't compliant with w3c stanbdards any more so the other option is a javascript alternative I used a nice one the other day if you're interested Link to comment https://forums.phpfreaks.com/topic/135182-link-hover/#findComment-704047 Share on other sites More sharing options...
unkwntech Posted December 2, 2008 Share Posted December 2, 2008 Screw the w3c standards, target="_blank" works that's all that matters. Link to comment https://forums.phpfreaks.com/topic/135182-link-hover/#findComment-704050 Share on other sites More sharing options...
gevans Posted December 2, 2008 Share Posted December 2, 2008 personally it would depend on who the site is for. If I'm building a site for a client that wants to stick to standards I stick to standards Link to comment https://forums.phpfreaks.com/topic/135182-link-hover/#findComment-704052 Share on other sites More sharing options...
unkwntech Posted December 2, 2008 Share Posted December 2, 2008 True, but that's why I got out of the web-design business and stick to the back-end stuff. Link to comment https://forums.phpfreaks.com/topic/135182-link-hover/#findComment-704053 Share on other sites More sharing options...
gevans Posted December 2, 2008 Share Posted December 2, 2008 I hear that!! Link to comment https://forums.phpfreaks.com/topic/135182-link-hover/#findComment-704057 Share on other sites More sharing options...
crazy/man Posted December 2, 2008 Author Share Posted December 2, 2008 <a href="yourlink" target="_blank">link</a> but lol that is normaln HTML link code... i dont what to just link the page i want it to open in a new window as there when you hover with your mouse ...you dont have to click on it you just hover over it and it opens nice small new window Link to comment https://forums.phpfreaks.com/topic/135182-link-hover/#findComment-704068 Share on other sites More sharing options...
unkwntech Posted December 2, 2008 Share Posted December 2, 2008 <a href="yourlink" target="_blank" onmouseover"javascript:location.href='link';">link</a> Link to comment https://forums.phpfreaks.com/topic/135182-link-hover/#findComment-704070 Share on other sites More sharing options...
crazy/man Posted December 2, 2008 Author Share Posted December 2, 2008 oke i tried it but seems not to work... here it is: http://www.hr-clan.com/newsite/index.php?frag=team and here is the code i pasted: <a href="index.php?frag=system" target="_blank" onmouseover"javascript:location.href='system.php';">system</a> Link to comment https://forums.phpfreaks.com/topic/135182-link-hover/#findComment-704077 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.