no asp.net sample for Dynamic Drive Menu download
hi folks
i'm having a miserable time trying to get the Dynamic Drive Menu download to run in an ASP.NET world.
i have tried:
1. onload method of the body tag
2. <script
3. performing the cssdropdown.startchrome in the Page_Load (codebehind)
here are some .aspx snippets (menu bar renders but nothing else):
<body runat="server" id="MyMaster" onload="cssdropdown.startchrome('chromemenu')">
<div id="wrapper">
<script type="text/javascript">
cssdropdown.startchrome("chromemenu")
</script>
<form id="Form1" runat="server">
here is the code behind snippet:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
'Dim body As HtmlGenericControl = Page.Master.FindControl("MyMaster")
'body.Attributes.Add("onload", "cssdropdown.startchrome('chromemenu')")
:
my biggest problem is the LACK OF ANY ERRORs (either in the Firebug debugger -or- VS 2005 vb.net debugger)
i guess a bigger overall question is: I've done a Google search and have only found less than a dozen sites using this code. All of them looked like hell... (menus overlaying each other, javascript blowups, etc.)
Is this code ready for prime-time commercial development, or is this something I should be giving to me kids for .html development only.
thank and respectfully
rob