D web site facelift
"Jérôme M. Berger"
jeberger at free.fr
Wed Jul 7 14:00:55 PDT 2010
Nick Sabalausky wrote:
> You can do the same thing with DHTML too (set the form button's "onclick" to
> add 'style="font-family:..."' to all the code tags), which would work
> without server-scripting, but that would require JS to be enabled, it
> wouldn't work between sessions, and you'd probably have to keep the user on
> the same page all the time and change all the links to just simply replace
> the page content instead of linking to a new page (I'm not sure that JS by
> itself can maintain any state between pages. If it can, that's news to me.
> Maybe something involving a hidden frame would work? Or if you want to be a
> real asshole to the user, you could use Flash SuperCookies or ActiveX ;) ).
>
It's possible with a very little JS and mostly static html. Check
http://www.alistapart.com/articles/alternate/ for something similar.
Jerome
--
mailto:jeberger at free.fr
http://jeberger.free.fr
Jabber: jeberger at jabber.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-announce/attachments/20100707/71e80821/attachment.pgp>
More information about the Digitalmars-d-announce
mailing list