Connecting Tech Pros Worldwide Forums | Help | Site Map

Pop Up Window in JavaScript

Newbie
 
Join Date: Apr 2008
Posts: 31
#1: Jun 27 '08
Hi ,

I want to have a help button that by clicking on that a pop up window will be opened to include some texts.

I have this line on my code:

Expand|Select|Wrap|Line Numbers
  1. <p>
  2.  <a href="javascript:popUp('help/help_contractor_email.asp','325','270');"><img src="http://bytes.com/images/btn_help.gif" border="0"></a></p>

but it is not working!!! Do I need to add anything in the BOdy or Form definition?

Thanks
FF

hsriat's Avatar
Expert
 
Join Date: Jan 2008
Location: Bath, UK
Posts: 1,609
#2: Jun 27 '08

re: Pop Up Window in JavaScript


Go through this tutorial.
Newbie
 
Join Date: Apr 2008
Posts: 31
#3: Jun 27 '08

re: Pop Up Window in JavaScript


Thank you. It was very useful.
Expert
 
Join Date: Oct 2006
Location: NC
Posts: 1,722
#4: Jun 27 '08

re: Pop Up Window in JavaScript


What is that popUp function? You didn't show it that would work if you just did window.open as long as that file exist in that path.
Reply