• I’ve updated External Link Icons to 0.3. Fixed the plugin to be compatible with other plugins that require body onLoad javascript.

    3 new plugins:
    autoarchive – automatically generates an archive page for /archives, provided your theme provides an archives.php (kubrik does). Note: I’m running this on lighttpd, there may be some changes required to get it to work on Apache.

    domain-cookies – make login cookies apply to the entire domain. Useful for multiple hostname (but same domain name sites). Wrote it specifically for a multi-user plugin I’m working on, but thought it might be useful.

    And,
    nifty-corners – this plugin implements nifty corners, DHTML rounded corners. This is an initial release, and it’s far from complete. You’ll need to hack some of the javascript to provide the effect you’re looking for, and read the article linked above. Eventually all of this will get added to an admin panel.

    All of these plugins can be found here webmages.com/misc/wp-plugins/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi! I’ve been trying to implement nifty-corners on my own when I discovered your plugin. I’ve uploaded it, activated it, and altered the niftyAddLoad.js file to look like:
    ‘code’
    function ncAddLoadEvent(func) {
    var ncoldonload = window.onload;
    if (typeof window.onload != ‘function’) {
    window.onload = func;
    } else {
    window.onload = function() {
    ncoldonload();
    func();
    }
    }
    }

    function makeNifty() {
    if (NiftyCheck()) {
    Rounded(“div#recipe”,”all”,”#FFF”,”transparent”,”small”);
    }
    }

    ncAddLoadEvent(makeNifty);
    ‘code’

    I have the following defined in my style.css:
    ‘code’
    div#recipe {

    margin-bottom: 5%;

    padding: 2% 2% 0% 2%;

    background:#FFCC99;

    }
    ‘code’

    And because I only want to use this for one category in my main page I have:
    ‘code’
    <?php if ( in_category(‘5’) ) { ?>
    <div class=”post” id=”recipe”>
    <?php } else { ?>
    <div class=”post”>
    <?php } ?>
    ‘code’

    What am I missing?

    BTW, this website is at http://theweekendchef.exit-23.net

    hmmmm….ok…my initial problem was related to the files not being in the right directory (this was not made clear with the lack of readme file) AND the fact that it needed to be added to the body inline tag:

    <body onload=”die_fucking_ie_die(); makeNifty();”>

    However…then it was only occuring on the first instance, so I tried changing the div#recipe to div.recipe but that resulted in nothing showing up. I assume because there are two classes associated with that div now.

    Anyone have any suggestions?

    OK I figured it out.

    in the niftAddLoad.js

    The call had to be:
    Rounded(“div.recipe”,”all”,”#FFF”,”#FFFFCC”,”smooth”);

    In my stylesheet:

    div.post {
    margin: 0 10% 1%;
    }
    div.post.recipe {
    margin: 0 10% 1%;
    background-color: #FFFFCC;
    }

    Unfortunately, I couldn’t figure out how to make the curved edges wider to fit the div so I had to make all of the posts “thinner” so the recipes wouldn’t look funky on the page when mixed with others. I wanted them to stand out not look freaky. 😉

    If anyone knows how to widen the script, I’d love to know. JS is not my bag at all.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘hallow’s plugins update’ is closed to new replies.