---> Pop up window that loads a url
Ok, I am trying to write this like:
I dont want to have to define a new function for each new window, because I have about 500 links (a perlscript handles it
Help!
Laguna Loire
Site Director: Laguna's Jukebox (http://jukebox.3dstream.net)
Site Admin: RPGBoards (http://rpgboards.3dstream.net)
Laguna Loire posted this at 20:39 — 14th August 2000.
They have: 45 posts
Joined: Aug 2000
oh, I got it to pop up correctly, now is there a way to let the url's have = signs in them?
here is the code:
<A HREF="" onClick="window.open('player.pl?midi=mid.mid&game=ff7', 'newWnd',
'width=500,height=400,menubar=yes,location=yes,scrollbars=yes');
return false;">open midi</A>
Laguna Loire
Site Director: Laguna's Jukebox (http://jukebox.3dstream.net)
Site Admin: RPGBoards (http://rpgboards.3dstream.net)
Ken Elliott posted this at 21:09 — 14th August 2000.
They have: 358 posts
Joined: Jun 1999
Well someone recently answered this question for me. I can't remember their name off hand to give the proper credit. But it is in one of the posts.
In the head section of the page, put this code
<script language="javascript">
function link(url) {
window.open(url,"msg","height=400,width=550,left=50,top=50,scrollbars=no,resizable=no,status=no");
}
</script>
you can edit it as you see fit of course.
Then for each link that you want to open in that kinda window just make a link like this.
VulKen
IRS motto: We got what it takes, to take what you got
Pimpin like a pimp with an electrofied pimpin machine!
AndyB posted this at 01:18 — 15th August 2000.
They have: 344 posts
Joined: Aug 1999
it was me ... and you forgot so soon:(
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.