Connecting Tech Pros Worldwide Help | Site Map

Getting at the body

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 20th, 2005, 11:24 AM
Peter Crom
Guest
 
Posts: n/a
Default Getting at the body

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, 12:04 PM
Thomas 'PointedEars' Lahn
Guest
 
Posts: n/a
Default 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
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.