Introduction:-
Here I will show you how to open one, two, three, four etc... links with one click!
Let's Code:-
Make this code between the HEAD tags:-
and this into the BODY tags:-Code:<script language="javascript"> function OpenAllLinks() { window.open("http://www.site1.com") window.open("http://www.site2.com") window.open("http://www.site3.com") window.open("http://www.site4.com") window.open("http://www.site5.com") window.open("http://www.site6.com") } </script>
Explanation:-Code:<a href="javascript:OpenAllLinks()">Open the links</a>
Here you can include all your links!Code:function OpenAllLinks() { window.open("http://www.site1.com") window.open("http://www.site2.com") window.open("http://www.site3.com") window.open("http://www.site4.com") window.open("http://www.site5.com") window.open("http://www.site6.com") }
Conclusion:-
Source code is attached, and feedback welcome
Last edited by TcM; 01-06-2007 at 09:38 AM.
lol great trickgood job
Thanks welcome![]()
But are these opened as popups, as people (including myself) block them lol.
And maybe a bug can be created by this. can make people without tabbed browsing mad., lol. Just a joke. Read again if you can't understand.
Yes I understood! Something like Internet Explorer 6 rotfl, well but there may be more useful way of utilizing this![]()
The thing I mentioned is complete useless, lol. It's just a joke to make the Browser or maybe the whole Computer Crash. Maybe this can be used when some one want 3-5 different files to be downloaded, if those files are available somwhere, we can have use of this script if we don't like to re-upload those files in our web server.
I know this is not needed, but I think if we did find a need of this, we may come to codecall.
Nice work with the Function, we can use to pop-up something when the user clicks download or something..
Simply Cool..
This would be good if one link was a file and the other to a thanks for downloading page (with links to tuts and other related stuff).
Seeing as most browsers don't see files as popups this would be fine
Please, write clearly with proper structure. Double spacing makes the text feel un-jointed, Capitalizing Every Word Means People Stop Before Every Word Sub-Consciously Which Is A Pain In The Backside, and use code tags! (The right most styling box).
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks