have you tried creating the draggable outside of your select tag?
On 6/20/06, Dark Ambient
<sambient-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> I just download 1.6 and tried doing a simple draggable , but it
doesn''t
> work.
>
> Firefox console / evaluate :
> Error: uncaught exception: [Exception... "Component returned failure
> code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIWebNavigation.loadURI]"
> nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location:
"JS frame
> :: chrome://global/content/viewSource.js :: viewSource :: line 145"
> data: no]
>
> Here is the source code:
>
> <script type="text/javascript"
src="prototype.js"></script>
> <script type="text/javascript"
src="builder.js"></script>
> <script type="text/javascript"
src="effects.js"></script>
> <script type="text/javascript"
src="dragdrop.js"></script>
> <script type="text/javascript"
src="controls.js"></script>
> <script type="text/javascript"
src="slider.js"></script>
>
>
>
>
> <title>Untitled Document</title>
> </head>
> <body>
> <select name="select1" size="20"
id="select_1">
> <script type="text/javascript">new
Draggable(''select_1'',
> {revert:true})</script>
> </select>
>
> </body>
>
> I tried the script further up with no luck either. Not that it''s
> about luck , but considering the simplicity not sure why it won''t
> work.
> Anyone ?
> TIA
> Stuart
> _______________________________________________
> Rails-spinoffs mailing list
> Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
>
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs