On Sep 13, 8:30 am, "Beauregard T. Shagnasty"
<a.nony.m...@example.invalidwrote:
In simple example... "pagefilename.php"
<?php
[snip]
?>
Thanks for the example, but I don't know PHP and I don't really see
how I can generalize it to my situation.
The only write-up I've found on the Web that I might be able to apply
is "Style Sheet Switcher":
http://tutorial.jcwcn.com/Web-Design...7-10/2092.html.
I'm just implementing an example based on that website so I can really
assess the applicability to my site.
I had hoped that W3C might have provided more details on user-
selectable pages. Unless I misunderstood its offerings, they didn't
seem that helpful to my goal.
If you know offhand of any site(s) that offer sample implementations
employing user-selectable pages,
I'd appreciate hearing about it/them.
--
Richard
P.S.You may want to ignore this paragraph: If I can't get "regular"
HTML/CSS code to work, then for each of my html/css examples, I'll
capture its browser image and display the image corresponding to the
user's selection in the center frame of main page. In addition, I'll
write a preprocessor to suck the style and body code from the examples
and stuff those chunks into string arrays for styles and bodies. When
a user chooses an html/css example, my site will display corresponding
style and body code in textarrays along side the image of the example
page. For now, that's my fall-back strategy. It's what you might
expect from an ex-Fortran, Cobol, PL/1, C, C++ programmer :-)
--
Richard