Page 2 of 11 FirstFirst 1234 ... LastLast
Results 11 to 20 of 108
  1. #11
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Its not something i am currently looking at either, mainly as the sites i look after still have at least 30% ie6 usage, although it is dropping rapidly now, I will probably have a look at it again later in the year, but looking at the code it shouldn't be too difficult, it's just it isn't my code and i have got to get my head around all the code before making changes

    So for me just using a jpeg and setting the background colour to match the content background is all i need

  2. #12
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    Default version 1.6.6

    Version 1.6.6 (for php5.3) now available for download
    http://www.zen-cart.com/index.php?ma...roducts_id=743

    for those with 1.6.5 working on php 5.2 this version does not offer anything extra.

  3. #13
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: version 1.6.6

    Quote Originally Posted by torvista View Post
    Version 1.6.6 (for php5.3) now available for download
    http://www.zen-cart.com/index.php?ma...roducts_id=743

    for those with 1.6.5 working on php 5.2 this version does not offer anything extra.
    I hate to be a party pooper

    You missed the buttons/swedish folder

    which means the swedish buttons won't generate

  4. #14
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    Default version 1.6.6

    which means the swedish buttons won't generate
    I always miss something, this time I can blame it on jet lag instead of the kids.

  5. #15
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Quote Originally Posted by nigelt74 View Post
    Its not something i am currently looking at either, mainly as the sites i look after still have at least 30% ie6 usage, although it is dropping rapidly now, I will probably have a look at it again later in the year, but looking at the code it shouldn't be too difficult, it's just it isn't my code and i have got to get my head around all the code before making changes

    So for me just using a jpeg and setting the background colour to match the content background is all i need
    Again no worries.. Just would be nice if this generated PNG buttons.. I have a great javascript I use to make them (PNGs) obey on IE6 that works very well.. For some designs I need buttons with transparent backgrounds.. I have a great graphics person I work with who does 'em for me in those instances..

    Anyway if you decide to give this feature a looksee, I'll look forward to seeing that improvement.. I'll still keep this tool in my arsenal as I do find it very useful for some designs.. Am I following this thread correctly in that there is one more modification and re-submission in the works??
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #16
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Quote Originally Posted by DivaVocals View Post
    Am I following this thread correctly in that there is one more modification and re-submission in the works??
    the only mod needed is to add a folder called swedish in the buttons directory, I assume torvista is already on to it or sleeping depending on where in the world he is at the moment

  7. #17
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Zen Cart Button Construction Kit 1.6.5 and up..

    Quote Originally Posted by nigelt74 View Post
    the only mod needed is to add a folder called swedish in the buttons directory, I assume torvista is already on to it or sleeping depending on where in the world he is at the moment
    Got it!! will update my current install..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #18
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    Default png transparency

    Thanks to a pointer from nigel, this bit of code makes png backgrounds transparent, but that includes the text - some of the background seeps through. I think this is easy to fix but I have no time now, someone please investigate imagefilledrectangle etc..

    in class.zen_bck.php line 91

    PHP Code:
            imagefill($btn_body00$bgcolor); 
    change to
    PHP Code:
            imagefill($btn_body00$bgcolor);
            
    imagecolortransparent($btn_body$bgcolor); 

  9. #19
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: png transparency

    Quote Originally Posted by torvista View Post
    Thanks to a pointer from nigel, this bit of code makes png backgrounds transparent, but that includes the text - some of the background seeps through. I think this is easy to fix but I have no time now, someone please investigate imagefilledrectangle etc..
    yep thats about as far as I got

    provided you set the background colour to something almost the polar opposite of the font colour, i got virtually no bleed through, or at least none i noticed, its just a halo of background colour around the button that bugs me.
    see here
    http://grumpykiwi.com/zen_buttons/zen_bck/
    select "transparent test" in the defaults looks good on the red background, but when you actually create the buttons you see the red halo, provided you set the back ground colour to something similar to your site background, the buttons will fit in a heck of a lot better with the above hack, than they previously did

    I am looking at imagefilledrectangle, but, todays is my eldests 4th birthday so the will be a sugar crazed midget terrorist stopping me for the next few days
    Last edited by nigelt74; 20 Sep 2010 at 09:50 PM.

  10. #20
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: png transparency

    Thanks to both of you.. Ya'll are the BEST!!! Will certainly give all of this a try this weekend (provided I can get folks to leave me alone with my geek toys..)

    Nigel are you familiar with the Super Sleight script?? I have had EXCELLENT success making PNGs in IE6 behave with this script in place.. No more blue halos..

    Code:
    var supersleight=function(){var root=false; 	var applyPositioning=true; 	var shim='images/x.gif'; 	var shim_pattern=/x\.gif$/i; var fnLoadPngs=function(){if(root){root=document.getElementById(root);}else{root=document;} for(var i=root.all.length-1,obj=null;(obj=root.all[i]);i--){if(obj.currentStyle.backgroundImage.match(/\.png/i)!==null){bg_fnFixPng(obj);} if(obj.tagName=='IMG'&&obj.src.match(/\.png$/i)!==null){el_fnFixPng(obj);} if(applyPositioning&&(obj.tagName=='A'||obj.tagName=='INPUT')&&obj.style.position===''){obj.style.position='relative';}}};var bg_fnFixPng=function(obj){var mode='scale';var bg=obj.currentStyle.backgroundImage;var src=bg.substring(5,bg.length-2);if(obj.currentStyle.backgroundRepeat=='no-repeat'){mode='crop';} obj.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"', sizingMethod='"+mode+"')";obj.style.backgroundImage='url('+shim+')';};var el_fnFixPng=function(img){var src=img.src;img.style.width=img.width+"px";img.style.height=img.height+"px";img.style.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+src+"', sizingMethod='scale')";img.src=shim;};var addLoadEvent=function(func){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}else{window.onload=function(){if(oldonload){oldonload();} func();};}};return{init:function(){addLoadEvent(fnLoadPngs);},limitTo:function(el){root=el;},run:function(){fnLoadPngs();}};}();supersleight.init();
    Quote Originally Posted by nigelt74 View Post
    yep thats about as far as I got

    provided you set the background colour to something almost the polar opposite of the font colour, i got virtually no bleed through, or at least none i noticed, its just a halo of background colour around the button that bugs me.
    see here
    http://grumpykiwi.com/zen_buttons/zen_bck/
    select "transparent test" in the defaults looks good on the red background, but when you actually create the buttons you see the red halo, provided you set the back ground colour to something similar to your site background, the buttons will fit in a heck of a lot better with the above hack, than they previously did

    I am looking at imagefilledrectangle, but, todays is my eldests 4th birthday so the will be a sugar crazed midget terrorist stopping me for the next few days
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

 

 
Page 2 of 11 FirstFirst 1234 ... LastLast

Similar Threads

  1. zen button construction kit
    By Marlake in forum Addon Templates
    Replies: 1
    Last Post: 5 Aug 2011, 03:33 PM
  2. zen button construction kit - cannot see the colors
    By Marlake in forum Addon Templates
    Replies: 0
    Last Post: 2 Aug 2011, 02:01 AM
  3. restored a backup and now I am Under Construction.......but not!
    By christinefred in forum General Questions
    Replies: 4
    Last Post: 5 Feb 2011, 09:30 AM
  4. Help promote Zen Cart Book, and Zen Cart.
    By birdoasis in forum General Questions
    Replies: 2
    Last Post: 17 Apr 2007, 01:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR