Hmmm, there appears to be a span-related bug in the js file (it doesn't like the extra element).
You can fix it by reverting back to the span-less version though. The span element is only needed to hold the extra rounded right corner image, but you can use a different technique and put both rounded corner images on the main .ubercolortabs a element instead.
Here's what to do...
1. Remove all the <span> tags from the main/parent menu, so the markup looks like this;
Code:
<li><a href="gallery.html" rel="ddsubmenu1">Gallery</a></li>
2. In the topbar.css file, replace these lines;
Code:
background: #0D3684 url(roundleft.gif) no-repeat left top; /*default background color of tabs, left corner image*/
padding: 0 0 1px 3px;
With these lines;
Code:
background: url(roundright.gif) no-repeat right top, url(roundleft.gif) no-repeat left top;
background-color: #0D3684;
padding: 7px 9px 4px 9px;
3. In the same topbar.css file, delete these lines;
Code:
.ubercolortabs a span{
float: left;
display: block;
background: transparent url(roundright.gif) no-repeat right top; /*right corner image*/
padding: 7px 9px 3px 6px;
cursor: pointer;
}
.ubercolortabs a span{
float: none;
}
...
.ubercolortabs a:hover span{
background-color: transparent;
}
This multiple background-image technique works in all modern browsers and IE9+. IE8 users will just see square cornered tabs.
While I'm here, I think that there many be another underlying problem with the menu though -- nothing to do with the above changes - just an observation I made while comparing the DD installations to the zip package download. I opened the default demo page in IE8 and IE9 modes to test, and I they appear to be broken (no red arrows or drop-downs/fly-outs). May the mobile update has lost backwards compatibility. I'll file a bug report for ddadmin to pick up.
Bookmarks