[jQuery] Re: jCorner problem?

2007-09-26 Thread Mark



On Aug 21, 6:42 pm, Stephan Beal <[EMAIL PROTECTED]> wrote:
> On Aug 21, 9:58 pm, Mark <[EMAIL PROTECTED]> wrote:
>
> >  This is the result I am expecting 
> > --http://www.augustine.com/images/test/expected.jpg
> > .  This is what I get --http://www.augustine.com/images/test/actual.jpg
> > .  I am using standard corner syntax, $(this).corner(); .. this
> > 'actual' result only occurs in Internet Explorer when the page is
> > refreshed with the cursor ON the window, if you move it away from the
> > window you get the 'expected.jpg' result, thoughts? workarounds?
>
> Can you tell us what browser/version you're using, and what jQuery 
> andjCornerversions? Also, if you can provide a link to a page
> demonstrating the problem, that would be really helpful.
>
> :)

Pages of examples -
www.augustine.com/vacation/index.php
www.augustine.com/history/books.php



[jQuery] Re: jCorner problem?

2007-09-27 Thread polyrhythmic

I've seen that happen to me before when running .corner() on a floated
element.  Corner tries to adapt properties from its parent from
the .corner divs, so if you have some css like #container div { float:
left; } the float will be applied to your .corner divs too, and bork
your layout.  Corner works better with absolute or relative-ly
positioned elements, consider wrapping the div you intend to .corner()
in another div.

Charles
doublerebel.com

On Sep 26, 8:40 am, Mark <[EMAIL PROTECTED]> wrote:
> On Aug 21, 6:42 pm, Stephan Beal <[EMAIL PROTECTED]> wrote:
>
> > On Aug 21, 9:58 pm, Mark <[EMAIL PROTECTED]> wrote:
>
> > >  This is the result I am expecting 
> > > --http://www.augustine.com/images/test/expected.jpg
> > > .  This is what I get --http://www.augustine.com/images/test/actual.jpg
> > > .  I am using standard corner syntax, $(this).corner(); .. this
> > > 'actual' result only occurs in Internet Explorer when the page is
> > > refreshed with the cursor ON the window, if you move it away from the
> > > window you get the 'expected.jpg' result, thoughts? workarounds?
>
> > Can you tell us what browser/version you're using, and what jQuery 
> > andjCornerversions? Also, if you can provide a link to a page
> > demonstrating the problem, that would be really helpful.
>
> > :)
>
> Pages of examples 
> -www.augustine.com/vacation/index.phpwww.augustine.com/history/books.php



[jQuery] Re: jCorner problem?

2007-09-27 Thread Guy Fraser

polyrhythmic wrote:
> I've seen that happen to me before when running .corner() on a floated
> element.  Corner tries to adapt properties from its parent from
> the .corner divs, so if you have some css like #container div { float:
> left; } the float will be applied to your .corner divs too, and bork
> your layout.  Corner works better with absolute or relative-ly
> positioned elements, consider wrapping the div you intend to .corner()
> in another div.
>   

It would be ideal if corner could detect if the div is floated and 
accommodate :)


[jQuery] Re: jCorner problem?

2007-09-27 Thread polyrhythmic

On Sep 27, 1:23 pm, Guy Fraser <[EMAIL PROTECTED]> wrote:
> polyrhythmic wrote:
> > I've seen that happen to me before when running .corner() on a floated
> > element.  Cornertries to adapt properties from its parent from
> > the .cornerdivs, so if you have some css like #container div { float:
> > left; } the float will be applied to your .cornerdivs too, and bork
> > your layout.  Cornerworks better with absolute or relative-ly
> > positioned elements, consider wrapping the div you intend to .corner()
> > in another div.
>
> It would be ideal ifcornercould detect if the div is floated and
> accommodate :)

Because of the nature of floats, I don't really see a universal
solution.  Wrapping an element or changing its position naturally
would have a great affect on layout.  A different corner technique
would have to be used... and maybe one day we'll see border-radius
support in IE (it's already in khtml, webkit, gecko) but as long as
users are stuck on IE6 corner techniques will be a hack.  But yes, I
wish it could accommodate too.

Charles
doublerebel.com



[jQuery] Re: jCorner problem?

2007-09-27 Thread Mike Alsup
>
> Because of the nature of floats, I don't really see a universal
> solution.  Wrapping an element or changing its position naturally
> would have a great affect on layout.



I don't think this is a problem with floating the cornered div, but I
suspect it is related to the markup somehow (I haven't had time to look
closely).  My corner demo page uses floated divs for almost all of the
examples.  Is anyone having trouble with that page?

http://www.malsup.com/jquery/corner/

Mike


[jQuery] Re: jCorner problem?

2007-09-28 Thread Mark



On Sep 27, 10:57 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> > Because of the nature of floats, I don't really see a universal
> > solution.  Wrapping an element or changing its position naturally
> > would have a great affect on layout.
>
> I don't think this is a problem with floating the cornered div, but I
> suspect it is related to the markup somehow (I haven't had time to look
> closely).  My corner demo page uses floated divs for almost all of the
> examples.  Is anyone having trouble with that page?
>
> http://www.malsup.com/jquery/corner/
>
> Mike

I would be okay with changing the structure of my markup if that meant
that it would work, but I did validate it, so if it validates I don't
think that this is appropriate.  Please let me know anything else I
can do to expedite the process or help debug it in some fashion.
Thanks!



[jQuery] Re: jCorner problem?

2007-08-21 Thread Stephan Beal

On Aug 21, 9:58 pm, Mark <[EMAIL PROTECTED]> wrote:
>  This is the result I am expecting 
> --http://www.augustine.com/images/test/expected.jpg
> .  This is what I get --http://www.augustine.com/images/test/actual.jpg
> .  I am using standard corner syntax, $(this).corner(); .. this
> 'actual' result only occurs in Internet Explorer when the page is
> refreshed with the cursor ON the window, if you move it away from the
> window you get the 'expected.jpg' result, thoughts? workarounds?

Can you tell us what browser/version you're using, and what jQuery and
jCorner versions? Also, if you can provide a link to a page
demonstrating the problem, that would be really helpful.

:)