Lib Auth,
Nice effect.
You can use CSS to style the menu differently if that's what you want.
You can't avoid Javascript for the animation and why would you want to? .... it's developed and working.
Airshow
Airshow
WiFi Lounge Lizard
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
LIb,
Yes, it appears that you can establish styles in CSS but there are no instructions on how to do so. The Read Me file indicates that you should contact the author to find out how (email address provided). It is not clear why he chose not to include instructions with the distribution.
*** HOWEVER ***
I have managed to penetrate a rather convoluted system. This what to do:
Level 1
Styles that you will most likely want to change are already in CSS.Backup demo.htm .
Open demo.htm in your favourite text editor.
Edit any of the four styles in this file's style sheet to change the appearance of the menu.
Save, then launch demo.htm in your browser (etc. etc. until you are satisfied).
Level 2
If you need to change aspects that were not addressed by the Level 1 method, then there appears to be is a built-in mechanism for saving the code-generated stylesheet in editable form. I have not explored this in its entirety but the procedure appears to be as follows:Open the file menuItems.js
Edit the line design_mode:false, //... to design_mode:true, //..... (but don't close the file yet).
View demo.htm in your browser.
You will now see the demo page with the code-generated stylesheet overlaid.
Right-click > select all, then copy to clipboard.
Paste into thetop of the stylesheet in demo.htm.
In menuItems.js (you didn't close it, remember?), edit user_defined_stylesheet:false, //... to user_defined_stylesheet:true, //...
Edit the line design_mode:true, //... back to design_mode:false, //.....
You now have a complete(?) working CSS stylesheet under your control but suggest caution as there may be things at Level 2 that you should only touch if you feel you really know what you're doing.
Of course, you may need to change the graphic so you will need to edit or create your own versions of image.bmp and clickhere.bmp(?) (in eg, Photoshop). I suggest working with copies of the original(s) rather than creating your own from scratch, at least to begin with.
I think that's about it. Good luck.
Airshow
Airshow
WiFi Lounge Lizard
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372
Just noticed, at level 2, step 5, don't select all. There's a bit at the bottom you don't want (at least not here).
Comments are included to help see where the stylesheet stops and the extra bit starts.
AS
Airshow
WiFi Lounge Lizard
2,683 posts since Apr 2009
Reputation Points: 321
Solved Threads: 372