Menu Problem in IE
Last Post 03/29/2011 10:37 AM by Joseph Craig. 9 Replies.
Author Messages
kevinpj
Nuke Ace
Nuke Ace
Posts:54


--
03/22/2011 2:47 AM  
Dear All,
I have developed a web site in dotnetnuke. I am using DDRMenu. But its working fine in chrome and firefox but not in IE.

this is the link to my site http://demo.cibaccess.com

step1: login in "Employee Benefits Information System" using these credentials (username - demouser1, pswd - demo).
step2 : now you can see the menus.

problem is, menu selection is happening only above the menu text, for example in menu 'LOGOUT' the selection is happening only above the "LOGOUT' text..

menu which is having sub menu has no problem, the problem is with main menu...
i hope you understood the problem...please check the site and give me a solution....
Joseph Craig
DNN MVP
Posts:11667


--
03/22/2011 5:57 PM  
Is there any chance that you could attach an ascx file for your skin page? Something odd definitely is happening. It's a bit difficult to see what is happening, so I would like to see the source.

Did you make any changes to the "normal" parameters?

Joe Craig, Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667


--
03/22/2011 5:59 PM  
And, having written that, it looks like the skin.css file gets loaded 3 times! That might be a problem. So, let me look at the ascx file.

Joe Craig, Patapsco Research Group
Complete DNN Support
kevinpj
Nuke Ace
Nuke Ace
Posts:54


--
03/23/2011 12:36 AM  
Dear Craig,

I have attached skin.ascx and skin.css files.

what you mean by 'normal' parameter, I didn't get you.

Joseph Craig
DNN MVP
Posts:11667


--
03/23/2011 6:16 PM  
You don't need the reference to skin.css in your ascx file. DotNetNuke already knows about that one. That's probably why it is loaded multiple times.

Do something like this: < script src="< %=SkinPath% >/js/cufon-yui.js" type="text/javascript" >< /script>

(taking out the added blank spaces)

This will make the skin files independent of the installation folder.

There's nothing particularly strange in either the ascx or the skin file. Perhaps there's something in the padding that makes the links off center relative to the tds in which they are placed.

I assume that your page_load and the other script to what you need. I don't think that they interfere with the menu.

Joe Craig, Patapsco Research Group
Complete DNN Support
kevinpj
Nuke Ace
Nuke Ace
Posts:54


--
03/24/2011 1:11 AM  
Dear Craig,

I removed skin.css from the skin.ascx.
but still no changes..
I did not get "< script src="< %=SkinPath% >/js/cufon-yui.js" type="text/javascript" >< /script> "

I did like this, what i have to give in SkinPath?
<script src="< %=SkinPath% >/portals/_default/skins/ebitslandingskin/popUp.js" type="text/javascript"></script> <br /> <br />
Joseph Craig
DNN MVP
Posts:11667


--
03/24/2011 7:08 AM  
You want this to read:

<script src="< %=SkinPath% >popUp.js" type="text/javascript"></script> <br /> <br /> That is assuming that popUp.js is in the root skin directory. The SkinPath variable gets you everything else. You can view page source to verify that the dynamically created path to the file is correct.

Joe Craig, Patapsco Research Group
Complete DNN Support
kevinpj
Nuke Ace
Nuke Ace
Posts:54


--
03/27/2011 2:56 AM  
Dear Craig,

I changed as you said, but still menu is in same condition....

Joseph Craig
DNN MVP
Posts:11667


--
03/29/2011 10:34 AM  
In this line from your file:

<script src="< %=SkinPath% >popUp.js" type="text/javascript"></script> 


you didn't removed the extra spaces. It should read like this:

<script src="<%=SkinPath%>popUp.js" type="text/javascript"></script> 


If you look at the page source, you'll see that the SkinPath tag hasn't been replaced with the actual skin path.

Joe Craig, Patapsco Research Group
Complete DNN Support
Joseph Craig
DNN MVP
Posts:11667


--
03/29/2011 10:37 AM  
It also appears that you have a reference to Skin.css (with a capital S) that causes this file for be loaded a second time.

Joe Craig, Patapsco Research Group
Complete DNN Support


---