Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Getting at the body

Reply
Thread Tools

Getting at the body

 
 
Peter Crom
Guest
Posts: n/a
 
      10-28-2003
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


 
Reply With Quote
 
 
 
 
Thomas 'PointedEars' Lahn
Guest
Posts: n/a
 
      11-23-2003
Peter Crom wrote:

> 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);


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


PointedEars
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
To reduce your body weight & slim your body Loss weight MCSA 0 07-23-2007 07:54 PM
To reduce your body weight & slim your body Loss weight MCSA 0 07-21-2007 05:15 AM
all the text (including tags) between <body> .. </body> tarakparekh@yahoo.com Perl Misc 5 09-07-2005 11:40 PM
Getting Forte Agent to load msg body when header selected Jeremy NZ Computing 3 10-17-2004 09:58 AM
Not detecting body.scrollTop and body.scrollLeft in IE6 London Boy Javascript 2 01-12-2004 08:44 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57