From: Richard B. <ma...@ri...> - 2001-02-24 04:11:20
|
Doc Oliver, This stuff is cool! I couldn't resist trying this, and it works! It seems quite logical when you think about it, why didn't I think of that! I put up an example here: Doc_Oliver_Examples Form_Submitting.html http://www.richardinfo.com/?menu=examples&node=18 It still has a few bugs, NS6 doesn't load second time, and displays the label much to big, NS4 sometimes gives errors, but these are more due to the form and image being nested in a layer than to the principle itself. I'll fix them later. Also I have to change the script so the cookie is deleted before it's written to again, otherwise it grows and grows. As my site isn't NS6/mac compatible yet, you can use this direct link to test these: http://www.resass.f2s.com/dynapi/Doc_Oliver_Examples/Form_Submitting.html I'm not saying this is better/worse than MP's java applet, of which I'll put up an example soon, it's just a nice alternative. Cheers, Richard Bennett ma...@ri... www.richardinfo.com (Everything running on, and ported to the 19/12/2000 snapshot of DynAPI2) Find the DynAPI faq here: http://sourceforge.net/docman/display_doc.php?docid=656&group_id=5757 Browse the mailinglist here: http://www.mail-archive.com/index.php3?hunt=dynapi ----- Original Message ----- From: "Doc Oliver" <doc...@us...> To: <dyn...@li...> Sent: Friday, February 23, 2001 3:05 AM Subject: Re: [Re: [Re: [Dynapi-Dev] Dynamic Content Loading (IT WORKS)]] > Michael Pemberton <mp...@ph...> wrote: > > the problem was that there was no method of downloading content AFTER the > page > > has been rendered. > > That's what I'm talking about, look: > > var tmpImg = new Image(); > tmpImg.src = 'site.php?name=donaldDuck&age=60; > > now 'site.php' can read 'name' and 'age', but can also send back data by > setting a cookie, see, an image request can be used to 'push' data to the > browser aswell. > > you could for example set a 'replyCookie=GUID' in the request, and then have > an intervall that look for that cookie, and then fires an event when it is > received. > > ____________________________________________________________________ > Get free email and a permanent address at http://www.amexmail.com/?A=1 > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > ____________________________________________________________ > Get your domain name and domain-based e-mail from > Namezero.com. New! Namezero Plus domains now available. > Find out more at: http://www.namezero.com > |