close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Current Page Link Color

Thread began 1/24/2011 7:31 pm by RobertB | Last modified 1/26/2011 11:10 am by RobertB | 2895 views | 7 replies


Originally Said By: neilo
  Hi Robert,

There is one (not very elegant) solution that you could use. There are solutions out there that use javascript, but as your site is non-dynamic, and as there are only a few pages, this might most easily suit your purposes.

Your top menu is at line 49 of each page:

<td width="523" height="40" valign="bottom"><a href="index.html">home</a> | <a href="ward4_issues.html">issues</a> | <a href="ward4_events.html">news and events </a>| <a href="ward4_resources.html">community resources</a> |<a href="contact_wade.html"> contact wade</a></td>
which is easier to demonstrate with if I seperate it into one line per element in code view (which is effectively the same code).

On each of your pages, add an inline style to the link that is referencing the particular page it is on. So (for instance) on your 'home' page, you would be adding the style in the form of style="color:FFFF33;"

<td width="523" height="40" valign="bottom">
<a href="index.html" style="color:FFFF33;">home</a> |
<a href="ward4_issues.html">issues</a> |
<a href="ward4_events.html">news and events</a> |
<a href="ward4_resources.html">community resources</a> |
<a href="contact_wade.html"> contact wade</a>
and if it were in the menu on your 'news and events' page, it would be:
<td width="523" height="40" valign="bottom">
<a href="index.html">home</a> |
<a href="ward4_issues.html">issues</a> |
<a href="ward4_events.html" style="color:FFFF33;">news and events</a> |
<a href="ward4_resources.html">community resources</a> |
<a href="contact_wade.html"> contact wade</a>
and so on for each page.

For the menu at the bottom, you might want a different style for the currently selected item. So in each page that menu is on, for the item that references that page, do the same (say) style="color:#6D0C26;" ), i.e: on the 'contact wade' page, it would be:
<td width="270" height="85" align="left" valign="bottom">
<a href="index.html">home</a> |
<a href="contact_wade.html" style="color:#6D0C26;">contact wade</a>
As I say, not too elegant, and I certainly wouldn't recommend it for a site with a large number of pages and sub pages, but I think it would be a reasonable solution in this case.  

Hi,thanks for sharing the information here.Really a nice information is provided by you here and i'm sure it would be very helpful for me.Thanks a lot again for sharing the information here...

Website Development Denver

Denver Web Designs

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