• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Project 3. Managing Navigation Button St... > Using JavaScript and Editable Region...

Using JavaScript and Editable Regions

Note

This technique is not suitable for use in Macromedia Contribute because it relies on your ability to access JavaScript code in the child pages’ Editable Region, and Contribute cannot easily edit at the code level.


Next in the order of complexity is a way to use a tiny bit of JavaScript to dynamically write the source attribute for a given button to the down state. This technique solves one of the disadvantages mentioned in the previous section. Here, the image source statements are all contained in non-editable parts of the Template page. This method introduces a drawback though: the inability to remove the hyperlink for the down state button.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint