This page is still really invalid. For example, there is a close body tag, but no open body tag. It works fine in Safari, but that's just Safari being kind, I think.

Also, each of your form elements that you're sorting has a mis-match between name and id attributes, and that's another thing that IE has kittens about. If it were me, I would leave the name and the ID off of the form elements themselves -- they're really not needed here. You have them correctly applied where it matters -- on the input elements.

I ran the whole thing through tidy, and you can see it here in its corrected state:

http://scripty.walterdavisstudio.com/drag-sort.php

Give that a try on your IE, and then also diff it against your original rendered source, and make sure that you fix the differences. I know when you assemble a page from multiple sources or functions, it's sometimes easy to lose track of all the canonical parts of a page. But without a valid source tree, it's nearly impossible to track down the browser differences, as one browser's auto-correction of the DOM will be subtly different than another's.

Walter

On May 9, 2011, at 11:19 AM, Audrey Bowman wrote:

Okay. So the Self-contained test you provided works just fine in IE7.

here's mine: 
http://test.tpionline.com/Audrey/TPI_new_platform/dynamic_invoicing/test.php

It still fails in IE7 to allow the first element to be reordered. Still not sure what's going on with it. I appreciate all the help!

Thanks,
Audrey


On Tue, May 3, 2011 at 4:28 PM, Audrey Bowman <audreyrbow...@gmail.com> wrote: Thanks for all the assistance, Walter. I haven't had the chance yet to try the static page (Sometimes I feel like a chicken with my head cut off!) But I will post results when I am able in the next day or so. I am sure it's my code, as I seem to always feel like I'm drowning when it comes to troubleshooting - especially javascript.

Thanks again!
Audrey


On Tue, May 3, 2011 at 10:52 AM, Walter Davis <wa...@wdstudio.com> wrote:
For example, here is a Self-contained Non-failing Test:

http://scripty.walterdavisstudio.com/drag-sort.html

Please try this out in your failing browsers, and let me know if you are able to drag the first or last element in the list to a new position. The sort order will update below the list each time you re- order the list.

Walter


On May 2, 2011, at 5:06 PM, Walter Davis wrote:

This is where the Self Contained Failing Test is useful. Try to make a static HTML version of your assembled page at the point where it fails. Use Firebug's inspector to see the rendered HTML including any client-side modifications and use copy and paste liberally to construct this Frankenpage in a text editor. Then confirm that it still fails for you, and if it does, post it somewhere where another pair of eyes can look at it. (Post a link here.)

Walter

On May 2, 2011, at 2:55 PM, Audrey Bowman wrote:

I have been going through the page element by element to make sure it all validates (it includes different files based on forms being submitted). Still going through some of it, but everything so far has been fixed to validate. I rigged it so that it was only processing what had validated, and I am still unable to drag any elements down. Still works going up, though.

On Mon, May 2, 2011 at 1:49 PM, Walter Davis <wa...@wdstudio.com> wrote: Make sure that your page is valid before anything else. If a script works in one browser/version and not others, that's a strong hint that the HTML is being interpreted in more than one manner. Valid HTML or XHTML is unambiguous.

Walter


On May 2, 2011, at 1:43 PM, Audrey Bowman wrote:

Hi Walter,

I've got it to work in IE8 now - closing out a form and starting a new one did it. And it sort of works in IE 7 now. I can drag objects up, but cannot drag elements below any of the lower elements.

I'm sorting database results, identified by DIVS. Basically it's a multi-line formatted result set that I want users to be able to re- sort as necessary.

Thanks for your help,
Audrey

On Mon, May 2, 2011 at 1:28 PM, Walter Davis <wa...@wdstudio.com> wrote: What is the HTML structure that you are sorting? Is it an UL with sortable LIs, or another structure?

Walter


On May 2, 2011, at 11:11 AM, Audrey wrote:

I have a problem with the sortable function in IE (I've tested both 7
& 8). It does not occur in Firefox or Chrome.

What is happening is that if a user tries to change the first element
of my sortable list, it does the following:

In IE7, it will not allow the user to change the position of the top
element. It is draggable, but will not move the other elements. It
simply adds a blank space at the top of the element list. Dragging
elements other than the first works just fine.

--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .



--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .

--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .



--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .

--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .


--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .




--
You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com . To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en .

--
You received this message because you are subscribed to the Google Groups "Prototype 
& script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to