Forum Moderators: open

Message Too Old, No Replies

Menus in FrontPage

How to get non-clickable links

         

reddevil

6:08 pm on May 20, 2004 (gmt 0)

10+ Year Member



I am using FP2000 and have just changed to using PageIncludes for all my menus - it makes things very much easier.
But, I cannot get the 'current' page to have a non-clickable link (eg. every link on my left menu is clickable - even the current page).
How can I get every page to have ONE non-clickable link?

SuzyUK

9:32 am on May 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Not sure if this is possible with FP alone.. when you are including the menu it will be included in the same state on every page.

with the use of CSS targetting links by IDs you could make it "look" non clickable, i.e. change the mouse cursor (so it's not a pointer on hover) and make sure the link text itself does not change on hover.. it is actually still clickable though it just doesn't look like it.

Or perhaps with some javascript detecting combinations of IDs you might be able to change the <a> element to <span> or something.. but I don't even know if that's possible!

Suzy

brotherhood of LAN

9:42 am on May 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



>FP alone

yeah, was going to suggest javascript, or if you can use a server side language, basically just to find the current uri in the menu and make it non-clickable

i guess javascript would be the better solution as im not entirely sure you can use a server side language within an fp include.

reddevil

8:43 am on May 31, 2004 (gmt 0)

10+ Year Member



Thanks for the 'pointers'.
I will research the CSS forum, as this would be the best way for my site - as I use html pages only.
I fear it might be big work though but I think sites look better with (apparent) non-clickable current page links.
Wish me luck!

pageoneresults

2:04 pm on May 31, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I fear it might be big work though but I think sites look better with (apparent) non-clickable current page links.

I don't think there is anything wrong with the current page link being clickable. You can always use CSS to change the state of the link while the user is on that page as mentioned above. Leaving it as an active link is not bad practice. The only way I know around this is to make a separate include for each page which is not advisable.