Download DOWNLOAD
Forums FORUMS
Blogs BLOGS
Forge FORGE
Help HELP
Marketplace MARKETPLACE
DotNetNuke Home
You are here >   Community > Forums
Register  |  Login

DotNetNuke Forums

DotNetNuke ForumDotNetNuke ForumUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...Using Java Script drop down menu help?Using Java Script drop down menu help?
Previous
 
Next
New Post
4/21/2006 1:58 AM
 

Hello DNN experts,

I really need help. I'm trying to put javascript drop down menu on mysite.But I can't get it work. Can anyone help me? any help would greatly apriciated.

thanks.

New Post
4/21/2006 2:07 AM
 

Can I ask why? Is this for custom links to other pages on your site? If you want to put in custom dropdown javascript menu - you need to put in the skin file and hard code the links.

Nina Meiers


Nina Meiers - XD Design - Professional, Ethical and passionate about DotNetNuke
Over 100 FREE DotNetNuke 4 & 5 Skins.
Including new XHTML & CSS Compliant skins for FACEBOOK fans.


XD Design - xd.com.au by Nina Meiers
New Post
4/21/2006 8:38 PM
 

Hi Nina,

I'm actually trying to have drop down menu on mysite.I don't know go to create drop-down menu besides javascript drop-down menus. Like we have here in the dotnetnuke website. I would really appriciate if you can let me know any resources or show me the code of how I can place the menu on mysite? Promise I'll return the favor.

thanks.

New Post
4/21/2006 8:44 PM
 

Nina,

Here is the skin code I have, can you tell me what I'm doing wrong. Thank you.

<%@ Control language="vb" CodeBehind="~/admin/Skins/skin.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Skins.Skin" %>
<%@ Register TagPrefix="dnn" TagName="LOGO" Src="~/Admin/Skins/Logo.ascx" %>
<%@ Register TagPrefix="dnn" TagName="BANNER" Src="~/Admin/Skins/Banner.ascx" %>
<%@ Register TagPrefix="dnn" TagName="SOLPARTMENU" Src="~/Admin/Skins/SolPartMenu.ascx" %>
<%@ Register TagPrefix="dnn" TagName="SEARCH" Src="~/Admin/Skins/Search.ascx" %>
<%@ Register TagPrefix="dnn" TagName="CURRENTDATE" Src="~/Admin/Skins/CurrentDate.ascx" %>
<%@ Register TagPrefix="dnn" TagName="BREADCRUMB" Src="~/Admin/Skins/BreadCrumb.ascx" %>
<%@ Register TagPrefix="dnn" TagName="USER" Src="~/Admin/Skins/User.ascx" %>
<%@ Register TagPrefix="dnn" TagName="LOGIN" Src="~/Admin/Skins/Login.ascx" %>
<%@ Register TagPrefix="dnn" TagName="COPYRIGHT" Src="~/Admin/Skins/Copyright.ascx" %>
<%@ Register TagPrefix="dnn" TagName="TERMS" Src="~/Admin/Skins/Terms.ascx" %>
<%@ Register TagPrefix="dnn" TagName="PRIVACY" Src="~/Admin/Skins/Privacy.ascx" %>
<%@ Register TagPrefix="dnn" TagName="DOTNETNUKE" Src="~/Admin/Skins/DotNetNuke.ascx" %>

<LINK REL="STYLESHEET" TITLE="main" TYPE="text/css" HREF="maincss.css">
<table align="center" width="770" cellpadding="0" cellspacing="0" border="0">
<tr>
 <td width="564"><img src="<%= SkinPath %>test_03.gif"></td>
 <td width="206" background="<%= SkinPath %>test_04.gif" style="padding-left:10; ">
 <dnn:LOGIN runat="server" id="dnnLOGIN" />
 </td>
</tr>
<tr>
 <td colspan="2"  width="770" >
  <table width="750" cellpadding="0" cellspacing="0" align="center">
  <tr>
   <td height="25" background="<%= SkinPath %>linkback.jpg" style="padding-left:10;">
    <!-- ***** This is the menu section  ***** -->
    <script type="text/javascript" src="src.js"></script> 
    <script type="text/javascript">
    if(ns4)_d.write("<scr"+"ipt type=text/javascript src=mmenuns4.js><\/scr"+"ipt>");  
      else _d.write("<scr"+"ipt type=text/javascript src=mmenudom.js><\/scr"+"ipt>");
    </script>
    <script type="text/javascript" src="menu_data.js"></script> 
    <!-- **** JavaScript Menu HTML Code -->
   </td>
  </tr>
  
  </table>
 </td>
</tr>
<tr>
 <td width="770" height="10" colspan="2" background="<%= SkinPath %>test_07.gif"></td>
</tr>
<tr>
 <td id="ContentPane" runat="server" vwidth="770" colspan="2" background="<%= SkinPath %>test_08.gif">
  
 </td>
</tr>
<tr>
 <td width="770" height="17" colspan="2" background="<%= SkinPath %>test_10.gif"></td>
</tr>
</table>

New Post
4/21/2006 9:26 PM
 

OHHH... Do you think we need to add javascript menus to work with DotNetNuke?

Have you added any pages to your site?  It's automatic.  You build the pages, and you need to make sure you have the solpart menu skinobject in the file and it will automatically build it for you.

Try adding a couple of pages to your site under the home page and see what happens.

I'm really sorry I didn't read that into your post. How many pages do you have on your site at the moment?

Nina Meiers


Nina Meiers - XD Design - Professional, Ethical and passionate about DotNetNuke
Over 100 FREE DotNetNuke 4 & 5 Skins.
Including new XHTML & CSS Compliant skins for FACEBOOK fans.


XD Design - xd.com.au by Nina Meiers
Previous
 
Next
DotNetNuke ForumDotNetNuke ForumUsing DotNetNuk...Using DotNetNuk...Skins, Themes, ...Skins, Themes, ...Using Java Script drop down menu help?Using Java Script drop down menu help?

Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Networks

Follow DNNCorp on Twitter

LinkedIn

Follow us on Twitter @DNNCorp or join the DotNetNuke Community on LinkedIn

Sponsors

DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation

Hosted by MaximumASP