Thursday, March 11, 2010
  Search
 
Register
Login
 
Dude, Where’s my web.config file? Resolve Installation DNN Error Message: BC30451: Name 'Config' is not declared
Sometimes troubleshooting DNN errors can be a royal pain. Fortunately, if you know what you're looking for installation errors are usually pretty easy to resolve. Unfortunately, if you don't know wha...

Find this article and more in the category

Read This Article . . .

Installing Active Directory Authentication Package on DotNetNuke
DotNetNuke has abstracted the authentication providers away from the core giving site owners the ability to add new authentication systems. You can see in the picture below that by default, the DotNe...

Find this article and more in the category

Read This Article . . .

Simple Intro to the DNN UserInfo Class
 New DNN developers often wonder how to expose information about logged in users to a custom DotNetNuke module. So, I threw together a very simple example to show how easy it is to begin using the bu...

Find this article and more in the DotNetNuke category

Read This Article . . .

Upgrading to DotNetNuke Cambrian 5.0 from DotNeNuke 4.x
If you're looking to try out the new DNN Cambrian package, you can upgrade previous DotNetNuke installations with the following steps. Remember, as of right now, the DNN 5.0 Cambrian package availabl...

Find this article and more in the category

Read This Article . . .

Getting Started with Code Endeavors Ajax Compiled Module Template
DotNetNuke Ajax development just got easy thanks to Jon Henning and his Ajax Compiled Module templates. He’s got them listed on CodePlex, they’re updated for DNN 5, and they are available in C# and V...

Find this article and more in the category

Read This Article . . .

Quick Check for Troubleshooting the CodeEndeavor Ajax Templates
I haven’t just installed the the template and created a module out of the box yet. However, I have come across a few things that I know to check and fix and I’m up and running in no time at all. If y...

Find this article and more in the category

Read This Article . . .

SERIES: Anatomy of a DNN Web.Config File-connectionStrings
The section holds all the necessary information for database communication from your website. At minimum, there will be at least one connection string for any DotNetNuke website...

Find this article and more in the category

Read This Article . . .

How to Install and Configure ActiveDirectory Provider for DotNetNuke 5.0
 The directions for installing and configuring extensions in DotNetNuke 5.0 are very similiar, but slightly different than from previous versions. Here's how to install the ActiveDirectory authentica...

Find this article and more in the category

Read This Article . . .

How to Use the DNNLabelEdit Control
 It's easy to use the DNNLabelEdit control, you know the one you mouse over and edit in place? Yeah, that one. In just a few minutes, you can begin using the control on your sites as well for full on...

Find this article and more in the Module Development category

Read This Article . . .

New "Styles" SkinObject Found in DotNetNuke 4.9
One more addition has been added to the developer's DotNetNuke skinning toolbox with the release of DotNetNuke 4.9. Introducing...the Styles SkinObject. This little object is a very welcome addition ...

Find this article and more in the DotNetNuke category

Read This Article . . .

Recently Added Articles

Minimize
Article List

 

Fixing IE's Hover Problems in DNN

2/27/2009 1:28:33 PM - By Briana Tarrance

Category: | | Comments 0

 

 

Related Links

Fixing :hover Styling

So you have designed a great skin, skin object or module for DNN and it uses the :hover attribute and looks fantastic in Firefox. Now, you find out that nothing works in IE because IE doesn't support the :hover attribute on the elements you've used.

You can fix the issue pretty quickly with the help of a small .htc file available for free download. But, to get it to work in DNN you just have to make sure you place it in the proper place.

Download the following files:

Hover Fix:  Whatever:hover

Place the downloaded file in the ROOT directory of your DNN setup.

Then add the following to the DEFAULT.CSS file.

/* background color for the content part of the pages */
Body
{
    behavior: url(http://localhost/dnn5/csshover3.htc);
    background-color: white;
    margin: 0px;
}

* where http://localhost/dnn5 is the full path to the root of your DotNetNuke installation

The reason for this is that the location of the .htc file is relative to the .html file...not the skin or the CSS stylesheet. Due to the dynamic nature of DNN and all the pages being generated off of the Default.aspx page, the file must be placed in the root of your website and linked from there.

The reason you  have to use the full path is because the Default.css file is located in the Portals/_default folder. I tried using other methods to traverse the path without requiring the full path to be hard coded, but I wasn't able to get it to work that way. If anyone else finds a way to make this happen without requiring hard coding, I'd love to hear it.

I also tried using this from the Portal.css as well as the skin.css, again, with no luck. All other solutions are appreciated.

 

image image IE Hover Fixed in IE6 and DNN
FireFox Displaying Properly IE7 Displaying Properly IE6 Displaying Properly
powered by metaPost

 

 

 


 
 
Copyright 2008 by Virtual-Essentials.com Privacy Statement    Terms Of Use