While I was reading the code, I re-wrote it

$.fn.border = function(prefix){
        var classNames = [ 'north', 'east', 'south', 'west', 'northeast',
'southeast', 'southwest', 'northwest'];
        return this.each(function(){
                for (var index in classNames){
                        className = (prefix || '')+ classNames[index];
                        $(this).wrap("<div class='" + className + " 
block'></div>")
                }
        })
};

much more jqueryish!... I defined a .block class ... but I don't think
it's needed... at least not for the demo file.

On 1/30/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> NOW I see it... I was looking for the files in the wrong dir!
>
> the images are getting over layed... are you doing transparent
> background on the gifs? the original used jpg and pngs... probably not
> transparent.
>
> On 1/30/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> > jqueryborder is missing the graphics! and the css!
> >
> > On 1/30/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
> > > bad images! is the page on the net?
> > >
> > > On 1/30/07, weide <[EMAIL PROTECTED]> wrote:
> > > > on 2007-1-31 10:43,Ⓙⓐⓚⓔ said the following:
> > > > > the port is so much better than the original! I don't see a pipe
> > > > > appearing at that url....
> > > > >
> > > > > 'pipes' appear when your images don't line up right... I can't draw a
> > > > > line.. so I alway use other people images! Is that what you meant by a
> > > > > pipe?
> > > >
> > > > that url,you mean 
> > > > http://www.studioindustryllc.com/misc/border/border.html ? Sure it is 
> > > > good
> > > >
> > > > pipes appear in my border in my last first letter's 
> > > > attachment--JQueryBorder.html
> > > >
> > > > lease see the attachment "Snap3.gif",all the corner are not good
> > > >
> > > >
> > > > -----------
> > > > you say "your images don't line up right.",I am  in a puzzle about how
> > > > to line up right?
> > > >
> > > >
> > > > _______________________________________________
> > > > jQuery mailing list
> > > > discuss@jquery.com
> > > > http://jquery.com/discuss/
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
> > >
> >
> >
> > --
> > Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
> >
>
>
> --
> Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to