Page 24 of 35 FirstFirst ... 14222324252634 ... LastLast
Results 231 to 240 of 347
  1. #231
    Join Date
    Apr 2012
    Posts
    51
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    okay ... winmerge .. is tht a solution ?

  2. #232
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    Yes, winmerge can do it. You first need to compare each mod file against the stock version so you know where each of them differs from stock (keep good notes). Then compare them with each other and merge the differences into one file. If both mods change the same line from stock, you may need expert help to combine them (if it is possible).

  3. #233
    Join Date
    Apr 2012
    Posts
    51
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    Well its bouncing off my mind !

  4. #234
    Join Date
    Oct 2012
    Posts
    13
    Plugin Contributions
    0

    Default Re: Editable Home Page Centerboxes

    Would this be able to display the "dynamic filter" in a center box horizontally? I have tried to put the dynamic filter in middle box 1 and have set to display on 1 middle box. But nothing shows

  5. #235
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    I don't know anything about the Dynamic Filter code or operation, but if it uses standard sidebox type file structure, there is no reason it shouldn't work. If it requires some other file to work, perhaps a file that only runs in particular circumstances, that might be an issue.

  6. #236
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Okay Glenn.. I KNOW this is a CSS thang, but I've been looking at this for a minute and it's driving me crazy..

    so in the stylesheet:
    Code:
    .middleboxContent {
        border: 1px solid #000;
        padding: 0.4em;
        background:#e0d0d0;
        min-height:300px;
        /* -- DO NOT REMOVE!!! -- Yep this is another stupid IE hack. The next two statements set min-height in IE's dumb-a$$ed browser -- If you modify this setting, "min-height" must match "height" --*/
        height:auto !important;
        height:300px;
        /*If you want all the middleboxes to line up at the bottom uncomment this class. (see the readme for a screenshot of one example on how this works) Also see http://www.cssplay.co.uk and their excellent tutorial on tableless layouts for a demo of how this works.*/
    
        padding-bottom:32767px;
        margin-bottom:-32767px;
    
        }
    That last bit in red doesn't seem to be working for me, and I'm STUMPED as to why.. What am I missing?????

    http://clientlaserdiscvault(dot)overthehillweb(dot)com/
    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.

  7. #237
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    I believe that was some trick you found a long time ago and applied; I don't know exactly why it works (or doesn't).

    You may be able to achieve the effect with a more modern CSS property, display: table-cell;
    This has been around for many years, but until recently couldn't be simply used because everybody's favorite browser *coughIE6/7cough* didn't support it. Now that those thankfully are about dead, some simple styling rules can finally be used freely. Any continuous series of one element type which have this declaration applied will be handled as if they are <td> cells enclosed in a <tr> table row.

  8. #238
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Editable Home Page Centerboxes

    Note that the elements this is applied to need to be directly sequential, not sub-elements of sequential elements. So it would have to be applied at the middlebox container level rather than .middleboxContent.

  9. #239
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by gjh42 View Post
    I believe that was some trick you found a long time ago and applied; I don't know exactly why it works (or doesn't).

    You may be able to achieve the effect with a more modern CSS property, display: table-cell;
    This has been around for many years, but until recently couldn't be simply used because everybody's favorite browser *coughIE6/7cough* didn't support it. Now that those thankfully are about dead, some simple styling rules can finally be used freely. Any continuous series of one element type which have this declaration applied will be handled as if they are <td> cells enclosed in a <tr> table row.
    and honestly it wasn't even MY trick.. I never knew why it worked.. Only that it did.. until now.. **sigh**

    Okay I'll root around a bit and see if I can make things work out..
    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.

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

    Default Re: Editable Home Page Centerboxes

    Quote Originally Posted by gjh42 View Post
    I believe that was some trick you found a long time ago and applied; I don't know exactly why it works (or doesn't).

    You may be able to achieve the effect with a more modern CSS property, display: table-cell;
    This has been around for many years, but until recently couldn't be simply used because everybody's favorite browser *coughIE6/7cough* didn't support it. Now that those thankfully are about dead, some simple styling rules can finally be used freely. Any continuous series of one element type which have this declaration applied will be handled as if they are <td> cells enclosed in a <tr> table row.
    Quote Originally Posted by gjh42 View Post
    Note that the elements this is applied to need to be directly sequential, not sub-elements of sequential elements. So it would have to be applied at the middlebox container level rather than .middleboxContent.
    So I'm still playing.. As I was Googling for solutions, I kept running into more jQuery solutions versus CSS solutions.. Tried a NUMBER of them, and some work, others do not work QUITE as I would like/expect.. After some trial and error, I finally settled on one from this site: http://blog.huidesign.com/make-equal...mns-by-jquery/

    Code:
    <script  type="text/javascript">
     $(document).ready( function(){
        function equalHeight(obj){
            var heightArray = obj.children("div").map( function(){
                     return  $(this).height();
                     }).get();
            var maxHeight = Math.max.apply( Math, heightArray);
            obj.children("div").height(maxHeight);
                }
                
        $(".navColumnMiddleWrapper").each( function(){
                    equalHeight( $(this));
                                               })
        
        $("a.showLink").click(function(){
                $(this).parents().children("span").toggle();
                $(this).parents(".navColumnMiddleWrapper").children().removeAttr("style");    
                equalHeight( $(this).parents("div"));            
                });
                             })
    </script>
    The beauty of this one is it's a solution that works specifically well when there is dynamic content.. and in the layout I'm tweaking I really don't want the height of the second row to be based on the longest item in the first row.. It seems to equalize each row separately (which is what I do want). The big advantage of this method is that it probably also works in that browser we all love to hate *coughIE6/7cough*..

    Because I'd really like to get a pure CSS solution eventually, I am gonna mess around with display: table-cell and hammer out a solution.. I found a good guide to help with me understand how I need to set it up (http://www.456bereastreet.com/archiv...oxes_with_css/). In the meantime I may stick with the javascript solution because it appears that a pure CSS solution will equalize ALL the rows, and that's not quite what I want...
    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 24 of 35 FirstFirst ... 14222324252634 ... LastLast

Similar Threads

  1. v154 Editable Invoices & Packing Slips [Support]
    By dbltoe in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Oct 2015, 11:44 PM
  2. Admin-Editable Sidebox - Support Thread
    By kuroi in forum Addon Sideboxes
    Replies: 331
    Last Post: 29 Oct 2014, 04:15 AM
  3. Move Define Page Text to bottom of page, below centerboxes
    By AirsoftOutfitter in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Jul 2011, 02:13 AM
  4. Editable Home Page Centerboxes click-able links
    By colhemm in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 22 Feb 2011, 09:04 PM
  5. Image above centerboxes on main page
    By direwolf in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 May 2008, 06:40 PM

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