My nice AJAX naviation control!! Options
iMundy
Posted: Tuesday, October 14, 2008 6:01:33 PM

Rank: Enthusiast

Joined: 10/14/2008
Posts: 27
Location: Canada
I made this ajax sliding navigation bar that expands and reveals a sub navigation. Is there anyway i can keep it in my template?

thanks!

PS. I really like umbraco!
Dirk
Posted: Tuesday, October 14, 2008 6:15:05 PM

Rank: Umbracoholic

Joined: 9/27/2007
Posts: 1,123
Location: Belgium
Hi,

Looks like a rather strange question to me. Can you elaborate on 'Is there anyway i can keep it in my template?'. Also, let us know about your environment (versions)!

Looking forward to more info.

Regards,
/Dirk


level 1 & 2 certified - umbraco MVP 2008/2009 - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
iMundy
Posted: Tuesday, October 14, 2008 11:20:12 PM

Rank: Enthusiast

Joined: 10/14/2008
Posts: 27
Location: Canada
Dirk wrote:
Hi,

Looks like a rather strange question to me. Can you elaborate on 'Is there anyway i can keep it in my template?'. Also, let us know about your environment (versions)!

Looking forward to more info.

Regards,
/Dirk


Thanks for your reply,

I'm running Umbraco 3.03 on Windows Server 2003 (R2) (thanks to Microsoft Dreamspark)
my template was initially just a master page file before i went to Umbraco.

i basically took the expandable panel ajax control, put the visible part as a silver gradient background that when clicked on, would expand the menu - to numerous subheadings. Unfortunately, this is all on my local network, otherwise i'd show you.

Thanks

Here's the code:
Quote:
<cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender1" runat="server" TargetControlID="ContentPanel" ExpandControlID="TitlePanel" CollapseControlID="TitlePanel" Collapsed="true" ImageControlID="Image1" CollapsedImage="images/arrow_down.gif" ExpandedImage="images/arrow_up.gif" SuppressPostBack="true">
</cc1:CollapsiblePanelExtender>
<asp:ScriptManager ID="ScriptManager1" runat="server" />
<asp:Panel ID="TitlePanel" runat="server" CssClass="collapsePanelHeader1">
&nbsp;&nbsp;<strong>Practice Tests</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Image ID="Image1" runat="server" ImageUrl="images/arrow_down.gif" />&nbsp;


</asp:Panel>

<asp:Panel ID="ContentPanel" runat="server" CssClass="collapsePanel">
<p><a href="../Subjects/">Anatomy & Physiology</a><br />
<a href="../Subjects/">Microbiology</a><br />
<a href="../Subjects/">Health Care Ethics</a></p>
</asp:Panel>

<cc1:CollapsiblePanelExtender ID="CollapsiblePanelExtender2" runat="server" TargetControlID="ResourcesContentPanel" ExpandControlID="ResourcesTitlePanel" CollapseControlID="ResourcesTitlePanel" Collapsed="true" ImageControlID="Image2" CollapsedImage="images/arrow_down.gif" ExpandedImage="images/arrow_up.gif" SuppressPostBack="true">
</cc1:CollapsiblePanelExtender>

<asp:Panel ID="ResourcesTitlePanel" runat="server" CssClass="collapsePanelHeader2">
&nbsp;&nbsp;<strong>Diagrams/Visuals</strong>&nbsp;&nbsp; <asp:Image ID="Image2" runat="server" ImageUrl="images/arrow_down.gif" />&nbsp;


</asp:Panel>

<asp:Panel ID="ResourcesContentPanel" runat="server" CssClass="collapsePanel">
<p><a href="../Resources">Animations</a><br />
<a href="../Resources">Diagrams</a><br />
<a href="../Resources">Flash Cards</a></p>

</asp:Panel>
<asp:Panel ID="LinksPanel" runat="server" CssClass="LinksPanel">
&nbsp;&nbsp;<strong><a href="../Schools.aspx" class="headertext">Canadian Nursing Schools</a></strong>
</asp:Panel>
<asp:Panel ID="ContactPanel" runat="server" CssClass="ContactPanel">
&nbsp;&nbsp;<strong><a href="../About.aspx" class="headertext">About</a></strong>
</asp:Panel>


Thanks very much, i hope this is what you're asking for lol!

-I.M
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.