Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to Convert and Combine Cat. & Info. Boxes together?


Fuzz68

Recommended Posts

Posted

Hi everyone - been lurking for past 3 weeks and learning OSC - this is a great resource!

 

I think I got most of it down - but my client would prefer to have all the links on left side displayed as buttons rather than text links.

 

here's the site: http://www.jaybharat.com

 

Now, I understand how to accomplish this with some fancy CSS formatting for the info box - but how can one implement this for the Categories box - this box has some squirrely code in it! :o

 

My Goal is to eliminate the boxes on left side but combine the content (Categories + Information) and display as either CSS rollovers or javascript on/off buttons - probably javascript - the client seems to like the standard javascript fare.

 

Now I understand I could recreate a seaparet custom box that uses links for the categories but if they add new products in the future I don't want to have to continually hack it.

 

Is there an easy way to do this?

 

I've searched this forum for a solution but haven't found anything yet, am I missing something?

 

any help or pointers would be greatly appreciated

 

thanks in advance!

 

Michael

Posted

If you want to use buttons, just standard not roll over buttons you can just enter the code for a button in your admin area when you set up the categories.

 

for example

category name is cat, where you would normally type in Cat put

<img src="urltopic/cat.jpg">

 

That doesn't get you the roll over, but it's a start. There are several contributions for DHTML or css menus, you could probably use one of those and use image backgrounds instead of just colors... just an idea. Wish I could be more help but the only way I know how to do mouse over effects for buttons is to hard code the links.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted
If you want to use buttons, just standard not roll over buttons you can just enter the code for a button in your admin area when you set up the categories.

 

for example

category name is cat, where you would normally type in Cat put

<img src="urltopic/cat.jpg">

 

That doesn't get you the roll over, but it's a start. There are several contributions for DHTML or css menus, you could probably use one of those and use image backgrounds instead of just colors... just an idea. Wish I could be more help but the only way I know how to do mouse over effects for buttons is to hard code the links.

 

Thanks Wendy! - i tried the images but that results in a few side effects with relation to teh breadcrumbs pages and page titles. I'll keep looking - hopefully someone will have some info for me - i just hate the idea of tweaking this so far left and then, when a new version is released, having to recode it all over again.

 

M

  • 2 weeks later...
  • 1 year later...
Posted

Hey, just saw your homepage. How did you remove the corner_left.gif in the boxes for categories and manufacturers? I have tried it but found out that it is still there but corner_right.gif and arrow_right.gif are disappeared which is correct. Give me a tip please.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...