NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew on April 26, 2011, 04:38:33 AM

Title: Change menu style
Post by: Matthew on April 26, 2011, 04:38:33 AM
Hello

How Can I change menu style? I would like to implement for example menu from:
http://www.dhtmlgoodies.com/scripts/dhtmlgoodies-slide-out-menu/dhtmlgoodies-slide-out-menu.html

After download this menu I have 2 files: slide-out-menu-new.js and slide-out-menu-new.css. At the moment I have according menu style and I would like to change it to menu from the link but I don't know how to do that using this 2 files. Where I should copy this files and what option I should set to have such menu?

Thanks for help.

Regards,
Matthew
Title: Re: Change menu style
Post by: Bruce on April 26, 2011, 06:49:21 AM
Hi Matthew,

You can add the .js to the JavaScript files list in the WebServer procedure.
You can also add the .css file to the list of Style files in the WebServer procedure.

After that you will need to hand-code the menu in a NetWebSource procedure to conform to the html requirements of the script you've chosen. The menu extension template doesn't support that script directly, so it won't be of any use to you.

cheers
Bruce
Title: Re: Change menu style
Post by: Bruce on April 26, 2011, 06:55:19 AM
Incidentally there's a new jQuery menu coming soon (see http://wiki.jqueryui.com/w/page/12137997/Menu (http://wiki.jqueryui.com/w/page/12137997/Menu)) which will be supported by the template, so I don't recommend putting too much effort into this unless you're pretty sure this is the menu you're gonna stick with.

Also be aware that hand-coded menus are unlikely to support "popups" - unless you've really inspected the code generated by the template to see what needs to be done to add popup support.

cheers
Bruce