Professional Web Applications Themes

Automatically set button state depending on url - Macromedia Fireworks

Sorry if this question is answered elsewhere. I've searched but I'm afraid I haven't been able to find anything. I have created a nav bar in Fireworks which I would like to put in a Dreamweaver template. I currently use this nav bar in dozens of pages. If I have to change something I have to change it individually on each page, which is very tedious. Instead, I would like to place this nav bar in the template that these pages are based upon so I only have to change it once. The important thing is that I would like ...

  1. #1

    Default Automatically set button state depending on url

    Sorry if this question is answered elsewhere. I've searched but I'm afraid I haven't been able to find anything.

    I have created a nav bar in Fireworks which I would like to put in a Dreamweaver template. I currently use this nav bar in dozens of pages. If I have to change something I have to change it individually on each page, which is very tedious. Instead, I would like to place this nav bar in the template that these pages are based upon so I only have to change it once.

    The important thing is that I would like this nav bar to set the button states depending on which page it is on.

    Let's say that in their up state the buttons are all normally blue, and in their over/down/over while down states the buttons are normally red. I'd like the up state to be set depending upon which page this nav bar is on. So when the actual page is loaded (not the templage) it checks something like this (in English code):

    If url = Page1.htm then
    button1 up state = red
    all other buttons up state = blue
    else if url = Page2.htm then
    button2 up state = red
    all other buttons up state = blue
    else...

    Is this possible? How do I do this? Thank you for your help.

    You can see the nav bars in their current configuration at [url]http://www.strategicworkforce.com/client/legal_what_to_know.htm[/url]. See the left and right nav bars.

    - Cindy


    cindypsych webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Automatically set button state depending on url

    I am having the same issue.

    I looks like the only way to use the option in the button editor is to export for multiple pages in the advanced export options. But then it appears that you have to go into each page and load the page specific html. It really does seem to mute the whole idea of templates for managing a huge site.

    Please, if there is a way to make the down and down while over states work with templates in DW please please tell!!!

    thank you!!--Luwana


    Luwana webforumsuser@macromedia.com Guest

Similar Threads

  1. Enable button depending on DB value
    By Paappa in forum Macromedia Flex General Discussion
    Replies: 2
    Last Post: January 24th, 05:15 PM
  2. Over state of button!
    By puferruz webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 2
    Last Post: February 13th, 12:25 PM
  3. Can Nav Bars automatically show down state?
    By MXUser_ webforumsuser@macromedia.com in forum Macromedia Fireworks
    Replies: 12
    Last Post: August 12th, 04:28 PM
  4. Replies: 2
    Last Post: August 2nd, 07:07 AM
  5. Button Down State
    By 1977Thug webforumsuser@macromedia.com in forum Macromedia Fireworks
    Replies: 7
    Last Post: July 11th, 05:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139