RE: [Rails-spinoffs] About prototype.js and IE

2006-03-20 Thread Gregory Hill
Ah, adding elements to selects. I remember having issues with that once upon a time, the best way I've found is to do: select.options[select.options.length] = new Option(text, value, false, false); One of those 'false' arguments reflects whether it should be selected, I can't recall what the oth

RE: [Rails-spinoffs] About prototype.js and IE

2006-03-20 Thread Blaise Bernier
Finally I managed to test my AJAX response and IE get the data, but is unable to show it. I'm using new Insertion.Bottom to populate a field. I've found somewhere on the internet that IE6 may have some problems with that method used with a table ( etc.) but nothing is said about the field

RE: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Claudio Gamboa
You must do 039100035000 :: tank top 03911003006 :: schedule t 03911034000 :: orange t 03911036000 :: t- shirt embroidered 36000 . . onUpdate in Sortable.crate only is called when li order was changed For that it need have an ID a

RE: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Whitcraft, Jon
Yes I just found that and it's working now. Thanks for your help. Jon Whitcraft Web Application Developer Online Services - Indianapolis Motor Speedway (317) 492-8623 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Hill Sent: Monday, March 20,

RE: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Gregory Hill
What he meant is that for onUpdate to work you need to have id="xxx_###" in your LI elements, as onUpdate uses the Sortable.serialize function to determine if something has been changed, which in turn creates a value based on the id's of the LI elements. It's explained in the wiki better than I'm

RE: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Whitcraft, Jon
No it created the sortable and I can move the li tags around but the only time it calls the onUpdate command is when I have ghostly set to true. I don't want to have ghostly set to true. Here is my code. 039100035000 :: tank top 03911003006 :: schedule t 03911034000 :

Re: [Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Claudio Gamboa
May be you forgot the LI ID in your HTML On Mon, 2006-03-20 at 12:43 -0500, Whitcraft, Jon wrote: > I have this code. > > > > > > Sortable.create('orderable', {onUpdate: doAlert}); > > > > function doAlert() { > >

[Rails-spinoffs] Sortabls onUpdate function

2006-03-20 Thread Whitcraft, Jon
I have this code.  

Sortable.create('orderable', {onUpdate: doAlert});


RE: [Rails-spinoffs] Updated the xml code to be more object-oriented

> Hi Gregory > > What you think about this If that's what you want to do, then go ahead. I wanted to keep it separate from the request so that it can be used in other contexts. Greg ___ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org h

RE: [Rails-spinoffs] About prototype.js and IE

> I'm new here and i'm not sure if it's the place to ask, but i'll do it > anyway. I want to know if it's possible that my AJAX code could be > broken for IE if it works in Firefox... I was developing on firefox for > a while and everything was fine. I decided to test on IE and no > requests wo

[Rails-spinoffs] IE opacity and png alpha

The drag&drop effect in scriptaculous makes my div dissapear in IE. I take it this is because I have a filter on the div to get alpha transparency on the pngs, and this is cancelled out by the opacity setting, yet it says this was fixed in scriptaculous. JavaScript for png filtering at botto