Jump to content


setting pop-up window size?


3 replies to this topic

#1 AFIx337

    Young Padawan

  • Members
  • Pip
  • 9 posts

Posted 25 March 2005 - 12:51 AM

how do i set the pop-up window size, so it isnt the size of my website, so i can make it w/e hight/width i want it, thanks a bunch

#2 Tcplazarus

    Young Padawan

  • Members
  • Pip
  • 15 posts
  • Location:Iowa

Posted 25 March 2005 - 01:59 AM

Depends on what you're using to build the site. Are you using a WYSIWYG editor(like Dreamweaver or Frontpage)?

#3 Andy

    Graphical Idol Judge

  • Members
  • PipPipPip
  • 594 posts
  • Gender:Male
  • Location:Yorkshire, UK

Posted 25 March 2005 - 08:26 AM

<script language="JavaScript" type="text/javascript">
function PopWindow001()
{ 
window.open('url.html','Name','width=600,height=374,menubar=no,scrollbars=no,toolbar=no,location=no,directo
ries=no,resizable=no,top=100,left=100'); 
}
</script>


Goes in your head

<a href="JavaScript:PopWindow001()">Please click here to launch the popoop</a>

Goes in your body where you want the link to be :huh:

#4 syphon

    Young Padawan

  • Members
  • Pip
  • 57 posts

Posted 26 March 2005 - 12:42 PM

thank you ;)

du





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users