Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

one click two destinations

Status
Not open for further replies.

gchen

Programmer
Nov 14, 2002
174
US
Hi,

does any one have a snippet or complete javascript code to do just this --

url_1 has one button, onClick then pop up a window with specific width and menu=off to show url_2. Meanwhile url_1 changes to url_2 by itself.

Thanks a bunch!

Gary
 
You would use:

Code:
// this is to open the popup
window.open() 
//This is to set the main windows URL
location.assign() or location.reload()

Rocco is the BOY!!

SHUT YOUR LIPS...
ROCCOsm.gif
 
Hi, is there a sample or list of attribute that i can use?

once again, thanks a bunch!

Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top