Hiding Code

message from BeniFxTrader on 25 Jul 2004
Hey Everyone,
I'd like to hide some HTML code and JS code on my site so that when visitors view the source, some of it isn't open.

How do I do this?

Thanks,
Benjamin
 
Jeff North replied to BeniFxTrader on 25 Jul 2004
Simply put - you can't.
 
SamMan replied to BeniFxTrader on 25 Jul 2004
visitors view the source, some of it isn't open.

Keep it on your local machine....
You could put your JS in an external file, but that wouldn't remove it from
being viewed totally. If it runs on the client-side (HTML & JS), then it is
loaded on the local machine for viewing and the user has access to it.
Server-side coding/processing would be something the user would not be able
to view.
 

Archived message: Hiding Code (Macromedia Dreamweaver Web Design)