[jQuery] jQuery newbie is looking for a hint. (dynamically add div tags to html :: plugin accordion)

2009-11-12 Thread hagbardceline
Hi I'm a total newbie to jQuery and need a hint. I have a site that has a structure like this which is used for accordion plugin: (html content is set by TinyMC RTE Editor) header 1 some text some other text header 2 some text list element 1 list element 2 header

[jQuery] Re: jQuery newbie is looking for a hint. (dynamically add div tags to html :: plugin accordion)

2009-11-14 Thread hagbardceline
Anyone got an idea? Have no clue so far. Does a regular expression help?

[jQuery] Re: Script works in Firefox but not in IE.

2009-11-17 Thread hagbardceline
Seems like IE is stucked in one of the while loops, but I can't figure out why. Anyone got a hint? On Nov 17, 9:49 am, hagbardceline wrote: > Hi > > The following script works fine on FF but crashes IE (7 + 8). > >

[jQuery] IE loops while infinite (jQuery). Firefox works fine. Anyone can help fixing script for IE?

2009-11-19 Thread hagbardceline
I have the following script (see below), which dynamically adds div between closing and opening h3 tags. The script works fine in Firefox but IE is infinite looping the first while. Does anyone have an idea how to fix the script for IE? Thx! hagbard http://www.w3.org/TR/xhtml1/DTD/xhtml1-transi

[jQuery] Re: IE loops while infinite (jQuery). Firefox works fine. Anyone can help fixing script for IE?

2009-11-19 Thread hagbardceline
(this).is('h3')); }) // > stops the selection when the next h3 is reached > .wrapAll(''); // wrap all remaining (the immediate > next siblings before encountering the next h3) in a div with class="new" > > }); > > This should be less messy than ne