 |
|
 |
Z-index doesnt work for listboxes
|
|
|
|
 |
|
 |
This is a very common issue with menus.
Please try using the following code to hide all <select> elements on the screen when the menu is shown.
onmouseover -
function selects(visibilityMode){
if(document.forms.length>0) {
if(document.forms[0].elements.length > 0){
for(var i=0; i < document.forms[0].elements.length; i++) {
if(document.forms[0].elements[i].type=='select-one' || document.forms[0].elements[i].type=='select-multiple') {
document.forms[0].elements[i].style.visibility = visibilityMode;
}
}
}
}
}
Paras Shah
|
|
|
|
 |
|
 |
I am facing the same problem as raised here..can you plz explain me on how to go ahead with this....
i am using the above fuction in the js file and calling it in onmouseover fucntion as
selects(false);
still its not coming...:suss
Thanks In Advance
Spped_Up
|
|
|
|
 |
|
 |
I have change the targetting of the link by replacing the following line
document.write (
'+ (this.a_config[2] && this.a_config[2]['tw'] ? ' target="'
....
)
by
document.write (
+ this.n_id +'o" class="' + this.getstyle(0, 0) + '" href="' + this.a_config[1] + '"' + (this.a_config[2] && this.a_config[2]['tw'] ? ' target="' + 'main' + '"' : '') + ' style="position: absolute; top: '
...
)
in Menu.js file
Question
1] But it doesn't targetting to the "main", I did add a Iframe to the page. Is there any error?
2]I found that this menu doesn't crossover the frame page. The menu was embedded, so how can make the menu overlapping the frame page?
Calvin
****
|
|
|
|
 |
|
 |
its a useless control damit
|
|
|
|
 |
|
 |
Its useful, u just dont know how to use it
|
|
|
|
 |
|
 |
Dear Krishna its does not working and i am going to be mad with your code. please help me
|
|
|
|
 |
|
 |
hi
i am unable to see menu items
|
|
|
|
 |
|
 |
how can we make it a vertical menu?
|
|
|
|
 |
|
 |
what changes shall i do in order to make such menu work in a right to left direction? thanks for any help...
|
|
|
|
 |
|
 |
Dear ,
Include the menu control on a table with dir=rtl...
its work fine like this ....
<cc1:WebMenu id="WebMenu2" MenuXMLPath="menudata2.xml" runat="server"
ImageArrow="<img src=bullet.gif border=0>">
|
Moustafa M.Arafa
Solution Developer,DotNet Trainer.
MCT,MCSD.Net,MCAD.Net,MCP
|
|
|
|
 |
|
 |
I've tried to make the menu work using a data table in my database. All seems to be working well but the menue doesn't show on the web page. The error states 'menu' is undefined, Line 40, char 34.
???
|
|
|
|
 |
|
 |
i had the same problem. you only have to add the elow references on your head tag in your html code.
<LINK href="css/menu.css" type="text/css" rel="stylesheet">
<script language="JavaScript" src="menu.js"></script>
<script language="JavaScript" src="menu_tpl.js"></script>
Hope it works for you too!
|
|
|
|
 |
|
 |
How do i figure out what i enter for my menuxmlpath? I keep getting path not found error.
Thx
Martijn
|
|
|
|
 |
|
 |
Why does my menu always have blue text with white background. I changed the style sheet to do yellow for everything just to test and the changes never seem to take place. I have included the <link href="css/menu.css" type="text/css" rel="stylesheet"> in my <HEAD> tag. Please help.
|
|
|
|
 |
|
 |
I did exactly how it says in instructions, however my page is blank.
Here is my source:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="Menu.WebForm1"%>
<%@ Register TagPrefix="cc1" Namespace="SuperControls" Assembly="SuperControls.WebMenu" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<cc1:WebMenu id="WebMenu1" style="Z-INDEX: 101; LEFT: 104px; POSITION: absolute; TOP: 80px" runat="server"
MenuXMLPath="C:\Inetpub\wwwroot\Menu\menudata.xml">
</form>
</body>
</HTML>
|
|
|
|
 |
|
 |
Add the following javascript links:
<!--Need to include this file for menu style-->
<LINK href="css/menu.css" type="text/css" rel="stylesheet">
<!-- files with geometry and styles structures -->
<script language="JavaScript" src="menu.js"></script>
<!-- files with geometry and styles structures -->
<script language="JavaScript" src="menu_tpl.js"></script>
(inside the head tags)
eli
|
|
|
|
 |
|
 |
Thank you, works now
I have IE 6 and it looks really strange. Does the appearance of the menu depend on the browser type/version?
|
|
|
|
 |
|
 |
Hi, I try to do the menu dinamic qith SQL Server but I´ve a problem in the implementacion]
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter(cd);
da.Fill(ds,"menu");
WebMenu1.DataSource = ds.Tables["menu"]; // or WebMenu1.DataSource = ds;
If I do a datagred I can see all values from the table but in the webmenu I´ve this problem/:
WebMenu1.DataSource = ds;
Não é possível realizar a operação '=' em System.Int32 e System.String.
the other problem if I use WebMenu1.DataSource = ds.Tables["menu"];
WebForm1.aspx.cs(46): Cannot implicitly convert type 'System.Data.DataTable' to 'System.Data.DataSet'
Line 46: WebMenu1.DataSource = ds.Tables["menu"];
Somebody can help me?
Thanks
José
|
|
|
|
 |
|
 |
Make sure that you are selecting the columns in the following order::
SELECT root, name, id menuid, url FROM Accounts_MenuItems
If you do this, it should work..
|
|
|
|
 |
|
 |
Hi, I try to do the menu dinamic qith SQL Server but I´ve a problem in the implementacion]
DataSet ds = new DataSet();
SqlDataAdapter da = new SqlDataAdapter(cd);
da.Fill(ds,"menu");
WebMenu1.DataSource = ds.Tables["menu"]; // or WebMenu1.DataSource = ds;
If I do a datagred I can see all values from the table but in the webmenu I´ve this problem/:
WebMenu1.DataSource = ds;
Não é possível realizar a operação '=' em System.Int32 e System.String.
the other problem if I use WebMenu1.DataSource = ds.Tables["menu"];
WebForm1.aspx.cs(46): Cannot implicitly convert type 'System.Data.DataTable' to 'System.Data.DataSet'
Line 46: WebMenu1.DataSource = ds.Tables["menu"];
Somebody can help me?
Thanks
José
|
|
|
|
 |
|
 |
How can use sql server as back end,is it works for sqlserver?
Durga
|
|
|
|
 |
|
 |
I have created a dataset and bound that as well to the control.But unable to see any menu items on it.
could you tell me whats wrong.
All in the code I'm using
me.webcontrol1.datasource=a
me.webcontrol1.databind()
Thanks n Regards
g
|
|
|
|
 |
|
 |
Even I am Facing the same problem.. unable to see the menu items..can anybody help..
I am using c# with ASP.NET
|
|
|
|
 |
|
 |
how can i change the code, so then i click on root element (not only child element) it acts at a link too. I mean that if i click "Search Sites" it also redirect me to the "www.google.com" for example
|
|
|
|
 |