close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Force highlight a CSS Menu Writer menu item

Thread begun 8/24/2009 12:59 am by cpfusion | Last modified 9/09/2009 7:19 am by cpfusion | 3484 views | 5 replies |

cpfusion

Force highlight a CSS Menu Writer menu item

I was wondering if it is possible to force highlight a menu item?

I have a menu with 7 main items, of which 2 have sub menus. All are working correctly, but I have a page which is not accessible through a sub menu, so it doesn't highlight the top menu item when the page is loaded.

e.g. the menu title is "Top Level", and the main page is "top_level.php". I then have a page which is "top_level2.php" which is categorised under "Top Level" but does not require a sub menu. I would like the "Top Level" menu to be highlighted when "top_level2.php" is selected. Is this possible?

Sign in to reply to this post

Jason ByrnesWebAssist

I'm not 100% sure I follow the question, can you p[lease post a link to demonstrate so I can get a better understanding.

Sign in to reply to this post

CraigRBeta Tester

I think I know what you mean.

i have a sample site gallery.stonepits.com

if you select the gallery page, the gallery is highlighted on the navigation bar.

if you select a submenu within gallery, the gallery link remains highlighted.

is this what you mean ?

there is a good article on how to do this here...

keepingcurrent/

Sign in to reply to this post

cpfusion

Craig,

Thanks for the pointer, but it doesn't really answer my question.

The page I have is not actually part of the menu system at all, but I would still like to force one of the menu items to highlight to indicate that this hidden page is part of that particular section without being selectable from the menu.

Craig

Sign in to reply to this post

CraigRBeta Tester

Doesn't matter

Hi,

it doesn't make any difference that the page isn't on the menu.

I have a couple of pages which are not navigable from the menu, where they have the current page indicator to be the same as a menu page, hence the menu is highlighted accordingly.

If you read through the article, it should help you achieve this.

Sign in to reply to this post

cpfusion

Hi Craig,

I appreciate your response and after reading the article again, I realised that the main issue was that I wasn't reading the PHP Include section. As I am using a PHP Include to add the menu to each page, this method was what I was looking for.

Many thanks for pointing this one out.

Best,

Craig

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...