KomputerLube Tech Blog
Saturday, June 25, 2011
Open Links in New Window
There must be a better way to open links in a new window. Here is my version of doing it. Let's say you want to open Google website. Just use this code as the URL and it should open Google in a new window.
javascript:window.open('http://
www.google.com','_blank');history.go(0
))
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment