[jQuery] Sliding glitch

2007-01-20 Thread Steve Jones
Hi All,I have searched and searched for an answer to this, but am at a loss - wondered if anyone could possibly have a look at the following. Having got into jQuery yesterday, I thought I'd jump straight in and think about using it for the holding page of a charity I'm doing a site for.I'm

[jQuery] Sliding Glitch

2007-01-20 Thread Steve Jones
Sorry - forgot to post the URLhttp://www.g-raff.co.uk/jquery/basic.htmlThanksSJ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Sliding glitch

2007-01-20 Thread Franck Marcia
2007/1/20, Steve Jones [EMAIL PROTECTED]: I'm suffering a strange glitch with a slideToggle method. What seems to happen is that a linebreak is added to the beginning of text content in the target element just as the animation starts either opening or closing, and is only removed on completion

Re: [jQuery] Sliding glitch

2007-01-20 Thread Steve Jones
Thanks Franck,I removed the h2 from the first section to see what effect it had.Now its the image that moves, but I still get a "flash" of the whole content before the animation happens.Any ideas? Should I be setting CSS attributes for the document to counteract the problem?CheersSJOn 20 Jan 2007,

Re: [jQuery] Sliding glitch

2007-01-20 Thread Olaf Bosch
Steve Jones schrieb: Any ideas? Should I be setting CSS attributes for the document to counteract the problem? You have to set the first Element margin-top to 0 try this: #content p{ margin-top:0; } -- Viele Grüße, Olaf --- [EMAIL PROTECTED]

Re: [jQuery] Sliding glitch

2007-01-20 Thread Steve Jones
Sweet, Olaf - that's fixed it. Thanks. Will bear that in mind for future use. The only thing now is that I'm still getting a brief flash of the content just before the animation starts. Is this just me? http://www.g-raff.co.uk/jquery/basic.html When you click a section heading, there is a

Re: [jQuery] Sliding glitch

2007-01-20 Thread Rick Faircloth
Looks good here… IE 7… Rick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Jones Sent: Saturday, January 20, 2007 12:34 PM To: jQuery Discussion. Subject: [jQuery] Sliding glitch Hi All, I have searched and searched for an answer to this, but am at a loss - wondered

Re: [jQuery] Sliding glitch - Bug in Mac OS X Firefox

2007-01-20 Thread Steve Jones
Faircloth wrote: Looks good here… IE 7… Rick From: [EMAIL PROTECTED] [mailto:discuss- [EMAIL PROTECTED] On Behalf Of Steve Jones Sent: Saturday, January 20, 2007 12:34 PM To: jQuery Discussion. Subject: [jQuery] Sliding glitch Hi All, I have searched and searched for an answer