Jump to content


Photo

pop up window?


  • Please log in to reply
3 replies to this topic

#1 localhost

localhost
  • Members
  • PipPipPip
  • Advanced Member
  • 152 posts

Posted 14 July 2006 - 08:20 AM

I wanna make a pop up window on this form, i want it to contain a php file. can someone tell me how to do this?

here is a snippet of my code:

<br>
  Security Number: 
  <input type="text" name="ccsecure">
  <span class="style4">What is this?</span><Br>
Card Type: 
<select name="cctype">
<option>Visa</option>
<option>Mastercard</option>
<option>Discover</option>
<option>American Express</option>
</select>

I want the "What is this?" to link to open a small javascript window that contains sc.php.

Thanks!

#2 nogray

nogray
  • Members
  • PipPipPip
  • Advanced Member
  • 930 posts
  • LocationSan Francisco CA

Posted 14 July 2006 - 05:01 PM

you can do something like this
<a href="#" onclick="window.open('sc.php'); return false;">What is this?</a>

NoGray.com


#3 crazysaint

crazysaint
  • Members
  • PipPip
  • Member
  • 25 posts

Posted 21 July 2006 - 07:13 AM

i was having the same dilemma but the code above has helpred,i would now like to know the code to generate a pop up window with the address bar inactive.

#4 nogray

nogray
  • Members
  • PipPipPip
  • Advanced Member
  • 930 posts
  • LocationSan Francisco CA

Posted 21 July 2006 - 04:38 PM

check this page for full details on opening a window

http://msdn.microsof...hods/open_0.asp

NoGray.com





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users