Getting at the body

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Crom

    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.writel n (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


  • Thomas 'PointedEars' Lahn

    #2
    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.writel n (newbody);[/color]

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


    PointedEars

    Comment

    Working...