Lost Password?

  #1 (permalink)  
Old 01-06-2007, 08:38 AM
TcM's Avatar   
TcM TcM is offline
Terminator - I'll be back
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 6,076
Rep Power: 50
TcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the rough
Default Javascript: Opening 2 (or more) links with 1 Click

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>
and this into the BODY tags:-
Code:
<a href="javascript:OpenAllLinks()">Open the links</a>
Explanation:-

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")
}
Here you can include all your links!

Conclusion:-
Source code is attached, and feedback welcome
Attached Files To view attachments your post count must be 1 or greater. Your post count is 0 momentarily.
__________________
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 01-06-2007, 09:30 AM
Jaan's Avatar   
Jaan Jaan is offline
Moderator
 
Join Date: Dec 2006
Location: Estonia
Age: 17
Posts: 478
Last Blog:
Wadio Media Layout Com...
Rep Power: 10
Jaan will become famous soon enoughJaan will become famous soon enough
Send a message via MSN to Jaan
Default

lol great trick good job
__________________


Cheap & Professional Web Design | Need help? Send a PM
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-06-2007, 11:38 AM
TcM's Avatar   
TcM TcM is offline
Terminator - I'll be back
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 6,076
Rep Power: 50
TcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the rough
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-06-2007, 08:23 PM
xtraze xtraze is offline
Programming God
 
Join Date: Dec 2006
Location: Sri lanka
Posts: 921
Rep Power: 0
xtraze is on a distinguished road
Send a message via MSN to xtraze Send a message via Skype™ to xtraze
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-07-2007, 03:29 AM
TcM's Avatar   
TcM TcM is offline
Terminator - I'll be back
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 6,076
Rep Power: 50
TcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the roughTcM is a jewel in the rough
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 01-08-2007, 01:49 AM
xtraze xtraze is offline
Programming God
 
Join Date: Dec 2006
Location: Sri lanka
Posts: 921
Rep Power: 0
xtraze is on a distinguished road
Send a message via MSN to xtraze Send a message via Skype™ to xtraze
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-12-2007, 03:26 AM
AfTriX AfTriX is offline
Programming God
 
Join Date: Jan 2007
Location: Sri Lanka
Posts: 596
Rep Power: 0
AfTriX is on a distinguished road
Default

Nice work with the Function, we can use to pop-up something when the user clicks download or something..

Simply Cool..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -5. The time now is 01:54 AM.

Contest Stats

dargueta ........ 128.00000
John ........ 127.00000
Xav ........ 107.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000
navghost ........ 1.00000

Contest Rules

Ads