Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Web
Expertise: Beginner
Nov 30, 2001

Open a Small Browser Window


The small window is usually used as a pop-up page for advertisements or to show information concerning particular keywords.

For example, you can put in a page:
    
Requestor: James Dean

When the user clicks on the James Dean link, it will open up a small window with pertinent James Dean data, such as an email address, phone number, etc.

Here's the HTML code:
 
Requestor: <A href=dummy language=vbscript _
onClick="openWindow 'James
Dean'">James Dean</A>

For client-script:

<script LANGUAGE="vbscript">
<!--

Sub openWindow(name)
  window.open
"NameInfo.asp?name="&name,NameData,"toolbar=0,_
location=0,directories=0,

     status=0,menubar=0,resizable=0,scrollbars=0, _
width=200,height=200"
End Sub

//-->
Kok Leong
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date