Welcome to the { mindfrost82.com } forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-19-2008, 10:55 PM
DianeHammond
 
Posts: n/a
Creating a library Nav Bar with drop box menu

Here's what I need: a step by step, simple walk-through that will allow me to
create a shared (library) navigation bar with rollovers, hyperlinks, and drop
box subnavigation.

It's GOT to be possible, but I'll be damned if I can figure it out. I've spent
at least 20 hous on my own trying to do what should be one very straightforward
act. I've tried to:

[bullet][/bullet]create the whole thing in Fireworks 8 (I don't have CS3),
export it as HTML, and then convert it in Dreamweavr to an .lbi file. I lose
all the rollovers and drop boxes.

[bullet][/bullet]create the whole thing in Dreamweaver, as an .lbi file. I can
get the rollovers and hyperlinks, but not the drop boxes (subnavigation), which
I assume should be introduced as sprys, only that menu is disabled.

Either way, I end up trying to stitch together the code to make the thing work
in the library, and I'm failing dismally. THANK YOU FOR ANY HELP YOU CAN GIVE
ME.

Reply With Quote
  #2 (permalink)  
Old 03-19-2008, 11:22 PM
Murray *ACE*
 
Posts: n/a
Re: Creating a library Nav Bar with drop box menu

Your approach is wrong from the beginning.

But first, tell me what you mean by "shared (library) navigation bar)",
please.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"DianeHammond" <webforumsuser@macromedia.com> wrote in message
news:frs24p$fok$1@forums.macromedia.com...
> Here's what I need: a step by step, simple walk-through that will allow me
> to
> create a shared (library) navigation bar with rollovers, hyperlinks, and
> drop
> box subnavigation.
>


Reply With Quote
  #3 (permalink)  
Old 03-20-2008, 12:09 AM
DianeHammond
 
Posts: n/a
Re: Creating a library Nav Bar with drop box menu

Here's the long view: I want to create a set of navigation links using
images/rollovers; hyperlinks; and secondary, drop-down menus.

I want to create this navigation bar so that it can be applied to all pages of
my website, but if/when things change, I only have to change them in one place.

I thought Dreamweaver stores such items in its library, and they're inserted
on each affected page.

Hopefully that clarifies things. I'm sure I'm a moron for not figuring this
out on my own, but I'm more than ready to say Uncle!

Reply With Quote
  #4 (permalink)  
Old 03-20-2008, 12:14 AM
Alan
 
Posts: n/a
Re: Creating a library Nav Bar with drop box menu

A problem is that image rollovers and dropdown menus have javascript
functions that need to go into the head section. A dw library item won't
properly put the script functions where they need to go in current versions.

You could use a dw template for this- just don't put any other files except
the .dwt file in the Template folder.

And if you are thinking of using the dw pop out menu behavior or some other
third party javascript menu, make the menu in the template using site root
relative or absolute full http paths.

--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



Reply With Quote
  #5 (permalink)  
Old 03-20-2008, 12:56 AM
DianeHammond
 
Posts: n/a
Re: Creating a library Nav Bar with drop box menu

Thank you--that makes sense.
Reply With Quote
  #6 (permalink)  
Old 03-20-2008, 01:12 AM
Murray *ACE*
 
Posts: n/a
Re: Creating a library Nav Bar with drop box menu

> A dw library item won't
> properly put the script functions where they need to go in current
> versions.


Sure will....

> And if you are thinking of using the dw pop out menu behavior or some
> other
> third party javascript menu, make the menu in the template using site root
> relative or absolute full http paths.


I would caution against either of these approaches (the DW menus, or 3rd
party javascript menus).

I would use templates definitely. I would build the navigation element into
a server-side include. And that'll do the trick. To make the menu, I would
use one of the PVII menu extensions, or build it myself (it's not so hard,
if you follow the tutorials at the PVII site) -

http://www.projectseven.com/

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Alan" <please_dont_mail_me@example.com> wrote in message
news:C4070887.2F2E60%please_dont_mail_me@example.c om...
>A problem is that image rollovers and dropdown menus have javascript
> functions that need to go into the head section. A dw library item won't
> properly put the script functions where they need to go in current
> versions.
>
> You could use a dw template for this- just don't put any other files
> except
> the .dwt file in the Template folder.
>
> And if you are thinking of using the dw pop out menu behavior or some
> other
> third party javascript menu, make the menu in the template using site root
> relative or absolute full http paths.
>
> --
> Alan
> Adobe Community Expert, dreamweaver
>
> http://www.adobe.com/communities/experts/
>
>
>


Reply With Quote
  #7 (permalink)  
Old 03-20-2008, 02:44 AM
Alan
 
Posts: n/a
Re: Creating a library Nav Bar with drop box menu



>> A dw library item won't
>> properly put the script functions where they need to go in current
>> versions.

>
> Sure will....


You can add a behavior in an .lbi file, and the function will be put in the
head of the file the library item is used in?

--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



Reply With Quote
  #8 (permalink)  
Old 03-20-2008, 04:17 AM
DianeHammond
 
Posts: n/a
Re: Creating a library Nav Bar with drop box menu

Thank you, too, Murray. I'm off to try the tutorial.
Reply With Quote
  #9 (permalink)  
Old 03-20-2008, 11:56 AM
Murray *ACE*
 
Posts: n/a
Re: Creating a library Nav Bar with drop box menu

> You can add a behavior in an .lbi file, and the function will be put in
> the
> head of the file the library item is used in?


No. But if the Library item has a call to a behavior, DW will make sure
that the required js is located in the head of the parent document. You
must never *apply* a behavior to an existing Library item - the behavior
must have already been applied before the Library item is created. This
gets a bit dicey if you create the Library item, and then later decide you
need to have a behavior in it....

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Alan" <please_dont_mail_me@example.com> wrote in message
news:C4072BB7.2F2E91%please_dont_mail_me@example.c om...
>
>
>>> A dw library item won't
>>> properly put the script functions where they need to go in current
>>> versions.

>>
>> Sure will....

>
> You can add a behavior in an .lbi file, and the function will be put in
> the
> head of the file the library item is used in?
>
> --
> Alan
> Adobe Community Expert, dreamweaver
>
> http://www.adobe.com/communities/experts/
>
>
>


Reply With Quote
  #10 (permalink)  
Old 03-20-2008, 02:26 PM
Alan
 
Posts: n/a
Re: Creating a library Nav Bar with drop box menu



> You
> must never *apply* a behavior to an existing Library item - the behavior
> must have already been applied before the Library item is created.


okay- that's what i was getting at. It worked in dwmx 6.0, then broke in the
MX 6.1 updater. Don't know if it's worth being worked on for the next
version.

If this site would smallish I'd use a dw template. If it would be larger or
possibly have frequent changes to this menu, i'd use SSI, one in the head
for the functions and one in the body for the nav menu.

--
Alan
Adobe Community Expert, dreamweaver

http://www.adobe.com/communities/experts/



Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Software > Adobe Software > Dreamweaver


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:48 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
MPAA | Remortgages | Mobile Phone | Online Image Resizer | Myspace Layouts



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