[Proto-Scripty] return to updated after ajax.updater.

2008-10-19 Thread SQE
Hi Folks... I have a div in the middle of a page that updates a mysql db. Everything is working fine, except that when the update happens, the window scrolls to the top of the page, and I can't figure out why.is there a way to return to where I was working on a page after an ajax.updater? ne

[Proto-Scripty] Re: return to updated after ajax.updater.

2008-10-19 Thread T.J. Crowder
Hi, Shooting in the dark here, but could it be that briefly during the update process (I notice you have two separate calls, one happening when the other completes) the stuff being updated is largely blank? Browsers try to keep the viewport full, so if you page gets shorter during the update proc

[Proto-Scripty] Re: return to updated after ajax.updater.

2008-10-19 Thread Baglan
There's a silly little mistake which frequently gets overlooked - I'm sure it's not the case here, but if you're initiating updates with a construct like this: Update make sure you include a 'return false;' at the end of the statement: Update Otherwise default behavior gets triggered and '#' m

[Proto-Scripty] Select field IE problem

2008-10-19 Thread Cristisor
Hi. I have a select field that allows me to select a birthday. I need to decide how many days the field has according to the selected month. In Firefox I can hide days 30 and 31 using $('Birthdate_Day').options[30].hide(); or $ ('Birthdate_Day').options[30].disabled == 1; But this doesn't work in

[Proto-Scripty] Re: Dynamic script file loading

2008-10-19 Thread webbear1000
I've written some stuff do load dynamic js for my personal library. // hash of namespace names and functions to execute when a namespace has loaded BearLib.loadExecuteQueue = new Hash(); // configuration options BearLib.Config = { // location of bearlib folder libraryPath: [your javascri

[Proto-Scripty] Re: Select field IE problem

2008-10-19 Thread kangax
On Oct 19, 6:51 am, Cristisor <[EMAIL PROTECTED]> wrote: > Hi. I have a select field that allows me to select a birthday. I need > to decide how many days the field has according to the selected month. > In Firefox I can hide days 30 and 31 using > $('Birthdate_Day').options[30].hide(); or $ > ('B

[Proto-Scripty] Re: Select field IE problem

2008-10-19 Thread Cristisor
I'm sorry, I did a mistake in the code. It should be like this: $('Birthdate_Day').options[30].disabled = 1; only one "=" What you are saying works in Firefox, but it doesn't work in IE 6. On Oct 19, 6:51 pm, kangax <[EMAIL PROTECTED]> wrote: > On Oct 19, 6:51 am, Cristisor <[EMAIL PROTECTED]> w

[Proto-Scripty] Problem with jumping element with Sortable.create

2008-10-19 Thread morre95
I´m trying to develop a puzzle game. Like the one you find here http://github.com/madrobby/scriptaculous/wikis/puzzle-demo My problem is that i want to show the user the correct position off all images at first. And after 1 second i will reorder them with Effect.Move(); This i have solved. But wh

[Proto-Scripty] Re: Select field IE problem

2008-10-19 Thread T.J. Crowder
> What you are saying works in Firefox, but it doesn't work in IE 6. I think what he's saying is if you don't want the option to appear *at all*, you have to remove it from the options list when you don't want it and add it when you do; you can't "hide" it: > > As far as hiding goes, I don't thi

[Proto-Scripty] Re: Problem with jumping element with Sortable.create

2008-10-19 Thread kangax
On Oct 19, 1:25 pm, morre95 <[EMAIL PROTECTED]> wrote: > I´m trying to develop a puzzle game. Like the one you find > herehttp://github.com/madrobby/scriptaculous/wikis/puzzle-demo > > My problem is that i want to show the user the correct position off > all images at first. And after 1 second i

[Proto-Scripty] Demos?

2008-10-19 Thread Leonard Burton
What happened to the demos on the script.acaulo.us site? -- Leonard Burton, N9URK http://www.jiffyslides.com [EMAIL PROTECTED] [EMAIL PROTECTED] "The prolonged evacuation would have dramatically affected the survivability of the occupants." --~--~-~--~~~---~--~~

[Proto-Scripty] Re: Demos?

2008-10-19 Thread Justin Perkins
All that stuff has been moved to the github wiki for Scriptaculous: http://github.com/madrobby/scriptaculous/wikis All the scriptaculous links at script.aculo.us point over to the wiki but I did notice that the "animation framework" link points to an invalid page at github, which probably made y

[Proto-Scripty] Re: Demos?

2008-10-19 Thread Leonard Burton
Thanks for the response, I find github to be nearly impossible to search. I am unable to find out how to do the simplest thing which is make an effects queue loop instead of stop at the end, because I cannot find the relevant documentation. Would it not be better for us to setup media wiki or som

[Proto-Scripty] Re: Demos?

2008-10-19 Thread Justin Perkins
I agree github is a little tough to use if you're just looking for demos. There has been a lot of talk about setting up an easier to use wiki, but the details are still being worked out iirc. In the meantime the wiki on github is the best option. Which effect are you wanting to loop? -justin --

[Proto-Scripty] Re: Demos?

2008-10-19 Thread Leonard Burton
Justin, Thanks for the help, Essentially I have this and I would like it to loop through the queue instead of ending: function test(){ sequence.delay(2) } function sequence() { var options = { queue: 'end' }; //$('logo1').appear(options); $('logo1').fade(options); $('logo2').appear(optio

[Proto-Scripty] Re: return to updated after ajax.updater.

2008-10-19 Thread SQE
TJ and Baglan... Thanks so much for the responses! Actually, both are very helpful, though the quick fix was to add the return false.I have not been doing that, because up until now, I've usually needed the page to move to the top anyway, so this is a useful tip. I've got to take a good loo