Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: wrapper / css / table odditiy/trouble :-)
boberang
Junior Member

Posts: 4
Registered: 1/30/2004
Member Is Offline
posted on 4/19/2005 at 05:44 PM Reply With Quote
wrapper / css / table odditiy/trouble :-)


Trying to use tables in the drop down/level 1 to have two cells, one cell for caption, one for image (partly to position).

The following works in my items.js:
['<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td width="10"><img src="../images/spacer.gif" width="10" border="0"></td><td class="m1inner">Member Handbook</td></tr></table>', 'http://www.domain.org'],

The following is displayed correctly, but on mouseover it changes to all white rectangle instead of just a white background:
[wrapn('Member Handbook'), 'http://www.domain.org'],

where:

function wrapn (caption) {
return ['<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td width="10"><img src="../images/spacer.gif" width="10" border="0"></td><td class="m1inner">' + caption + '</td></tr></table>']
}

and

.m1movero {
background: #FFFFFF;
}
.m1inner {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
padding: 0px;
text-align: left;
text-indent: 5px;
}

Why does the mouseover turn the BACKGROUND white when I have the table code in place but when I use the wrapper code (as many menu items, want to save space) it just shows a white rectangle with no text on mouseover (prior to mouseover it shows up fine)
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page Product Page
Functionality demos Functionality demos
Multiple
Cross-framed
Select-boxes
Effects
Design demos Design demos
Icons & arrows
Idea!
Hi there!
Matrix
MS Style
XP Style
Dots
3D-Buttons
Product Documentation Documentation
Documenation Page
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004