Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...dnn:treeviewdnn:treeview
Previous
 
Next
New Post
1/17/2008 11:39 AM
 

We are using the dnn:treeview contol to display our Site Navigation.

Currently when you cursor over the links the cursor changes to a hand with the index finger.
We would like to have the cursor change to a custom cursor that goes along with the rest of the web site.

We have tried adding the cursor definition (an image) to the css class that is set in the dnn:treeview property NodeOverCssClass, the css class is below.

This doesn't seem to have any effect, has anybody successfully styled the hyperlink ?

Also, from looking at the rendered page, I would have thought that the links would have gotten
rendered as <a> but that does not appear to be the case, can anybody confirm that ?
It looks to me like the dnn:treeview control when it is rendered is a giant <input> control

 

css class
.NavMenuItems_Over
 {
 font-size: 11px;
 font-weight: bold;
 text-decoration: underline;
 font-family: Arial, Helvetica, sans-serif; 
 cursor:url(/Portals/_default/Skins/images/cursor.ico);
}

 
New Post
1/18/2008 1:29 PM
 

AFAIK the file format for cursors is .cur (not .ico). Also, the node cursor style is hard coded in it's style attribute, so you have to override that style with an additional "!important" in your class definition: "cursor: url(...) !important;"

I tried that with one of the system cursors from C:\Windows\Cursors\, and it worked - but only in IE 7, not in Firefox. Perhaps FF requires a different cursor file format, but I'm not sure about that.

[EDIT:]Corrected some typing errors.

 
New Post
1/18/2008 4:04 PM
 

From the W3C (http://www.w3schools.com/css/pr_class_cursor.asp)

p
{
cursor : url("first.cur"), url("second.cur"), pointer
}

 


Wells Doty Jr
Online Content Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...dnn:treeviewdnn:treeview


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out