Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Drop down/flyout categories... where do I start?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #21  
Old 12-05-2003, 08:55 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

sorry forgot the css:

Code:
.menuskin{ position:absolute; width:165px; background-color:#EEEEEE; border:1px solid #003366; line-height:18px; z-index:100; visibility:hidden; font-size: 11px; left: 150px; } .menuskin a{ text-decoration:none; color:black; padding-left:10px; padding-right:10px; } #mouseoverstyle{ background-color:#003366; } #mouseoverstyle a{ color:#FFCC00; text-decoration: none; }
__________________
ex x-cart guru
Reply With Quote
  #22  
Old 12-05-2003, 10:24 PM
 
Cameron Cameron is offline
 

eXpert
  
Join Date: Jan 2003
Location: Washington State, USA
Posts: 224
 

Default

Thanks for sharing this with us all Duncan!!

One question: Do I only have to tweak the .css file to make the menu drop down from horozontially listed categories across the top of my screen?

Much appreciated.

Cameron
__________________
Current project: 4.4.2
Reply With Quote
  #23  
Old 12-06-2003, 03:06 PM
  BoomBoomBap's Avatar 
BoomBoomBap BoomBoomBap is offline
 

Senior Member
  
Join Date: Nov 2002
Location: San Francisco
Posts: 184
 

Default

This is awesome!

Can you tell me how "If ticked, the categories list always shows root categories" affects this mod?

I notice the categories menu always shows the root category with this mod regardless of how many levels deep I am but if I uncheck the above (in admin/general settings/general options) the menus no longer fly out.
__________________
Site 1 > XCART LIVE 3.4.12

Site 2 > XCART LIVE 4.0.17
Reply With Quote
  #24  
Old 12-10-2003, 10:18 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

absolutely

If show root is ticked then the fly out works if not it will show the normal subcategories.
__________________
ex x-cart guru
Reply With Quote
  #25  
Old 12-10-2003, 10:34 AM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Default

Hi Funkydunk,

Any easy way to make category cell to change color on mouseover same way as subcategory does? I think most people would like to see this.
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
Reply With Quote
  #26  
Old 12-10-2003, 01:21 PM
 
laureon laureon is offline
 

Senior Member
  
Join Date: Oct 2003
Posts: 171
 

Default

I have implemented a 'highlight' cell colour on mouse over.

Use the following in your 'skin1.css' file:

.CategoriesList {
FONT-SIZE: 12px;
text-decoration:none;
}
.CategoriesList a:hover{
width:100%;
text-decoration:none;
background-color: #ffffff;}

Hope this helps you out .
Reply With Quote
  #27  
Old 12-10-2003, 01:34 PM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Default

Quote:
Originally Posted by laureon
I have implemented a 'highlight' cell colour on mouse over.

Use the following in your 'skin1.css' file:

This's way too easy
I added a half page javascript to do almost the same.

Thanks, will play with this settings.
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
Reply With Quote
  #28  
Old 12-10-2003, 02:39 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

css is lurverly....
__________________
ex x-cart guru
Reply With Quote
  #29  
Old 12-10-2003, 05:07 PM
  finestshops's Avatar 
finestshops finestshops is offline
 

eXpert
  
Join Date: Oct 2002
Location: Toronto, Canada
Posts: 335
 

Default

Hi guys,

For some reason on one of computers this dropdown menu is going up instead of down. same IE 6. Any ideas how to fix it? Our javascript guy is puzzled as well.

Thanks,
__________________
Best regards,

Anton Pachkine
finestshops.com/x-cart
Reply With Quote
  #30  
Old 12-10-2003, 06:00 PM
 
censat censat is offline
 

Advanced Member
  
Join Date: Dec 2002
Location: Morton,MS
Posts: 64
 

Default

In you skin.css lower the value on the line that says "line-height:18px;"

to a lower number like 14 or 15 you may have to try to see what work's best by changing it a couple of times



.menuskin{
position:absolute;
width:165px;
background-color:#EEEEEE;
border:1px solid #003366;
line-height:18px; (HERE)
z-index:100;
visibility:hidden;
font-size: 11px;
left: 150px;
__________________
3.4.2 LIVE.....Modified a little....
Even Paranoids Can Have Real Enemies
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:03 PM.

   

 
X-Cart forums © 2001-2020