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:-
<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>
and this into the BODY tags:-
<a href="javascript:OpenAllLinks()">Open the links</a>
Explanation:-
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")
}
Here you can include all your links!
Conclusion:-
Source code is attached, and feedback welcome


Sign In
Create Account



Back to top









