[solved] Server Side Includes

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
jlkane

Re: [solved] Server Side Includes

Post by jlkane »

Thanks for the reminder.  (I already understood that bit from working with another Smarty-based product, but seeing it again here will help the next reader!)

Jim
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [solved] Server Side Includes

Post by Dr.CSS »

Ok so you need images so the text is exactly like they want, some esoteric font most people don't have, that doesn't mean you can't use a totally CSS driven dynamic menu...

Example...

http://www.eyecandyeyebrows.com/

It still has the text put it is pushed off to the out side of the page so screen readers can tell what the menu says...

NOTE: the owner of the site has decided to go with a text menu and keep the image look, as you can see it's not exactly the same but it gives them the ability to change the names of pages w/o having to get a new image made for each time they change a top level menu item...

To be implemented when the text for the page is finalized so look now before the change ;)...

http://www.eyecandyeyebrows.com/index.p ... at-we-need
jlkane

Re: [solved] Server Side Includes

Post by jlkane »

mark wrote: Ok so you need images so the text is exactly like they want, some esoteric font most people don't have, that doesn't mean you can't use a totally CSS driven dynamic menu...

Example...

http://www.eyecandyeyebrows.com/
Okay, I get the advantages of doing the image swap via CSS instead of JavaScript...
but (for the record) this technique has most of the disadvantages of the "old school" JavaScript approach, in that it sacrifices the ability to make changes to the menu through the CMS system; you still have to develop a two-state image for each button in Photoshop and patiently hand-wire each button in the code.  It's CSS-driven, but it's not CMS-driven.

If for no reason than avoiding JavaScript, this method is probably better than the one I was planning to use when I launched this thread ...but it's still a big pain compared to the true CMS-driven menus that CMSMS thrives on.

Jim
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [solved] Server Side Includes

Post by Dr.CSS »

Ok then if you want a cmsms menu template driven one that isn't using the css to swap the image you do something like so...

http://mit-computers.com/index.php/how- ... types.html

Or something even crazier like so...

http://mit-computers.com/index.php/home.html

These use the page image, so you could use the page image for first one and page thumb for second one (rollover effect)...

The only reason I say anything about all this is when you use JS to do this you may run into someone who has JS disabled and I'm not sure they will still be able to navigate your site...
Last edited by Anonymous on Tue Mar 24, 2009 6:34 pm, edited 1 time in total.
jlkane

Re: [solved] Server Side Includes

Post by jlkane »

mark wrote: Or something even crazier like so...

http://mit-computers.com/index.php/home.html
Wow, Mark.  That is an EXCELLENT simulation of the OS X dock behavior - nice work!

And yes, although in practice I NEVER run across anyone who has disabled JavaScript, I'm seriously considering avoiding it entirely in this first excursion into CMSMS through the very technique used on the eyecandyeybrows site to which you pointed me earlier.

Thanks again,

Jim
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: [solved] Server Side Includes

Post by Dr.CSS »

Yea that is just an experiment to see if I can get a web site to look/work like my desk top which is XP with the system change files from http://osx.portraitofakite.com/...
Locked

Return to “CMSMS Core”