Re: [redirect] question
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 62378
interpreted = N
texte = KenI use this method as a lot of our work is processed through the one html document.This saves onload in the body tag having to be managed.Stuart Tremainidfk web developments, sydney, australiaOn 28 Jun 2005, at 9:37 PM, Kenneth Grome wrote:> Stuart, you do not need the image for this to work, it will submit > the form if you put the onload handler into the body tag as well.>> Sincerely,> Kenneth Grome> www.kengrome.com>>>> On Jun 28, 2005, at 09:52, Stuart Tremain wrote:>>>> Lester>>>> Here is a little trick that I use in instances like yours;>>>> Put this at the end of all your code. It calls a 1 x 1 pixel gif, >> and when loaded will submit the form.>>>> Basically it is a redirect but seems to let the webdna execute >> properly before doing its stuff.>>>>>>
![](images/clear1x1.gif)
> alt="" onload="document.GoTo.submit();" return true;">>>
>>>> You can add all matter of things in the form.>>>>>>>>>> Stuart Tremain>> idfk web developments, sydney, australia>>>> On 28 Jun 2005, at 10:21 AM, Lester wrote:>>>>>>>>> The redirect context is the last one>>> in the 2 or 3 that appear on the first page,>>> unless they are uploading a photo where>>> some other variables fall into place after>>> the redirect would be appearing...>>>>>>>>>>>> --- Donovan Brooke
wrote:>>>>>>>>>>>>>>>> Lester wrote:>>>>>>>>>>>>>>>>>>>>> Does webdna code get fully executed "before" a>>>>> [redirect http://www.........] occurs,>>>>> or is it maybe yes, maybe no,>>>>>>>>>>>>>>>>>>>>>>> Redirect happens as soon as it is parsed in the>>>> heirarchy.>>>>>>>> Donovan>>>>>>>>>>>>>>>> -- >>>>>>>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>>> DONOVAN D. BROOKE Euca Design Center>>>> <-Web Development (specializing in eCommerce),>>>> ->>>>> <- Graphic Design, Custom Tags and Labels>>>> ->>>>>>>>> ADDRESS:> Donovan Brooke>>>> Euca Design Center>>>> 1871 HWY MM>>>> Fitchburg, WI 53575>>>> PH:> 1.608.835.2476>>>> Web:> http://www.egg.bz>>>> http://www.euca.us>>>>>>>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>>>>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------->>>>>>>>>>>>> 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/>>>>>>>>>>>>>>>>>>>>>>>>> __________________________________________________>>> Do You Yahoo!?>>> Tired of spam? Yahoo! Mail has the best spam protection around>>> http://mail.yahoo.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 >> 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 > 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 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:
KenI use this method as a lot of our work is processed through the one html document.This saves onload in the body tag having to be managed.Stuart Tremainidfk web developments, sydney, australiaOn 28 Jun 2005, at 9:37 PM, Kenneth Grome wrote:> Stuart, you do not need the image for this to work, it will submit > the form if you put the onload handler into the body tag as well.>> Sincerely,> Kenneth Grome> www.kengrome.com>>>> On Jun 28, 2005, at 09:52, Stuart Tremain wrote:>>>> Lester>>>> Here is a little trick that I use in instances like yours;>>>> Put this at the end of all your code. It calls a 1 x 1 pixel gif, >> and when loaded will submit the form.>>>> Basically it is a redirect but seems to let the webdna execute >> properly before doing its stuff.>>>>>>
> alt="" onload="document.GoTo.submit();" return true;">>> >>>> You can add all matter of things in the form.>>>>>>>>>> Stuart Tremain>> idfk web developments, sydney, australia>>>> On 28 Jun 2005, at 10:21 AM, Lester wrote:>>>>>>>>> The redirect context is the last one>>> in the 2 or 3 that appear on the first page,>>> unless they are uploading a photo where>>> some other variables fall into place after>>> the redirect would be appearing...>>>>>>>>>>>> --- Donovan Brooke wrote:>>>>>>>>>>>>>>>> Lester wrote:>>>>>>>>>>>>>>>>>>>>> Does webdna code get fully executed "before" a>>>>> [redirect http://www.........] occurs,>>>>> or is it maybe yes, maybe no,>>>>>>>>>>>>>>>>>>>>>>> Redirect happens as soon as it is parsed in the>>>> heirarchy.>>>>>>>> Donovan>>>>>>>>>>>>>>>> -- >>>>>>>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>>> DONOVAN D. BROOKE Euca Design Center>>>> <-Web Development (specializing in eCommerce),>>>> ->>>>> <- Graphic Design, Custom Tags and Labels>>>> ->>>>>>>>> ADDRESS:> Donovan Brooke>>>> Euca Design Center>>>> 1871 HWY MM>>>> Fitchburg, WI 53575>>>> PH:> 1.608.835.2476>>>> Web:> http://www.egg.bz>>>> http://www.euca.us>>>>>>>> =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o>>>>>>>>>>>>>>>>>>>>>>> ------------------------------------------------------------->>>>>>>>>>>>> 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/>>>>>>>>>>>>>>>>>>>>>>>>> __________________________________________________>>> Do You Yahoo!?>>> Tired of spam? Yahoo! Mail has the best spam protection around>>> http://mail.yahoo.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 >> 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 > 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 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:
Problem (1997)
PowerKey and PageSentry not playing nice (2000)
OFF-TOPIC: Check www.godaddy.com for me ... (2003)
[WebDNA] Gratz with 6.1b1 (2008)
Mac Vs WindowsNT (1997)
form data submission gets truncated (1997)
case number with spaces. (2000)
Running _every_ page through WebCat ? (1997)
Extra carriage returns (1999)
Removing carriage returns and line feeds (2006)
Updating a database once per day - An example (1998)
SSL and Webstar 3 with Webcatalog (1998)
calender with business days (1998)
[MATH] and Dates (1998)
Out of the woodwork (2007)
can you reassign loop index? (1998)
Country & Ship-to address & other fields ? (1997)
StoreBuilder Q's (2003)
Submitting ampersands in forms... (1998)
[LOOKUP] (1997)