Posts: 319
Threads: 68
Joined: Mar 2005
Is there a way to create more than one popup using javascript?
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless
Posts: 500
Threads: 7
Joined: Jun 2005
I can't think of any other way than to use 2 window.open() methods. Of course, this could be inline with the HTML or it could be contained within a function, for easier typing. I'd personally prefer the latter.
Untested example:
Code:
<script type="text/javascript">
function openWind (url, url2) {
window.open(url);
window.open(url2);
}
</script>
<a href="javascript:openWind('http://www.google.com', 'http://www.w3.org')" title="Open Google and the W3C homepage!">Link text</a>
Just an example. . .
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Posts: 319
Threads: 68
Joined: Mar 2005
Sorry i meant to say popups that are generated by javascript
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless