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, ...Background image on first linkBackground image on first link
Previous
 
Next
New Post
9/23/2007 4:26 PM
 

I was wondering if anyone out there may be able to help me. I'm trying to tweak a skin that I purchased and the last few items are driving me nuts at the moment. You can see the skin (and development site) here: http://www.psybt-trial.co.uk

Now the problem I'm having is in relation to the first link of the Solpartmenu (Home). When the link is selected it should have a black background and when not it should be blue. The problem is that I have a background image that is used to add a curved element to the end of the menu but I cannot figure out how to show the black background if the first link (or sub links) are selected. I know the problem is due to the way the skin has been put together (the curved element is actually a table column background and the Solpartmenu sits within it) but I'm at a loss as to how to rectify this.

Can anyone point me in the right direction as to what file I should be looking at for the Solpartmenu and indeed if there's an easy way to add the background image to the first link only of the Solpartmenu itself?

 
New Post
10/3/2007 1:46 PM
 

I checked the site - it was rather slow, then it crashed on my when I changed tab from home.

The skin looks familliar, Is it a packaged skin that you changed?

As far as I know what you wnat to do is not possible in Solpartmenu. You can have leftand rightimage to change on selected tab. There are lots of examples done by third party skinners as packaged skins and also on solpart.com there is a free version that you could look at. However, your left curved bit is part of background and you can not add selected tab class to it. Basically it is outside the menu control.

Salar

 

 

 
New Post
10/4/2007 4:15 AM
 

Thanx Salaro, you appear to have caught our server on a bad day (needed IIS restarted) but that's all fixed now.

The skin is Equinox from Brian Connor over at Nukeville and we've been tweaking it in the background to get it to work better with AJAX modals, etc as the standard skin doesn't display properly when used with this type of content.

I'm aware that the background image sits outside the boundaries of the actual solpartmenu so I've simply added a bit of VB to my standard.ascx page:

Dim sShow

if lcase(PortalSettings.ActiveTab.BreadCrumbs(0).TabName) = "home" then
sShow = "MenuTDBlack"
else
sShow = "MenuTD"
end if

and then added the sShow variable to the td class to allow it to show the relevant background. It's not the neatest coding I've ever done but the hack appears to hold up well. I'll be going thru the core to try and obtain XHTML compliance over the coming weeks but I've a long way to go.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Background image on first linkBackground image on first link


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