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

amazon-style tabbed menu for 4.0.x

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #41  
Old 03-02-2005, 07:11 AM
 
mfcopier mfcopier is offline
 

Senior Member
  
Join Date: Nov 2002
Posts: 172
 

Default New to this

Ok this looks good but i am new to this adding files etc so far l have copied the css code but when you say create a new file do i do that by ftp or in the admin at x-cart and where do l put the file???

Step by step if possible

Garry
__________________
www.inkjetcartridgesuk.com

X-Cart version 4.0.11
PHP 4.3.10
MySQL server 3.23.58
MySQL client 3.23.49
Web server Apache/1.3.27 (Unix) PHP/4.3.10
Reply With Quote
  #42  
Old 03-03-2005, 01:12 AM
  swordmart's Avatar 
swordmart swordmart is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 35
 

Default Nice mod

Ive just tried this mod, and thx by the way.

I seem to get funny edge's to on my tabs? has any one found a cure?
Also Im new to all this and i was wondering if i want to change the siz of my tabs, can i just replace the pic with my own design and find the code and change size? where would i look?
Thanks in advance

The funny edge is the left corner is always square.

http://swordmart.co.uk/xcart/
test shop

EDIT: fixed!
__________________
X-cart 4 gold
PHP version 4.3.10
MySQL version 4.0.23-standard
Apache version 1.3.33 (Unix)
Reply With Quote
  #43  
Old 03-07-2005, 08:06 AM
  swordmart's Avatar 
swordmart swordmart is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 35
 

Default Quick question? or not?

hi thanks for sharing this great mod!

I was wondering if it was possable to have 2 lines of tabbed menus? as i have lots of Categories.

Would this take a lot of modding?

Cheers Jamie
__________________
X-cart 4 gold
PHP version 4.3.10
MySQL version 4.0.23-standard
Apache version 1.3.33 (Unix)
Reply With Quote
  #44  
Old 03-12-2005, 08:42 PM
 
mrbiggles mrbiggles is offline
 

Senior Member
  
Join Date: Jan 2005
Location: Adelaide , South Australia
Posts: 107
 

Default

Hello

Thankyou for this very nice mod.
I think I have found a way to make the lag in the tab edges go away, I think some people are also having problems with it, I did the following and it works for me.

Please realise I do not have any knowledge of Java and I could well be missing something that is fundamentally wrong.
When it comes to code of any description I am like a parrot, I can copy and make some very basic changes, but have no underlying understanding of what it means.

This is for Tabs.js in the skin1/customer directory.

My fix did not fix
I got my mods mixed up, and my positive vibes made me think that I had fixed something I had not, maybe next time.

I hope this can help some people, its a very useful mod.
__________________
www.creydall.com
X-Cart version 4.0.11
PHP 4.3.9 MySQL 4.0.22
Apache/1.3.33
Perl 5.008004
Adam
Adelaide South Australia
Reply With Quote
  #45  
Old 03-16-2005, 01:49 PM
  august's Avatar 
august august is offline
 

Senior Member
  
Join Date: Jul 2003
Posts: 178
 

Default

I think you also have your posting mixed up. There is no java in this tabs, only for the post on tabbed products detail.
__________________
"The point is, to make so much money, that money isn't the point anymore."

Pro Version 4.0.19
Gold Version 4.1.3
Linux
Reply With Quote
  #46  
Old 03-17-2005, 08:21 AM
 
rossco rossco is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 97
 

Default Re: Quick question? or not?

Quote:
Originally Posted by swordmart
hi thanks for sharing this great mod!

I was wondering if it was possable to have 2 lines of tabbed menus? as i have lots of Categories.

Would this take a lot of modding?

Cheers Jamie

Must be someone who's done this because I've seen website run by people on this forum with two or more lines of tabs
__________________
How loud do you want it?

X-Cart Gold 4.0.12 & 17
Reply With Quote
  #47  
Old 03-18-2005, 02:02 PM
 
steveparks steveparks is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: UK
Posts: 87
 

Default splitting menus onto new lines

Ok, I'll have a look at this over the weekend, and hopefully post some revised code. I think i'll also have the time-lag on the tab rollovers fixed by then.

I have ideas for both that I'm fairly confident about, so its just a case of trying them out.

(by the way i've deliberately done it to all be HTML and CSS based rather than javascript - i'm going for maximum compatibility and accessibility)

Glad you like the mod!
__________________
--------------
RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3
X-Cart 4.0.16 - Live
X-Affiliate
X-AOM
ez-checkout
ez-upsell
--------------
Reply With Quote
  #48  
Old 04-03-2005, 06:30 AM
 
steveparks steveparks is offline
 

Advanced Member
  
Join Date: Jan 2003
Location: UK
Posts: 87
 

Default Update

Hi I've updated the code in my first post, as follows:

Updated tab_menu.tpl to better manage the subcategories sub menu. It now truncates long names, and wraps onto more than one line if there are lots of subcats. I also improved the way that it creates the subcategories menu, so that it will keep the first level of subcategories displayed, however deep down into sub-sub-sub-categories you are! (Thanks to fernando for making a post elsewhere that helped me with this).



Those of you who also wanted to wrap the main menu tabs if there were lots of them can look at how i've done it for the subcats and adapt the code for the main tabs. I won't be doing this as I think it'll look messy, and believe in having a smaller number of main tabs.

I'll also work on a way of preloading the rollover images to reduce the delay in displaying them.

steve
__________________
--------------
RHEL3/Apache2/PHP4/MySQL4/Plesk7.5.3
X-Cart 4.0.16 - Live
X-Affiliate
X-AOM
ez-checkout
ez-upsell
--------------
Reply With Quote
  #49  
Old 04-03-2005, 08:21 AM
 
mrbiggles mrbiggles is offline
 

Senior Member
  
Join Date: Jan 2005
Location: Adelaide , South Australia
Posts: 107
 

Default

Thanks Steve
I have been watching for your update, I would vote this the best free mod on the forum. Thanks very much.
Regards Adam
__________________
www.creydall.com
X-Cart version 4.0.11
PHP 4.3.9 MySQL 4.0.22
Apache/1.3.33
Perl 5.008004
Adam
Adelaide South Australia
Reply With Quote
  #50  
Old 04-04-2005, 03:59 AM
 
rossco rossco is offline
 

Advanced Member
  
Join Date: Feb 2005
Posts: 97
 

Default

Good stuff. Been waiting patiently for this

Cheers
__________________
How loud do you want it?

X-Cart Gold 4.0.12 & 17
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 02:43 PM.

   

 
X-Cart forums © 2001-2020