HighDots Forums  

Nav bar as SSI problem

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Nav bar as SSI problem in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Glenn_Stern
 
Posts: n/a

Default Nav bar as SSI problem - 08-03-2004 , 03:14 PM






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


Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Nav bar as SSI problem - 08-03-2004 , 04:50 PM






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




Reply With Quote
  #3  
Old   
Glenn_Stern
 
Posts: n/a

Default Re: Nav bar as SSI problem - 08-04-2004 , 09:27 AM



Thanks! I'll give it a shot today. Awesome tip, thanks.

Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: Nav bar as SSI problem - 08-04-2004 , 09:38 AM



You're welcome, but this tip belongs to Projectseven, who taught me how to
do it....

http://www.projectseven.com/

--
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:
Thanks! I'll give it a shot today. Awesome tip, thanks.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.