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:

Page Counters? (1997) Summing fields (1997) [REPLACE] inside [FOUNDITEMS] (1998) WebCat hosting providers? (1997) How to include weather (2000) WebCat2: multiple currency support (1997) Sub Categories (2000) emailer (1997) Web requests in que... (2007) Help! WebCat2 bug (1997) More than one db with the same namn (was: WC2f3) (1997) Emailer (1997) Errant Email. (1998) founditems (2000) Search (1997) RE: Writefile outside WebSTAR hierarchy? (1997) Help! WebCat2 bug (1997) MasterCounter and capitalization (1997) WebDNA - fun to compare (2005) $flushdatabases question ... (1998)