Re: [OT] JS Help PLEASE

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 68023
interpreted = N
texte = This seems to work for me at the top of each doc: [text]ThisDomain=[GETMIMEHEADER HTTP_HOST][/text] [If ("[GetCookie name=ThisScreen]"="")] [Then] [If ("[sh]"="0")|("[sh]"="")|("[sh]"="[Raw][sh][/Raw]")] [Then] [/Then] [Else] [SETCOOKIE name=ThisScreen&value=[sh]&path=/&domain=[ThisDomain]] [/Else] [/If] [/Then] [Else][TEXT]ScreenHeight=[GetCookie name=ThisScreen][/TEXT][/Else] [/If] Stuart Tremain idfk web developments, sydney, australia On 10 Oct 2006, at 4:07 PM, Jesse Proudman wrote: > Javascript is client side, webdna is server side. That won't > work. You will need to set them as either URL parameters and > refresh the page, or set them as cookies and grab them from there. > > -- > > Jesse Proudman, Blue Box Group, LLC > > > > > On Oct 9, 2006, at 11:03 PM, Stuart Tremain wrote: > >> Hi Guys >> >> What am I doing wrong here? > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > 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/ Associated Messages, from the most recent to the oldest:

    
  1. Re: [OT] JS Help PLEASE ( Stuart Tremain 2006)
  2. Re: [OT] JS Help PLEASE ( Jesse Proudman 2006)
  3. [OT] JS Help PLEASE ( Stuart Tremain 2006)
This seems to work for me at the top of each doc: [text]ThisDomain=[GETMIMEHEADER HTTP_HOST][/text] [If ("[GetCookie name=ThisScreen]"="")] [Then] [If ("[sh]"="0")|("[sh]"="")|("[sh]"="[raw][sh][/Raw]")] [Then] [/Then] [Else] [SETCOOKIE name=ThisScreen&value=[sh]&path=/&domain=[ThisDomain]] [/Else] [/If] [/Then] [Else][text]ScreenHeight=[GetCookie name=ThisScreen][/TEXT][/Else] [/If] Stuart Tremain idfk web developments, sydney, australia On 10 Oct 2006, at 4:07 PM, Jesse Proudman wrote: > Javascript is client side, webdna is server side. That won't > work. You will need to set them as either URL parameters and > refresh the page, or set them as cookies and grab them from there. > > -- > > Jesse Proudman, Blue Box Group, LLC > > > > > On Oct 9, 2006, at 11:03 PM, Stuart Tremain wrote: > >> Hi Guys >> >> What am I doing wrong here? > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > 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/ Stuart Tremain

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:

ANother SHOWIF problem (1997) [OT] Help Webcat 213 win (2000) WebCatalog can't find database (1997) Problem during evaluation of WebCatalog (1998) U&P IIS concept (1998) Protecting webdelivery (1997) Opinion: [input] should be called [output] ... (1997) MacOS 9 => ODBC=> Ms SQL Server 7 (2000) WebCat2: multiple currency support (1997) Banners and sort of random display (1997) [WebDNA] Globals Folder Status (2018) international time (1997) Popup Menu Options (1998) Ampersand (1997) duplicate items in cart (1998) [WebDNA] Double sendmails (2014) Hierarchy of form/text/math variables (2000) Loop to write data? (2003) [WebDNA] mod_WebDNA_apache2.2.so: mach-0, but wrong architecture (2010) form data submission gets truncated (1997)