Connecting Tech Pros Worldwide Help | Site Map

Getting at the body

  #1  
Old July 20th, 2005, 12:24 PM
Peter Crom
Guest
 
Posts: n/a
Hi everybody,

I have the following problem:
I would like to have a sort of 'coded body', that is, I offer a body with an
encrypting javascript routine that 'unpacks' the coded body at the client,
so it customizes to its local properties, depending on browser, screensize
and the like.
Therefore I need to be able to 'read' the body, adjust it, and rewrite te
whole lot with a document.writeln (newbody);

But how is this 'reading' done? Can anyone give me the golden tip?

Thanks in advance for the use of your brains and knowlegde...

Peter Crom


  #2  
Old July 20th, 2005, 01:04 PM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a

re: Getting at the body


Peter Crom wrote:
[color=blue]
> I would like to have a sort of 'coded body', that is, I offer a body with an
> encrypting javascript routine that 'unpacks' the coded body at the client,
> so it customizes to its local properties, depending on browser, screensize
> and the like.
> Therefore I need to be able to 'read' the body, adjust it, and rewrite te
> whole lot with a document.writeln (newbody);[/color]

You do not need and you do not want that, not even in an intranet.
BTW, use document.write("...") instead of document.writeln(...).


PointedEars
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
System.Web.UI.Page and finding the <body> sloan answers 1 August 25th, 2006 10:45 PM
Setting or getting body.class on IE John W. Kennedy answers 2 October 16th, 2005 04:11 AM
variable height header... body fills remaining height? bkfake-google@yahoo.com answers 9 July 21st, 2005 02:39 AM
cgi: getting at raw POST data? Erik Johnson answers 2 July 18th, 2005 11:02 PM