close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

What does the JS do in CSSMW?

Thread began 10/19/2012 12:08 pm by iainmacdonald331081 | Last modified 10/22/2012 12:18 pm by Jason Byrnes | 810 views | 3 replies |

iainmacdonald331081

What does the JS do in CSSMW?

I'm just in the process of trying to make a site done on the Metro Publisher platform match an existing site.

As part of that, I would like to recreate the original navigation as closely as possible, which uses MW.

With MP, I only have access to the CSS, not the actual HTML (except for reference), and am unable to upload any JS.

This is a copy of the navbar I would like to use, and it seems to work OK with the JS removed, so I just wasn't sure if it was needed?

menu.htm

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

mainly the Javascript in CSS Menu Writer is used for the current item options.

In menu writer you can select to highlight the current menu item, if this is set, it uses JS to compare the Address bar to the links in the menu and if it matches, then highlight that menu item.

if you don't select to highlight the current menu item, then the JS is not needed.

Sign in to reply to this post

iainmacdonald331081

Thanks Jason - good just to confirm nothing will break anywhere if I leave the JS out. Just need to figure out if its possible to include it on the MP site without access to the HTML.

I'm always torn on the current menu item thing - on the one hand its quite a good visual cue, but on the other (unless I'm missing a trick here), it means having the menu on every page, rather than using an include for each page.

Sign in to reply to this post

Jason ByrnesWebAssist

you can use the current page option and add the menu as an include or better yet, use a framework builder plugin.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...