jug Posted January 25, 2011 Share Posted January 25, 2011 Hi, I have quite a simple script that utilises the jquery sortable functionality. It works brilliantly in FF and chromes but fails quite spectacularly in IE8. As you will see from the code below, what Im trying to do, is to sort on two levels, horizontally and vertically. If anyone knows a workaround to make this work in IE8 it would be much appreciated. <html> <head> <title>Sortable Test</title> <script src="jquery.js" type="text/javascript"></script> <script src="jquery_ui.js" type="text/javascript"></script> <style type="text/css"> #sortable .vertical { width:600px; height:100px; border:1px solid #000; } #sortable .horizontal div { width:150px; height:80px; border:1px solid #000; float:left;} p {margin:0; padding:0;} </style> <script type="text/javascript"> $(function() { $("#sortable").sortable(); $("#sortable .horizontal").sortable(); }); </script> </head> <body> <div id="sortable"> <div class="vertical"> <p>here</p> <div class="horizontal"> <div><p>here</p></div> <div><p>here</p></div> <div><p>here</p></div> </div> </div> <div class="vertical"> <p>here</p> <div class="horizontal"> <div><p>here</p></div> <div><p>here</p></div> </div> </div> </div> </body> </html> Thanks in advance jug Quote Link to comment https://forums.phpfreaks.com/topic/225605-jquery-sortable-in-ie8/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.