Showing posts with label Javascript. Show all posts
Showing posts with label Javascript. Show all posts

Monday, August 23, 2010

How to open multiple links in new tabs, using javascript

I wanted to click a button, and have several new browser tabs open to specific websites.

This seems to work in Firefox 3.0.19, but not in IE8.

Any suggestions on a solution for both browsers?

<script language="javascript">
window.open('http://www...', '1 _newtab');
window.open('http://www...', '2 _newtab');
window.open('http://www...', '3 _newtab');
</script>

Thursday, August 12, 2010

PHP CURL

Sending POST form data with php CURL
This brief guide explains 2 different reasons for wanting to send POST data with curl and how to do it. It is very handy to have the abililty to arbitrarily send POST data from a form to a script.

This site also has links to resources on Ajax, CSS, Javascript, XHTML, and more.