Yes, it's possible.
Put this in script tags in the head of the document -
function P7_downImage() {
var g7="<imagename>"
var g7url="<pathname>"
if ((g7=MM_findObj(g7obj))!=null) {g7.src=g7url;}
}
and this on the <body> tag
onload="P7_downImage()"
Then on each page you would need to make two edits:
Set g7 to the *name* of the button (not the file name but the HTML name -
e.g., "productsbutt"), and g7url to the pathname to the button (e.g.,
"images/nav/button3.gif"), and bada bing, bada boom!
This will work whether your menu is in an include or not.
And by the way, rip out that FW menu and recreate it with simple image
rollovers. The navbar function is intended to be used on framed pages, and
as such it has lots of extra code. You don't need it.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(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
==================
"Glenn_Stern" <webforumsuser (AT) macromedia (DOT) com> wrote
Quote:
All,
I have a FW nav bar as an include, and my hope was to have the clicked
image
stay down when the new page loads. Is this possible in the "include"
framework?
Thanks!
http://63.107.122.191/internal_pages/mqap.asp |