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, ...Image roll over menuImage roll over menu
Previous
 
Next
New Post
2/5/2009 11:19 AM
 

why should i not use it? like i say, i am new to this so i would have no idea how to write my own

Also, my second question wasnt answered. If i was to put the text on the button image how can i stop dnn displaying the link in the nav bar?

 
New Post
2/5/2009 11:44 AM
 

If you have no idea how to write your own CSS, don't use my solution (The default HM CSS is quite bad).

The solution in the post is for experienced HTML developers (I thought you only had no DNN experience), you'll have to look for another solution, sorry.

AFAIK there are no menus that do what you want out of the box.

The answer to your second question is in the post I mentioned, but I guess that doesn't matter anymore...

Sorry I cannot help you.

 
New Post
2/7/2009 6:19 AM
 

I am fairly new to dotnukenet as well, but I would like to share what I know about creating a roll over menu using images as I did it in dotnukenet.

 If you know how to use photoshop, you will need it to make transparent menu images and upload them to dotnukenet and use CSS (custom style sheet) to spice up your transparent menu images with a darker or lighter background. If you can't use photoshop, you may use any photo editor that you are comfortable editing images with. You need to create two versions of your menu images.

 When you say "image roll over" menu, it could contain two background versions of your images in which half of the image will show at any one time once your mouse rolls over the image and the image changes color. You have to make sure that the image you're going to use for roll over is twice the height of the image that you will need to use in your site. If your image (foreground) size is about 120 pixels x 60 pixels, the background image should be twice the height of the foreground image: 120 pixels x 120 pixels.

 Upload a transparent image menu (.gif), with the same size as your foreground image (120px x 60px). Upload this in your dotnetnuke site settings in the admin menu. Then you need to point your image menu within the CSS which is known as targeting. You can apply a CSS class within the skin or add this as a CSS class to the XML file. By doing this, when you are in an HTML code, you need to create a table cell containing the name of your image menu as a "banner". To target the banner image, you would tell the CSS to look within the "banner" table cell for an anchor link containing an image.

 

td# banner a img

 

Then you have to upload the background image of the image menu. You use the DNN file manager or any file transfer protocol that you use to upload the background image. DNN file manager will be your root folder for the images that you have uploaded.

 You may need to create additional CSS for your DNN site through style sheet editor in the site settings area of the admin. Inside the CSS you will need to fix the position of two states to link two images menu, one for the general appearance and another for the roll over appearance.

This is the HTML of the general appearance of your foreground image:

 

td#banner a img{

background:url(portals/0/background1.gif) scroll no-repeat top;

width:225px;

height:78px;

}

 

And this is the HTML of the roll over appearance of your background image:

 

td#banner2 a:hover img{

background:url(/portals/0/background2.gif) scroll no-repeat bottom;

width:225px;

height:78px;

}

 

Please check the changes in the position of the background2 so it is now positioned at the bottom, while the foreground image is at the top. When you roll over your mouse on the image, the image will change from foreground to background.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Image roll over menuImage roll over menu


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