[Pro] Freeway's CCS Menu Action

I’ve made a horizontal menu with the css menu action and wondered if its possible to force it to show ‘current page’ even when its not on a current page. As in displaying that you are in a section of the site.

Thanks
Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I was trying to do this the other day and I ended up hacking it a bit
but it works.

  1. Apply the Source Code Snooper action[1] to the CSS menu box
  2. Publish the page
  3. Click on the Edit button in the actions palette
  4. Locate the menu item you want to highlight and insert the class
    ‘fwCurrent’
    for example:
<li class="fwNavItem"><span class="navtext"><a href="../services/ 
index.html">Services</a></span></li>

becomes;

<li class="fwNavItem"><span class="navtext"><a href="../services/ 
index.html" class="fwCurrent">Services</a></span></li>

Don’t think about changing your menu again. The SCS action will now
lock the output to the snapshot of code produced in step 2. If you
really must update the menu, remove the action, make the changes, and
redo the steps above.
I’ll have a think if there’s a nicer way to do this with another
action but for the moment this should work.
Regards,
Tim.

[1] Source Code Snooper action - FreewayActions.com | Source Code Snooper

On 2 Feb 2010, at 17:07, Paul Thackray wrote:

I’ve made a horizontal menu with the css menu action and wondered if
its possible to force it to show ‘current page’ even when its not on
a current page. As in displaying that you are in a section of the
site.

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Paul,
Forget my last e-mail. Here’s a MUCH easier way to do this;

  1. Double-click into your CSS menu to edit the list items
  2. Select the section heading you want to highlight
  3. Open up the Edit Hyperlink dialog box
  4. Click on the Extended button
  5. Click the New… button
  6. Enter;
    name: class
    value: fwCurrent
  7. Press OK for each of the two dialogs
  8. Preview and see your menu item light up!

Regards,
Tim.

On 2 Feb 2010, at 17:07, Paul Thackray wrote:

I’ve made a horizontal menu with the css menu action and wondered if
its possible to force it to show ‘current page’ even when its not on
a current page. As in displaying that you are in a section of the
site.

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Wow !!!

That’s dam clever and so simple !, i spent ages yesterday and gave up with it.

Thankyou very much Tim, that now makes Freeways css menus the perfect thing to use, shame its not noted in the program !

Regards
Paul


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options