Re: Need some Java Script Code

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 48906
interpreted = N
texte = What Rob sent over.Click hereWorks the best.Thanks again Rob and PedroJeff Logan>It only works when it's a pop-up page since it makes reference to the >opener window. What exactly are you trying to do besides closing the >pop-up window and going to a different link on the opener page? > >Pedro Rivera >Webmaster - Programmer >www.pssl.com >pedror@pssl.com >714-891-3990 Ext. 8174 >11070 Valley View St. >Cypress CA. 90630 > >-----Original Message----- >From: Jeff Logan [mailto:jefftalk@insideout.com] >Sent: Wednesday, March 26, 2003 9:41 AM >To: WebDNA-Talk@talk.smithmicro.com >Subject: Re: Need some Java Script Code > >Does this code work on any page or just a pop up page? I can not get >it to work independently. > >Jeff Logan > >>This should do it: >>>onclick=javascript:window.opener.location='/yourpage.tpl'; >>window.close()>Close window and take me to a new link. >> >>This goes on your pop-up window. >> >>I use it here: >> >>http://www.pssl.com/signin.tpl >>Then click on What is this? and once the window pops open click on >create >>one. It works like a charm. >>Pedro Rivera >>Webmaster - Programmer >>www.pssl.com >>pedror@pssl.com >>714-891-3990 Ext. 8174 >>11070 Valley View St. >>Cypress CA. 90630 >> >>-----Original Message----- >>From: Jeff Logan [mailto:jefftalk@insideout.com] >>Sent: Wednesday, March 26, 2003 9:07 AM >>To: WebDNA-Talk@talk.smithmicro.com >>Subject: Re: Need some Java Script Code >> >>See my example needs here: >> >>http://www.darbyfield.com >> >>I wish to close the pop up window, when I click on one the links and >>go to that page. >> >>Let me know what you think. >> >>Jeff Logan >> >>>Jeff, >>> >>>How can you go anywhere if you close the window? Do you mean that >>>you have 2 windows open currently and that you'd like to close one >>>window and redirect the other window to some URL with a single click? >>> >>>-Dan >>>------------------------------------------------------------ >>>http://www.StrongGraphicDesign.com >>>(208) 319-0137 | Toll-free p/f 877-561-1656 >>>------------------------------------------------------------ >>> >>>On Wed, 26 Mar 2003 08:37:39 -0800 >>> Jeff Logan wrote: >>>>Yes something like this, but what you have below does not work for me. >>>> >>>>Jeff Logan >>>> >>>> >>>>>Jeff Logan wrote: >>>>> >>>>>>Does anyone have some Java script to share which will close a >>>>>>window, but will then take the visitor to another page? >>>> >>>>>> >>>>>>This code will only close the window, how can I also have it link >>>>>>to a site. >>>>>> >>>>>>Close Window and go to >Yahoo.com >>>>>> >>>>>>Thanks in advance, >>>>>>Jeff Logan >>>>> >>>>>Something like: >>>>>>>>>'http://www.yahoo.com';window.close();>Close Window and go to >>>>>Yahoo.com >>>>> >>>>>Donovan >>>> >>>>Personal service is #1 priority to us. >>>> >>>>------------------------------------------------ >>>>InsideOut Marketing and Web Solutions >>>>Web, Marketing and Print Design >>>>Toll Free: 1-800-500-8401 >>>>Phone: 360.683.5774 Fax: 360.683.5857 >>>>Email: mailto:jeff@insideout.com >>>>229 South Sequim Ave, Sequim, WA 98382 >>>>http://www.insideout.com >>>>------------------------------------------------ >>>> >>>>------------------------------------------------------------- >>>>This message is sent to you because you are subscribed to >>>> the mailing list . >>>>To unsubscribe, E-mail to: >>>>To switch to the DIGEST mode, E-mail to >>>> >>>>Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>>------------------------------------------------------------- >>>This message is sent to you because you are subscribed to >>> the mailing list . >>>To unsubscribe, E-mail to: >>>To switch to the DIGEST mode, E-mail to >>> >>>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >>Personal service is #1 priority to us. >> >>------------------------------------------------ >>InsideOut Marketing and Web Solutions >>Web, Marketing and Print Design >>Toll Free: 1-800-500-8401 >>Phone: 360.683.5774 Fax: 360.683.5857 >>Email: mailto:jeff@insideout.com >>229 South Sequim Ave, Sequim, WA 98382 >>http://www.insideout.com >>------------------------------------------------ >> >>------------------------------------------------------------- >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >> >>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >>------------------------------------------------------------- >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >> >>Web Archive of this list is at: http://webdna.smithmicro.com/ > >Personal service is #1 priority to us. > >------------------------------------------------ >InsideOut Marketing and Web Solutions >Web, Marketing and Print Design >Toll Free: 1-800-500-8401 >Phone: 360.683.5774 Fax: 360.683.5857 >Email: mailto:jeff@insideout.com >229 South Sequim Ave, Sequim, WA 98382 >http://www.insideout.com >------------------------------------------------ > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ Personal service is #1 priority to us.------------------------------------------------ InsideOut Marketing and Web Solutions Web, Marketing and Print Design Toll Free: 1-800-500-8401 Phone: 360.683.5774 Fax: 360.683.5857 Email: mailto:jeff@insideout.com 229 South Sequim Ave, Sequim, WA 98382 http://www.insideout.com ------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Need some Java Script Code (Jeff Logan 2003)
  2. Re: Need some Java Script Code (Dan Strong 2003)
  3. Re: Need some Java Script Code (Sal D'anna 2003)
  4. Re: Need some Java Script Code (Jeff Logan 2003)
  5. Re: Need some Java Script Code (Pedro Rivera 2003)
  6. Re: Need some Java Script Code (Jeff Logan 2003)
  7. Re: Need some Java Script Code (Rob Marquardt 2003)
  8. Re: Need some Java Script Code (Pedro Rivera 2003)
  9. Re: Need some Java Script Code (Jeff Logan 2003)
  10. Re: Need some Java Script Code (Jeff Logan 2003)
  11. Re: Need some Java Script Code (Dan Strong 2003)
  12. Re: Need some Java Script Code (Jeff Logan 2003)
  13. Re: Need some Java Script Code (Donovan 2003)
  14. Need some Java Script Code (Jeff Logan 2003)
What Rob sent over.Click hereWorks the best.Thanks again Rob and PedroJeff Logan>It only works when it's a pop-up page since it makes reference to the >opener window. What exactly are you trying to do besides closing the >pop-up window and going to a different link on the opener page? > >Pedro Rivera >Webmaster - Programmer >www.pssl.com >pedror@pssl.com >714-891-3990 Ext. 8174 >11070 Valley View St. >Cypress CA. 90630 > >-----Original Message----- >From: Jeff Logan [mailto:jefftalk@insideout.com] >Sent: Wednesday, March 26, 2003 9:41 AM >To: WebDNA-Talk@talk.smithmicro.com >Subject: Re: Need some Java Script Code > >Does this code work on any page or just a pop up page? I can not get >it to work independently. > >Jeff Logan > >>This should do it: >>>onclick=javascript:window.opener.location='/yourpage.tpl'; >>window.close()>Close window and take me to a new link. >> >>This goes on your pop-up window. >> >>I use it here: >> >>http://www.pssl.com/signin.tpl >>Then click on What is this? and once the window pops open click on >create >>one. It works like a charm. >>Pedro Rivera >>Webmaster - Programmer >>www.pssl.com >>pedror@pssl.com >>714-891-3990 Ext. 8174 >>11070 Valley View St. >>Cypress CA. 90630 >> >>-----Original Message----- >>From: Jeff Logan [mailto:jefftalk@insideout.com] >>Sent: Wednesday, March 26, 2003 9:07 AM >>To: WebDNA-Talk@talk.smithmicro.com >>Subject: Re: Need some Java Script Code >> >>See my example needs here: >> >>http://www.darbyfield.com >> >>I wish to close the pop up window, when I click on one the links and >>go to that page. >> >>Let me know what you think. >> >>Jeff Logan >> >>>Jeff, >>> >>>How can you go anywhere if you close the window? Do you mean that >>>you have 2 windows open currently and that you'd like to close one >>>window and redirect the other window to some URL with a single click? >>> >>>-Dan >>>------------------------------------------------------------ >>>http://www.StrongGraphicDesign.com >>>(208) 319-0137 | Toll-free p/f 877-561-1656 >>>------------------------------------------------------------ >>> >>>On Wed, 26 Mar 2003 08:37:39 -0800 >>> Jeff Logan wrote: >>>>Yes something like this, but what you have below does not work for me. >>>> >>>>Jeff Logan >>>> >>>> >>>>>Jeff Logan wrote: >>>>> >>>>>>Does anyone have some Java script to share which will close a >>>>>>window, but will then take the visitor to another page? >>>> >>>>>> >>>>>>This code will only close the window, how can I also have it link >>>>>>to a site. >>>>>> >>>>>>Close Window and go to >Yahoo.com >>>>>> >>>>>>Thanks in advance, >>>>>>Jeff Logan >>>>> >>>>>Something like: >>>>>>>>>'http://www.yahoo.com';window.close();>Close Window and go to >>>>>Yahoo.com >>>>> >>>>>Donovan >>>> >>>>Personal service is #1 priority to us. >>>> >>>>------------------------------------------------ >>>>InsideOut Marketing and Web Solutions >>>>Web, Marketing and Print Design >>>>Toll Free: 1-800-500-8401 >>>>Phone: 360.683.5774 Fax: 360.683.5857 >>>>Email: mailto:jeff@insideout.com >>>>229 South Sequim Ave, Sequim, WA 98382 >>>>http://www.insideout.com >>>>------------------------------------------------ >>>> >>>>------------------------------------------------------------- >>>>This message is sent to you because you are subscribed to >>>> the mailing list . >>>>To unsubscribe, E-mail to: >>>>To switch to the DIGEST mode, E-mail to >>>> >>>>Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>>------------------------------------------------------------- >>>This message is sent to you because you are subscribed to >>> the mailing list . >>>To unsubscribe, E-mail to: >>>To switch to the DIGEST mode, E-mail to >>> >>>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >>Personal service is #1 priority to us. >> >>------------------------------------------------ >>InsideOut Marketing and Web Solutions >>Web, Marketing and Print Design >>Toll Free: 1-800-500-8401 >>Phone: 360.683.5774 Fax: 360.683.5857 >>Email: mailto:jeff@insideout.com >>229 South Sequim Ave, Sequim, WA 98382 >>http://www.insideout.com >>------------------------------------------------ >> >>------------------------------------------------------------- >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >> >>Web Archive of this list is at: http://webdna.smithmicro.com/ >> >>------------------------------------------------------------- >>This message is sent to you because you are subscribed to >> the mailing list . >>To unsubscribe, E-mail to: >>To switch to the DIGEST mode, E-mail to >> >>Web Archive of this list is at: http://webdna.smithmicro.com/ > >Personal service is #1 priority to us. > >------------------------------------------------ >InsideOut Marketing and Web Solutions >Web, Marketing and Print Design >Toll Free: 1-800-500-8401 >Phone: 360.683.5774 Fax: 360.683.5857 >Email: mailto:jeff@insideout.com >229 South Sequim Ave, Sequim, WA 98382 >http://www.insideout.com >------------------------------------------------ > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ Personal service is #1 priority to us.------------------------------------------------ InsideOut Marketing and Web Solutions Web, Marketing and Print Design Toll Free: 1-800-500-8401 Phone: 360.683.5774 Fax: 360.683.5857 Email: mailto:jeff@insideout.com 229 South Sequim Ave, Sequim, WA 98382 http://www.insideout.com ------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Jeff Logan

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

NT Version on IIS 4.0 (1997) Trouble with formula.db (1997) WebCatalog for guestbook ? (1997) RE: strip .0 off off IPaddress (1999) WebCatalog for Postcards ? (1997) locking variables? (2000) Table Loop Hoops (2000) Separate SSL Server (1997) Preferred Web Design Tool? (1999) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) RE: [WebDNA] WebDNA Newbie Questions (2008) [WebDNA] Encrypted password issue (2009) Running _every_ page through WebCat-error.html (1997) WebCat2b12plugin - [search] is broken ... not! (1997) Any WebCatters going to CeBit in Hanover, Germany? (2000) TCPConnect (2002) Auto-closing of databases (was DON'T use old cart file!) (1997) Protect usage (1999) Further tests with the infamous shipCost (1997) Problem 2: Prefs file... (1997)