Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Article Manager 2:
Drop down Menu

 

 


joelev
User

Nov 7, 2006, 9:54 AM

Post #1 of 8 (1270 views)
Shortcut
Drop down Menu Can't Post

I have been experimenting for a few days trying to make drop down menu with Dreamweaver. I have created a rudimentary menu using the canned behavior provided in DW and placed it in the header.html file.

While the menu works in basic non-AM2 webpage, it will not display in the AM2 header.html.

I know just enough HTML to be dangerous, but I am thinking that the <body> <head> tags are giving me a problem.

Any thoughts?


ChetW
Staff


Nov 7, 2006, 11:32 AM

Post #2 of 8 (1264 views)
Shortcut
Re: [joelev] Drop down Menu [In reply to] Can't Post

Hi,

Thanks for the post!

If I understand correctly you are hoping to add a custom designed dropdown menu to the header section of your website, is this correct? If so is this a hardcoded menu that you are adding or is it an edited version of the default categoryMenu.html template file?

What you may want to do is provide me with a few more details on how you would like this dropdown menu to work, once I have a better understanding of how you would like things to run I will be happy to lend you a hand setting things up. :)

Does this help? I look forward to hearing back from you!
Cheers,
Chet Woodside - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


joelev
User

Nov 7, 2006, 11:52 AM

Post #3 of 8 (1258 views)
Shortcut
Re: [ChetW] Drop down Menu [In reply to] Can't Post

I was hoping I could add it to the header so the menu would be accessible from any page. I was directly editing the header.html file.

I am just exploring the poissibilty of using it .....probably to link to external website or static pages within AM2.

Any guidance would be appreciated.


Dave
Staff / Moderator


Nov 7, 2006, 12:04 PM

Post #4 of 8 (1253 views)
Shortcut
Re: [joelev] Drop down Menu [In reply to] Can't Post

We should be able to help. Can you post a link to the published file with the dhtml menu that doesn't work, and a link to a file with a menu that does?

Dave Edis - Senior Developer
interactivetools.com
 


joelev
User

Nov 7, 2006, 10:16 PM

Post #5 of 8 (1236 views)
Shortcut
Re: [Dave] Drop down Menu [In reply to] Can't Post

OK......I found something a little more fun, but the concept is the same.........

I found this little piece of code that might work for me.

http://www.intotheboards.net/hockey2/p7_cssexpress/test.html

My question is the same. Is it possible to get this code running so it appears on every page of the site?


Dave
Staff / Moderator


Nov 8, 2006, 12:58 PM

Post #6 of 8 (1211 views)
Shortcut
Re: [joelev] Drop down Menu [In reply to] Can't Post

It sure is. Try adding it to your templates/singlePages/header.html file and republishing the "Header" rule. That's the header that is included on all the published pages.

Or, if you're site is setup differently you may need to add it to some other templates instead. Either way, the key thing is to make sure you're paths that link to the css and javascript files are absolute and start with "http" or "/". Like this:

http://www.yoursite.com/mymenu/myfile.css
http://www.yoursite.com/mymenu/myfile.js
/mymenu/myfile.css
/mymenu/myfile.js

not relative paths like this:

mymenu/myfile.css
myfile.js

As long as you use absolute paths the menu will be able to find it's files no matter where you publish it.

Dave Edis - Senior Developer
interactivetools.com
 


joelev
User

Nov 9, 2006, 8:50 AM

Post #7 of 8 (1198 views)
Shortcut
Re: [Dave] Drop down Menu [In reply to] Can't Post

Thanks Dave.....it works fine.

Now, how about this?

Is it possible to use a different header for different categories??


Dave
Staff / Moderator


Nov 9, 2006, 1:07 PM

Post #8 of 8 (1186 views)
Shortcut
Re: [joelev] Drop down Menu [In reply to] Can't Post

It sure is. You'd just use a templateIf tags to include different header files or show different content. Have a look at this post here:

http://www.interactivetools.com/forum/gforum.cgi?post=50599

Dave Edis - Senior Developer
interactivetools.com