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


home page active links

Thread began 9/03/2010 4:01 am by rob75685 | Last modified 9/03/2010 5:41 pm by neilo | 767 views | 6 replies |


home page active links

hi there

I have my site set up and working great with CSSMW 205

The only problem I have is that when you first visit the site 4 of the menu headings are coloured active:

I've attached my treexml.xml file as I think there must be something wrong here...

thanks for your help

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

the problem is that the links for those for menu items is set to to an internal anchor:

<li class="parent"><a href="#">news</a>

when you visit the page at:

the blank anchor:
<a href="#">

actually matches.

However if you visit:

the blank anchor will not match.

Either always use index.php to access the page, or give those menu items a page to link to.

Sign in to reply to this post


hi Jason

Thanks for your reply

Those particular menu items don't have links... I tried removing the # but still had the same results..

How do I remove the links from them but still keep the drop down function?


Sign in to reply to this post

Jason ByrnesWebAssist

you cant really, your best bet would be to give them bogus links, then use javascript to disable them;

<a href="bogus.htm" onclick="return:false;">news</a>

However, this does not work in all browsers.

Sign in to reply to this post


ok - what I've done is just added the top level link to each one

is there a way for the home page link to be activated when the link is just

without the index.php ?

Sign in to reply to this post

Jason ByrnesWebAssist

no, the highlighting works by matching the page name in the link to the page name in the address in the address bar.

Sign in to reply to this post


One (probably not ideal) way to get round this might be to have a file in your root directory called index.html with no content other than to have a META redirect in the <head></head> area with a refresh delay of 0.

  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<meta http-equiv="Refresh" content="0;URL=index.php" />


This assumes that .html is higher than .php in the default files hierarchy on your server - (it usually is).

Might be worth a try. You could also - while you're at it - add all the Meta Description and Keywords into the head of the html document too.

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





Ease of use


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