Previous Message
Next Message

PVII Uberlink Menus + SSI ?

Sent by Martin Alderson on 14 November 2004 05:05


On Sat, 13 Nov 2004 22:39:50 -0500, matt-nc [EMAIL-REMOVED]> wrote:
> I have a left-side vertical navigation menu based on the PVII Uberlink
> model.  I have been working on switching over to SSI and just realized that
> the uberlink system won't work with that.
> 
> Is there any way to use SSI for the menu and still have some kind of
> special highlighting for the current menu selection?
> 
> Thanks,
> Matt

Two things here:

1) The CSS jargon is incredible. IMO, it's the biggest factor in the
learning curve to CSS. It's great for seasoned CSS-ers, but for
average joe's you quickly become swamped.

2) CSS jargon cross referencing is even worse. Sorry, but there is
nothing worse than reading an already cryptically named hack/method
and it saying 'this overcomes the problems with xyz and abc
techniques'. Why? Because I have to read articles about those, and
then other articles to explain the jargon in the first article... all
to learn what some other jargon means. It's a total nightmare.

Please could I suggest, as a somewhat 'new guy' to CSS layout, that if
you must must must use these stupid names, then you give a link to the
method which contains a brief description.

I think this is probably the best example of this. I searched on
google for 'PV11 uberlink'. I then find this link here:
http://archivist.incutio.com/viewlist/css-discuss/35070. Great, so I
click the link contained in that... and I get this page: "Welcome to
Project Seven. The page you requested has either moved or is no longer
active. Please choose from a destination from the site map below: ".
Great.

I then spend about 2 minutes clinking the list it presents me with. I
get the feeling that the menu they use is the 'uberlink' method, but I
don't know for sure. Finally, I get to
http://www.projectseven.com/tutorials/css/uberlinks/index.htm. It
would of taken you about 20 seconds to post that link and save
everyone else 10 minutes or more of wasted time.

As for your actual question, I assume you mean that you can no longer
have the id="uberlink". Try using PHP. SSI is pretty poor for this
sort of stuff and is best used only to do simple, static, includes.

Do an if() statement for each <li>, matching the current file name
requested ($_SERVER[REQUEST_URI]). Simply do if($_SERVER[REQUEST_URI]
== 'xyz.php') and change the xyz.php part for each <li>.
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: