|
||||||
| Javascript Javascript Tutorials and Code |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
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:- 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>
Code:
<a href="javascript:OpenAllLinks()">Open the links</a> 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
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help Last edited by TcM; 01-06-2007 at 11:38 AM. |
| Sponsored Links |
|
|
|
|||||
|
Thanks welcome
![]()
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help |
|
|||
|
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
![]()
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall ![]() Business Directory | Technology Blog | Windows Help |
| Sponsored Links |
|
|
|
|||
|
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| JavaScript: Opening 2 links with 1 Click | TcM | Javascript | 5 | 08-08-2007 05:55 PM |
| Does Google Penalize for too many inbound links | Cleo8 | Search Engine Optimization | 6 | 04-23-2007 04:56 PM |
| Few High PR links vs. Several lower PR links | Dan | Search Engine Optimization | 5 | 04-23-2007 04:44 PM |
| Windows XP Tricks & Tips!!!!..new ones. | pranky | Tutorials, Classes and Code | 7 | 02-01-2007 10:58 PM |
| .Gov and .Edu links | DevilsCharm | Search Engine Optimization | 3 | 08-23-2006 09:22 PM |