Search found 73 matches

by Painstik
Thu Oct 22, 2009 7:43 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184381

Re: [HACK] Login for price

I can say from experience that login for price is very very bad idea, it's a turn off for customers. Me first, I don't go trough registration if I don't see prices, why should I bother if vendor is forcing me to register and to give my personal data if I only want to see products and prices. You are...
by Painstik
Tue Oct 20, 2009 6:54 pm
Forum: [SC] Custom Code
Topic: Accordion Menu R2
Replies: 47
Views: 79741

Re: Accordion Menu R2

Tony Barnes wrote:Ah, is that what that was for, sorry, i hadn't followed it very well :oops:
I elaborated now with pictures... i think... :P
by Painstik
Tue Oct 20, 2009 6:51 pm
Forum: [SC] Custom Code
Topic: Active SideCategoryList
Replies: 34
Views: 63544

Re: Active SideCategoryList

Some pictures to show how it works... for those who doesn't speak my english :D No category is selected http://i34.tinypic.com/2rdka37.jpg http://i35.tinypic.com/24zhzlg.jpg Category "Shop iPod" selected http://i34.tinypic.com/2zi1ytl.jpg http://i38.tinypic.com/2lkwx0o.jpg Category "S...
by Painstik
Tue Oct 20, 2009 1:19 pm
Forum: [SC] Custom Code
Topic: Accordion Menu R2
Replies: 47
Views: 79741

Re: Accordion Menu R2

I recommend this php / html code modification instead of jquery accordion menu, effect is the same, the only thing is that there is no animation...

http://www.interspired.net/forum/viewto ... f=12&t=262
by Painstik
Mon Oct 19, 2009 11:21 am
Forum: [SC] Custom Code
Topic: Make one stylesheet
Replies: 6
Views: 8381

Re: Make one stylesheet

I read somewhere a "tip" for optimizing...

Remove all unnecessary tab spaces and comments from your html and css files :)
by Painstik
Sun Oct 18, 2009 3:26 pm
Forum: [SC] Custom Code
Topic: Make one stylesheet
Replies: 6
Views: 8381

Re: Make one stylesheet

You could do that, transfer all Blue.css lines into Styles.css, but do you think that amalgamating only those two files you will solve your problem with Yslow? If you want to do it, you should do amalgamating with all css and javascript files you have , so you reduce from 30 files to 2, and so does ...
by Painstik
Sat Oct 17, 2009 2:57 am
Forum: [SC] Custom Code
Topic: Active SideCategoryList
Replies: 34
Views: 63544

Active SideCategoryList

Hi guys, I am working on SideCategoryList, I don't want to use jquery for sidecategory list, and stil i want to be able to show/hide subcategories and hilight selected ones. Open: includes/classes/class.category.php Find: $this->SetTrail(array($row['categoryid'], $row['catname'])); $this->SetId($row...
by Painstik
Mon Oct 12, 2009 5:10 pm
Forum: [SC] Custom Code
Topic: Accordion Menu R2
Replies: 47
Views: 79741

Re: Accordion Menu R2

Ok, your hover effect works, but click doesn't so i managed to fix it. This is endless accordion menu (activated on click). <script type="text/javascript"> function initMenu() { $('#SideCategoryList ul ul').hide(); $('#SideCategoryList li a').click( function() { var checkElement = $(this)....
by Painstik
Mon Oct 12, 2009 4:41 pm
Forum: [SC] Custom Code
Topic: Accordion Menu R2
Replies: 47
Views: 79741

Re: Accordion Menu R2

I am glad that i helped, I am now experimenting with jquery... it is very easy to do almost everything.

Now I am working on adding class .ActiveCategory (like .ActivePage) so you can manipulate selected category style. I did it with php, but then accordion doesn't work, don't know why...
by Painstik
Mon Oct 12, 2009 3:08 pm
Forum: [SC] Custom Code
Topic: Accordion Menu R2
Replies: 47
Views: 79741

Re: Accordion Menu R2

No I don't, test it, I recommend 2nd one...