Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

inserting the current date

 [1/3] from: sharriff::aina::med-iq::de at: 31-Oct-2000 9:17


Hi all, I´ve go a HTML set up as a navigation bar, after a successful login, the login script normally emits a frameset page that calls "mynavigation frame.html" and " mybody frame.html" from the disk, which are static. I would like to display the current date in the navigation page which would mean that the login script would have to creat and write to disk the frame mynavigation frame.html before it gets called by the main frameset page, not a very clean solution, I admit. I´ve tried this approach but I get presented a page with TAB characters and no date. Has anyone tried something like this out or does anyone have an idea how I could solve this problem? Sharriff Aina med.iq information & quality in healthcare AG

 [2/3] from: al:bri:xtra at: 1-Nov-2000 10:27


Sharriff wrote:
> I´ve go a HTML set up as a navigation bar, after a successful login, the login script normally emits a frameset page that calls "mynavigation frame.html" and " mybody frame.html" from the disk, which are static. I would like to display the current date in the navigation page which would mean that the login script would have to creat and write to disk the frame "mynavigation frame.html" before it gets called by the main frameset page, not a very clean solution, I admit. > > I´ve tried this approach but I get presented a page with TAB characters and no date. Has anyone tried something like this out or does anyone have an idea how I could solve this problem?
Try using JavaScript running in the client to produce the date and/or time on the browser. There's an example of this on my site, which you can use. Andrew Martin

 [3/3] from: sharriff:aina:med-iq at: 2-Nov-2000 6:53


This approach would not work for my application, taking the example that a clients clock is defective or not set correctly, javascript disabled e.t.c. I ve chosen the method of generating the date with every top frame generated by my CGI scripts. Thanks anyway Regards Sharriff Aina med.iq information & quality in healthcare AG [Al--Bri--xtra--c] o.nz An: [rebol-list--rebol--com] Gesendet von: Kopie: rebol-bounce@ Thema: [REBOL] Re: inserting the current date rebol.com 31.10.00 22:27 Bitte antworten an rebol-list Sharriff wrote:
> I´ve go a HTML set up as a navigation bar, after a successful login, the
login script normally emits a frameset page that calls "mynavigation frame.html" and " mybody frame.html" from the disk, which are static. I would like to display the current date in the navigation page which would mean that the login script would have to creat and write to disk the frame mynavigation frame.html before it gets called by the main frameset page, not a very clean solution, I admit.
> I´ve tried this approach but I get presented a page with TAB characters
and no date. Has anyone tried something like this out or does anyone have an idea how I could solve this problem? Try using JavaScript running in the client to produce the date and/or time on the browser. There's an example of this on my site, which you can use. Andrew Martin