1 Reply Latest reply on Oct 3, 2006 7:08 AM by Newsgroup_User

    Eeeek sorry another question...

    firmana
      Sorry I really am not trying to overload the forum.

      I have an image in my template for navigation. It is an image map made in Fireworks and works fine. It is the same image for all my pages. I want to make it so that if you are on say, the homepage ("Home" on the image map) then "Home" would have a border around it so you know you were on that page.

      My dilemma is that if I make a unique image with a border on whatever page you are on for everypage, it can't be used in my template and if I change something on the menu I will have to go through each page. Is there anyway for an image map (which I exported from fireworks) to border around the part of the map for which page you are on?

      I know basic programming (QuickBasic) and I am thinking of some kind of IF THEN statement. Anything like that that I can use in HTML or DW?

      Thanks a bunch!
        • 1. Re: Eeeek sorry another question...
          Level 7
          HTML does not do such logic. You would need to use javascript or
          server-scripting to do this.

          But - if I am reading your post correctly, you have used a single image with
          image maps on it to make the navigation links. In this case, you will not
          be able to (easily) accomplish your goal. You would need to have an
          individual linked image for each button in your navigation to do this....

          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "firmana" <webforumsuser@macromedia.com> wrote in message
          news:efto5a$1ig$1@forums.macromedia.com...
          > Sorry I really am not trying to overload the forum.
          >
          > I have an image in my template for navigation. It is an image map made in
          > Fireworks and works fine. It is the same image for all my pages. I want to
          > make
          > it so that if you are on say, the homepage ("Home" on the image map) then
          > "Home" would have a border around it so you know you were on that page.
          >
          > My dilemma is that if I make a unique image with a border on whatever page
          > you
          > are on for everypage, it can't be used in my template and if I change
          > something
          > on the menu I will have to go through each page. Is there anyway for an
          > image
          > map (which I exported from fireworks) to border around the part of the map
          > for
          > which page you are on?
          >
          > I know basic programming (QuickBasic) and I am thinking of some kind of IF
          > THEN statement. Anything like that that I can use in HTML or DW?
          >
          > Thanks a bunch!
          >