[Rails-spinoffs] Re: Prototype DateChooser

2007-09-07 Thread Brian Williams
at the risk of sounding like a total newb i'm not sure what you mean by "stay in the same DOM" if you looked at more than the first example you'll see that not all of them create popup windows. On 9/7/07, Matt Foster <[EMAIL PROTECTED]> wrote: > > > Hey Guys, > > > These are great suggesti

[Rails-spinoffs] Re: Prototype DateChooser

2007-09-07 Thread Diodeus
I threw one together a while back. It's pretty bare-bones and the code is kinda ugly. You'll need to look at the code an build your own stylesheet. It works though. I just use it for back-end admin stuff where I need something simple. http://beta.moveable.com/jameslab/datepicker.zip On Sep 7, 1:

[Rails-spinoffs] Re: Brand new to AJAX

2007-09-07 Thread Diodeus
Prototype just fetches XML data. You still need to navigate the XML tree as you normally would. On Sep 7, 1:55 pm, malaubli <[EMAIL PROTECTED]> wrote: > I'm brand new to AJAX and have seen a couple of examples. > > To make it as simple as possible, I'm trying to learn to use > prototype.js to acc

[Rails-spinoffs] data grid/ pagination using scroll bar

2007-09-07 Thread Surendra
Hi, Are there any prototype/scriptaculous based data grids or paginating scroll bars like what is there in yahoo mail beta, or aim mail beta? Or maybe even some good tips and tricks on building a widget like those, will be helpful. Thanks! -- Surendra Singhi --~--~-~--~~--

[Rails-spinoffs] Re: Prototype DateChooser

2007-09-07 Thread Matt Foster
Hey Guys, These are great suggestions and right in line with what I asked for, unfortunately Brian's uses a window pop out and i really want to stay in the same DOM, and Ken's is an extension of the dynarch calendar which very well could be the heaviest implementation I've seen. Thanks aga

[Rails-spinoffs] Re: Dynamic Sortable with Ajax.Update

2007-09-07 Thread soze
Your comments were very helpful. It gave me something new to think about and other avenues to try and pursue. Still got the problem. Going to try and use the Ajax.Updater for generating the script rather than using it for bringing back the list. Maybe that may work. Anyone else got any ideas? On

[Rails-spinoffs] Re: Dynamic Sortable with Ajax.Update

2007-09-07 Thread Brian Williams
ah well, i've only been using PT for about a week now, was just pointing out errors that i thought i saw On 9/7/07, soze <[EMAIL PROTECTED]> wrote: > > > Well thanks for the previous but the problem still exists. > > I need to leave the onComplete: handleloadAllMusic as is because that > enables

[Rails-spinoffs] Re: Dynamic Sortable with Ajax.Update

2007-09-07 Thread soze
Well thanks for the previous but the problem still exists. I need to leave the onComplete: handleloadAllMusic as is because that enables me to create the function with the variable for the response from the call. I use it to create the ul with the li to create as sortable. (e.g. function handlelo

[Rails-spinoffs] Re: Prototype DateChooser

2007-09-07 Thread Brian Williams
that one looks nice i'll have to give it a shot currently using http://www.mattkruse.com/javascript/calendarpopup/ On 9/7/07, Ken Snyder <[EMAIL PROTECTED]> wrote: > > > Matt Foster wrote: > > Hey Guys, > > > > I am looking for a good datechooser that works with > > prototype > Ha

[Rails-spinoffs] Brand new to AJAX

2007-09-07 Thread malaubli
I'm brand new to AJAX and have seen a couple of examples. To make it as simple as possible, I'm trying to learn to use prototype.js to access the of the that I know has a of E260. I've got my Lotus Notes based products.xml file works and looks like this: E1

[Rails-spinoffs] Re: help: change location url without load new page?

2007-09-07 Thread Nicolás Sanguinetti
If you're on http://example.net/mypage, window.location.hash = "something" sets the url to http://example.net/mypage#something. You can then set window.location.hash to "my/subpath/like/this", and do Ajax requests to fetch that url onload, as a simple way of solving the bookmarking issues with Aj

[Rails-spinoffs] Ajax.PeriodicalUpdater: onComplete seems to not work

2007-09-07 Thread phicarre
Hello, I have a problem with the function Ajax.PeriodicalUpdater. The following code run the php module every 20 seconds. url='gen_data_xml.php' + '?StopCache=' + new Date; new Ajax.PeriodicalUpdater('Cool',url, { evalScripts : true, method: 'ge

[Rails-spinoffs] Re: Prototype DateChooser

2007-09-07 Thread Ken Snyder
Matt Foster wrote: > Hey Guys, > > I am looking for a good datechooser that works with > prototype Have you looked at http://datetime.toolbocks.com/ ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby

[Rails-spinoffs] Prototype DateChooser

2007-09-07 Thread Matt Foster
Hey Guys, I am looking for a good datechooser that works with prototype. I've seen a few other approaches but they're such a mess, who's got some clean code to create a simple JS based datechooser? Cheers, Matt --~--~-~--~~~---~--~~ You receive

[Rails-spinoffs] Re: Scriptaculous Effect scaling problem

2007-09-07 Thread Brian Williams
here's what a quick Google search found for me http://dev.rubyonrails.org/ticket/5732 On 9/7/07, Antonio CS <[EMAIL PROTECTED]> wrote: > > I can't find reference to the wrap method. Can you give me a link to some > reference please? > > On 9/7/07, Nicolás Sanguinetti < [EMAIL PROTECTED]> wrote:

[Rails-spinoffs] Re: help: change location url without load new page?

2007-09-07 Thread Brian Williams
well, csv isn't the specific answer but it all basically boils down to an array with a consistent unique delimiting field that the server can use to parse and then load and serve the appropriate information On 9/7/07, Antonio CS <[EMAIL PROTECTED]> wrote: > > *comma-separated values ??* > > On

[Rails-spinoffs] Re: Smooth Scroll (or maybe just script attachment) problems in IE7/XP

2007-09-07 Thread Walter Lee Davis
Does your example correspond to a single public release of Scriptaculous, or is this something that will only work with this particular version of prototype.js and effects.js? I am having trouble getting this to work -- Firefox/bug is barfing on the CSS3 selector, and Safari just tells me "und

[Rails-spinoffs] Re: help: change location url without load new page?

2007-09-07 Thread Antonio CS
*comma-separated values ??* On 9/7/07, Brian Williams <[EMAIL PROTECTED]> wrote: > > you know, a hash, akin to csv > > > > On 9/7/07, Antonio CS <[EMAIL PROTECTED]> wrote: > > > > What do you mean with "hashes"?? > > > > On 9/7/07, Nicolás Sanguinetti < [EMAIL PROTECTED]> wrote: > > > > > > > > >

[Rails-spinoffs] Re: Scriptaculous Effect scaling problem

2007-09-07 Thread Antonio CS
I can't find reference to the wrap method. Can you give me a link to some reference please? On 9/7/07, Nicolás Sanguinetti <[EMAIL PROTECTED]> wrote: > > > I suppose the problem is that it's counting the offsetHeight without > considering the paddings and borders. This was discussed not long ago >

[Rails-spinoffs] Re: help: change location url without load new page?

2007-09-07 Thread Brian Williams
you know, a hash, akin to csv On 9/7/07, Antonio CS <[EMAIL PROTECTED]> wrote: > > What do you mean with "hashes"?? > > On 9/7/07, Nicolás Sanguinetti <[EMAIL PROTECTED]> wrote: > > > > > > Without reloading the page, no, it's not possible due to security > > concerns, as the examples have shown

[Rails-spinoffs] Re: Ajax.request transport.responseText in IE7 unknown

2007-09-07 Thread Idealnet
I am replying to myself: After adding: onException: function(req,exception) { alert("The request had a fatal exception thrown.\n\n" + exception); alert("exception.description:"+exception.description); alert("exception.message"+exception.message); return t

[Rails-spinoffs] Re: help: change location url without load new page?

2007-09-07 Thread Antonio CS
What do you mean with "hashes"?? On 9/7/07, Nicolás Sanguinetti <[EMAIL PROTECTED]> wrote: > > > Without reloading the page, no, it's not possible due to security > concerns, as the examples have shown above. > > If you want to store the location in an Ajax app, use hashes :) > > -Nicolas > > On 9

[Rails-spinoffs] Re: Smooth Scroll (or maybe just script attachment) problems in IE7/XP

2007-09-07 Thread Walter Lee Davis
Thanks, this looks really good. It doesn't smooth-scroll in Safari 1.3, probably because Event.stop doesn't work there. That's why I had the extra line: this.onclick = function() {return false;}; I'll give this a try and see if it cleans up the IE7 problem. Walter On Sep 7, 2007, at 9:54 AM,

[Rails-spinoffs] Re: help: get div content from ajax.request?

2007-09-07 Thread [EMAIL PROTECTED]
mmm not exactly, i want update a div (#AJAXresultextras) whit the content of another div in the data return by de request or updater. e.g. //we have this html contenido //call the request: new Ajax.Request('./', { method: 'post', parameters: $ ('result

[Rails-spinoffs] Re: Scriptaculous Effect scaling problem

2007-09-07 Thread Brian Williams
thanks i was wondering about this because removing the padding in the site i am working on right now is not a solution, at least not an easy one to maintain the look & feel On 9/7/07, Nicolás Sanguinetti <[EMAIL PROTECTED]> wrote: > > > I suppose the problem is that it's counting the offsetHeigh

[Rails-spinoffs] Re: Scriptaculous Effect scaling problem

2007-09-07 Thread Nicolás Sanguinetti
I suppose the problem is that it's counting the offsetHeight without considering the paddings and borders. This was discussed not long ago in the prototype-core list I think. Quick solution: new Effect.BlindDown( $("element").wrap("div").up(), ); the wrapping div doesn't have neither paddi

[Rails-spinoffs] Re: help: get div content from ajax.request?

2007-09-07 Thread Nicolás Sanguinetti
You want to update a div with the response of the ajax request *plus* store the response in a global variable? This might work. new Ajax.Updater("AJAXresults", "./", { parameters: $("resultextras").serialize(true), onComplete: function(transport) { window.ajaxResponse = transport.response

[Rails-spinoffs] Ajax.request transport.responseText in IE7 unknown

2007-09-07 Thread Idealnet
Hi, I am trying to run this code: function registerChallenge() { var postBodyVars = 'loginName='+document.getElementById('name').value; new Ajax.Request('ajaxRegisterChallenge.php', { method: 'post', postBody: postBodyVars, onSuccess: function(transport) { al

[Rails-spinoffs] Re: Scriptaculous Effect scaling problem

2007-09-07 Thread [EMAIL PROTECTED]
I think I fixed it with the removal of the border of the div, strange but true. Any explanations? On Sep 7, 5:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hmm, i've removed the padding, and however the "hop" is smaller, it's > still there... > > On Sep 7, 4:30 pm, "Nicolás Sanguinetti

[Rails-spinoffs] help: get div content from ajax.request?

2007-09-07 Thread [EMAIL PROTECTED]
hi, (i'm new on ajax and prototype) i have this: new Ajax.Request('./', { method: 'post', parameters: $('resultsextras').serialize(true), onSuccess: function(transport){

[Rails-spinoffs] Re: Scriptaculous Effect scaling problem

2007-09-07 Thread [EMAIL PROTECTED]
Hmm, i've removed the padding, and however the "hop" is smaller, it's still there... On Sep 7, 4:30 pm, "Nicolás Sanguinetti" <[EMAIL PROTECTED]> wrote: > Padding attack! Remove the vertical padding from the element and check > if it works. > > Nicolas > > On 9/7/07, [EMAIL PROTECTED] <[EMAIL PRO

[Rails-spinoffs] Re: help: change location url without load new page?

2007-09-07 Thread Nicolás Sanguinetti
Without reloading the page, no, it's not possible due to security concerns, as the examples have shown above. If you want to store the location in an Ajax app, use hashes :) -Nicolas On 9/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > and change the url like > > http://www.myweb.com/ >

[Rails-spinoffs] Re: Scriptaculous Effect scaling problem

2007-09-07 Thread Nicolás Sanguinetti
Padding attack! Remove the vertical padding from the element and check if it works. Nicolas On 9/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I can't see how this is default behaviour, and i've seen it working > normally on i.e. the demo page of scriptaculous > > Hendrik > > On 7 s

[Rails-spinoffs] Enough SPAM already!

2007-09-07 Thread Diodeus
This group needs more moderators. Someone needs to start killing these spam messages. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails

[Rails-spinoffs] Re: Prototype: Having event issues

2007-09-07 Thread Diodeus
Just write-out the values from PHP instead of hard-coding the following lines: otherparameter = "XX" anotherparameter = "YY" On Sep 7, 7:16 am, Sykoi <[EMAIL PROTECTED]> wrote: > Anyone? > > On Sep 6, 2:22 pm, Sykoi <[EMAIL PROTECTED]> wrote: > > > Errr, I need to pass the variables from an onM

[Rails-spinoffs] Re: help: change location url without load new page?

2007-09-07 Thread [EMAIL PROTECTED]
and change the url like http://www.myweb.com/ to: http://www.myweb.com/directory/x ?? is possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, sen

[Rails-spinoffs] How to finally make money online:Untold Marketing Secrets

2007-09-07 Thread Moona Naeem
How to finally make money online:Untold Marketing Secrets These days, it seems like everybody is looking for a way to make money online and quit their day job. People are trying to figure out the rules of the marketing game. http://doiop.com/49gp3z Tips for Medium Length Hair Styles Medium

[Rails-spinoffs] Re: help: change location url without load new page?

2007-09-07 Thread Jean-Christophe Roux
> is possible change location url without load new page? any easy way, > script, fuction? Me too, I'd like to know if it is feasible technically. One use case is to have all the benefits of an ajax website with the ability for the user to bookmark the site with some state. - Original Mess

[Rails-spinoffs] Re: Smooth Scroll (or maybe just script attachment) problems in IE7/XP

2007-09-07 Thread Tobie Langel
Wrote this a while ago: http://tobielangel.com/2007/3/11/a-fistful-of-dollars On Sep 7, 3:45 pm, Walter Lee Davis <[EMAIL PROTECTED]> wrote: > I wrote the following script to add the smooth-scroll behavior to all > in-page anchors. (N.B.: I didn't design the problem page, just wrote > the scr

[Rails-spinoffs] Re: Scriptaculous Effect scaling problem

2007-09-07 Thread [EMAIL PROTECTED]
I can't see how this is default behaviour, and i've seen it working normally on i.e. the demo page of scriptaculous Hendrik On 7 sep, 15:38, "Antonio CS" <[EMAIL PROTECTED]> wrote: > I think this is the default behavior. I also use the BlindDown/ScrollDown > effect and it also does this. > >

[Rails-spinoffs] Smooth Scroll (or maybe just script attachment) problems in IE7/XP

2007-09-07 Thread Walter Lee Davis
I wrote the following script to add the smooth-scroll behavior to all in-page anchors. (N.B.: I didn't design the problem page, just wrote the script.) It works in IE6 and all the Mac browsers. IE7 is doing nothing at all, however. Could this have something to do with the fact that when the

[Rails-spinoffs] Re: Scriptaculous Effect scaling problem

2007-09-07 Thread Antonio CS
I think this is the default behavior. I also use the BlindDown/ScrollDown effect and it also does this. On 9/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Whenever I try to BlindDown/ScrollDown a div, it scrolls a few pixels > too far and then it'll hop back a few pixel to it's intended

[Rails-spinoffs] Re: help: change location url without load new page?

2007-09-07 Thread trigan
e.g. you want change http://www.relbdhackers.to to http://www.ebay.com i hope that is not possible ;) On Sep 7, 2:10 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > is possible change location url without load new page? any easy way, > script, fuction? > > the complete location u

[Rails-spinoffs] Scriptaculous Effect scaling problem

2007-09-07 Thread [EMAIL PROTECTED]
Whenever I try to BlindDown/ScrollDown a div, it scrolls a few pixels too far and then it'll hop back a few pixel to it's intended size. It has nothing to do with the content of the div, since it'll also do this when the div is empty. See the top-div at http://www.ttv-vvv.nl/home/startpagina/ Th

[Rails-spinoffs] Re: How to add a handle

2007-09-07 Thread Jon Trelfa
On 9/7/07, rexartorius <[EMAIL PROTECTED]> wrote: > > > darg the mouse across the map the > div is dragged -as you would expect. I have tried creating hande for > the div but this does not seem to have much effect. > I've found that that it works better for me if the handle has an ID *and* I pass

[Rails-spinoffs] Re: How to add a handle

2007-09-07 Thread rexartorius
Hello again, I have decided to try a way around this. I make the div draggable by default, make a second div inside this which act as the handle. This can have a mouseover even that activates the drag and an onmouseout option that disables it. The problem is that I don't understand syntax to acti

[Rails-spinoffs] help: change location url without load new page?

2007-09-07 Thread [EMAIL PROTECTED]
is possible change location url without load new page? any easy way, script, fuction? the complete location url, not only add a hash thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs"

[Rails-spinoffs] Re: Prototype: Having event issues

2007-09-07 Thread Gareth Evans
write hidden inputs to the page with ids and value= whatever in php from your php and read them in the client side javascript with $f Gareth On 9/7/07, Sykoi <[EMAIL PROTECTED]> wrote: > > > Anyone? > > On Sep 6, 2:22 pm, Sykoi <[EMAIL PROTECTED]> wrote: > > Errr, I need to pass the variables fr

[Rails-spinoffs] Re: fast updating of text in large page

2007-09-07 Thread Gareth Evans
See if the browser is smart. Change the span to a div (span's are inline, and thus are not allowed dimensions... and divs are block elements) Set a width and height on the div. See if the screen is redrawn then, with the fixed width and height, optimally the browser would realise there's no need..

[Rails-spinoffs] Re: Prototype: Having event issues

2007-09-07 Thread Sykoi
Anyone? On Sep 6, 2:22 pm, Sykoi <[EMAIL PROTECTED]> wrote: > Errr, I need to pass the variables from an onMouseOver in a div, the > variables are dynamically generated by PHP - so... Errr Any way to do > that? > > On Sep 6, 8:14 am, Diodeus <[EMAIL PROTECTED]> wrote: > > > > > Try this: > > > >

[Rails-spinoffs] Re: How to add a handle

2007-09-07 Thread rexartorius
Sorry I should have said I was am using the scriptaculous and prototype method of creating the draggable divs On Sep 7, 10:31 am, rexartorius <[EMAIL PROTECTED]> wrote: > Hello All, > > I am just starting dabbling with Ajax so apologies if this is basic. I > have creatde a page with a number of p

[Rails-spinoffs] How to add a handle

2007-09-07 Thread rexartorius
Hello All, I am just starting dabbling with Ajax so apologies if this is basic. I have creatde a page with a number of pops up on and they all work wonderfully and how I want them expect one. This one has a dynamically generated map in it. Our users can zoom in to parts of the map by dragging a c

[Rails-spinoffs] Job Opportunity

2007-09-07 Thread Planet Jobs
*Scholarship and Job in **http://cambodiajobs.blogspot.com* Programme Officer-(0915)with United Nations Environment Programme _Paris based Special Assistant to Chief-(0901)

[Rails-spinoffs] Autocomplete Questions (Umlaut,AfterUpdateElement)

2007-09-07 Thread [EMAIL PROTECTED]
Hello all I got 2 little questions: The first is, what can i do, when some special Chars like "ä", "ö", "ü" doesn't work. Is there a way to edit .js files, and where. ex: if i use the general AJAX.Request with "postbody: 'name'+escape(var)" it will work cause of the escape function, but then i ha

[Rails-spinoffs] [Free Training] Facilitating multi-stakeholder processes and social learning Trainings

2007-09-07 Thread Planet Jobs
*Scholarship and Job in **http://cambodiajobs.blogspot.com* *Facilitating multi-stakeholder processes and social learning Trainings* *The Netherlands, 8 - 26 September 2008* Advanced

[Rails-spinoffs] [Scholarship] Japanese Grant Aid forHuman Resource Development Scholarship

2007-09-07 Thread Planet Jobs
*Scholarship and Job in **http://cambodiajobs.blogspot.com* *What is Japanese Grant Aid forHuman Resource Development Scholarship (JDS) program?* The JDS Program is to provide nationalities of Bangladesh, Cambodia, China, Indonesia, Laos, Mongolia, Myanmar, Phil

[Rails-spinoffs] [Scholarship] Japanese Grant Aid forHuman Resource Development Scholarship (JDS)

2007-09-07 Thread Planet Jobs
*Scholarship and Job in http://cambodiajobs.blogspot.com* ** *What is Japanese Grant Aid forHuman Resource Development Scholarship (JDS) program?* The JDS Program is to provide nationalities of Bangladesh, Cambodia, China, Indonesia, Laos, Mongolia, Myanmar, Philippines, Uzbekistan and Vietnam wi