Hi,
I posted this query in the PHP arena, so apologies to anyone that has already seen that post there.
This is basically a (JS) MooTools, CSS, and PHP issue....I am working on my portfolio site and am looking for a solution to turn this nifty little MooTools and CSS Sprite script into a PHP include file:
http://davidwalsh.name/css-sprite-menuMy desire is to use it for a THUMBNAIL image MENU only --- not text links. It
would be nice to have a solution that worked in combination with both an image and text links, without having to make 2 separate include files, but that may be too wieldy.
Anyway, the way David Walsh's script works is that the CURRENT PAGE has to be coded into the LI tag for the menu, which does not allow it to be made into an
include file (hence the PHP part of the question).
So, the burning issue is, how to restructure the JS - MooTools script to allow the CURRENT PAGE to be identified in the BODY tag (using class or id) or at the top of the page (using PHP) or in another way that does not require the menu to have each CURRENT PAGE link be hand coded per page (file).
My original question in the PHP forum is here:
http://www.lunarforums.com/php_and_mysql_support/mootools_css_sprite_menu_make_it_into_a_php_include-t55327.0.html;msg362338#msg362338Apologies if I have become more confusing with my questions on this.
Desperately seeking a solution.
Much gratitude and blessings on any and all brilliant minds out there.
Sincerely,
A Cheesy Worrier:
