[Rails-spinoffs] Re: Probable Ajax.updater IE problem

2007-02-17 Thread Pankaj
num = num [[ $F('refid'); What is that actually ? Is it a bracket or the OR ? [[ or || ? If this [[ then its wrong ? On Feb 17, 4:57 pm, Christophe Porteneuve [EMAIL PROTECTED] wrote: Hey Pankaj, First, please stop pinging people for reply. It's annoying, and it certainly won't make

[Rails-spinoffs] Re: Probable Ajax.updater IE problem

2007-02-17 Thread Pankaj
Please see this function for the last time. If its correct then I will give you a online reproducible case. I have created a new variable $num1 -- function getHTML(num) { var saf = 0 ; var num1; if(!num) { num1 = $F('refid'); } else { num1

[Rails-spinoffs] Re: Probable Ajax.updater IE problem

2007-02-17 Thread Neil Ravo (Manhatten Project)
Jeez, please *READ* the replies posted to you!! Obide by the etiquette which the list expects and *STOP* repeatedly mailing anyone there, please respond etc it's just damn annoying and rude (the CAPITALS I am using here are case in point and if deliberate If you had actually *READ* the previous

[Rails-spinoffs] Re: Probable Ajax.updater IE problem

2007-02-17 Thread Christophe Porteneuve
Sigh... Pankaj a écrit : Please see this function for the last time. If its correct then I will give you a online reproducible case. Your function is equivalent to the one I posted earlier, except for the fact that it uselessly creates an extra variable. It's more verbose than mine, but it

[Rails-spinoffs] Re: Probable Ajax.updater IE problem

2007-02-17 Thread Pankaj
Alright , I will give you a reproducible case on Monday. Thanks for helping me . On Feb 17, 5:44 pm, Christophe Porteneuve [EMAIL PROTECTED] wrote: Sigh... Pankaj a écrit : Please see this function for the last time. If its correct then I will give you a online reproducible case.

[Rails-spinoffs] Re: Probable Ajax.updater IE problem

2007-02-17 Thread Pankaj
Yeah you are right I am working on Firefox Debian . You seem to be genious. On Feb 17, 5:42 pm, Christophe Porteneuve [EMAIL PROTECTED] wrote: Hey Pankaj, Pankaj a écrit : num = num [[ $F('refid'); What is that actually ? Is it a bracket or the OR ? OMG, don't you even have a font

[Rails-spinoffs] Re: How to set the height of a table to 95% of the window size?

2007-02-17 Thread Phlip
Phlip wrote: x.table :id = :someTable, :width = '100%', :height = '95%', # 25ex My bad! 95% started working again; please don't ask why it stopped. ;-) -- Phlip http://www.greencheese.us/ZeekLand -- NOT a blog!!!

[Rails-spinoffs] Re: New guy with a question

2007-02-17 Thread Christophe Porteneuve
James Hatridge a écrit : Can someone make a suggestion on how to get this to work off-line? BTW I'm running SuSE 10.1 with apache, php, etc. I'd assume you have some root directory for your local Apache, where you put your app already. So add script.aculo.us' scripts in this folder structure

[Rails-spinoffs] Element.setStyle a resource hog?

2007-02-17 Thread Malard
I've been doing some profiling recently of a rather simple application. Its using the Morph function, which was leaking memory, i've fixed that but now it seems that over 60% of my applications time is spent either calling setStyle or camelize. So i'm just looking at the setStyle now, while i

[Rails-spinoffs] sortable span 2 colums

2007-02-17 Thread reggiestyles
I know how to make and use sortables, but was wondering if there is any way to make an element span across 2 collums (containment)? - I'm using DIVs as the sortable elements. ex. col 1 col 2 5 I can do it by only using one colum by setting the

[Rails-spinoffs] childrenWithClassName

2007-02-17 Thread chubaka
Hi, i need some help :) Does anywhere exists a fix for a code (scheme) like this: var blas = document.getElementsByClassName( 'foo-class', 'foo-id' ); blas.each ( function( bla ) { var subbla = Element.childrenWithClassName( bla, 'subbla-class', true ); } ); --

[Rails-spinoffs] InPlaceEditor initial selection

2007-02-17 Thread Andrew Kaspick
Quick question... how do I prevent the text in an InPlaceEditor from being selected once I enter it's edit mode? Currently when I click on the element, the input/textarea is created and all of the text in it is selected (highlighted). I want the caret to be positioned at the end of the element

[Rails-spinoffs] Re: childrenWithClassName

2007-02-17 Thread Ken Snyder
chubaka wrote: ... var blas = document.getElementsByClassName( 'foo-class', 'foo-id' ); blas.each ( function( bla ) { var subbla = Element.childrenWithClassName( bla, 'subbla-class', true ); } ); -- This scheme worked well till script.aculo v1.6.4

[Rails-spinoffs] Re: childrenWithClassName

2007-02-17 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 chubaka wrote: Hi, i need some help :) Does anywhere exists a fix for a code (scheme) like this: var blas = document.getElementsByClassName( 'foo-class', 'foo-id' ); blas.each ( function( bla ) { var subbla =

[Rails-spinoffs] Re: InPlaceEditor initial selection

2007-02-17 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Kaspick wrote: Quick question... how do I prevent the text in an InPlaceEditor from being selected once I enter it's edit mode? The same way you deal with any INPUT[type=text] elements being focused. Neither Prototype nor Script.aculo.us do

[Rails-spinoffs] Re: Need help to learn Prototype Programming

2007-02-17 Thread Phlip
Alex Duffield wrote: Well, as much as my limited dabbling has permitted, rails looks very cool, but I find it unrealistic to switch all my development over to rails simply because its cool. When I take over a site for a new client, quite often they are reluctant to move to a new ISP, as

[Rails-spinoffs] Re: Element.setStyle a resource hog?

2007-02-17 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Malard wrote: One of the first things that strikes me is that on every call we're finding out what version of the browser we're in. Which is an already well known pile of crap. Any user-agent based validation is feeble, but for one reason (or