Help - Search - Members - Calendar
Full Version: pop up windows
Forums > Resource Center > Support Center > Wordpress Support > Wordpress Resolved Topics
juicyy_fruit
do you guys know the javascript to get a pop up window for a website?
rivendell
I think this is it:

CODEBOX: -> right click -> copy/paste


just change the numbers to whatever you want. You can also change the 'click me for a pop up window!' to whatever you would like.
expoised
^^^ that's not javascript...

i know the script to get the pop-up window to take up the entire screen... if you want that.
metabolic666
^^yeah what she said...Hrmm I think I have somewhere around here I'll have to come back.
[2]Nekked
in the head (or top of your code)

CODE
<!-- begin code provided by createblog.com -->
<script language="JavaScript"><!--
function P(url,h,w) { // (url,height,width)
var p = "height=" + h + ",width=" + w + ",scrollbars=yes";
window.open(url,"",p);
} // -->
</script>
<!-- end code provided by createblog.com -->

dont change anything on that..



for the links:

QUOTE
<a href="java script:P('site.htm',height,width)">text</a>


change the site.htm, and height and width, in pixels.
juicyy_fruit
thanks, trish. you've helped me out a lot.
sherryvu
QUOTE(juicyy_fruit @ Nov 4 2004, 7:00 PM)
thanks, trish. you've helped me out a lot.

[ topic closed ]
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.