Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple Popups
#1
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
Reply
#2
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)
Reply
#3
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)