[Proto-Scripty] new with question about dom:loaded on ie

2008-11-17 Thread Jay
ideas for best ways to trace what is happening - I sure miss Firebug everywhere else. Thanks, --Jay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email

[Proto-Scripty] Re: cross browser $$ selector problems

2008-11-19 Thread Jay
sorry, I meant to make the prototype library src link more generic before sending - just point it to your favorite 1.6.0.3 link On Nov 19, 11:34 am, Jay [EMAIL PROTECTED] wrote: Hi All, I seem to be painted into a corner with use of $$ with respect to case sensitivity of the id attribute

[Proto-Scripty] cross browser $$ selector problems

2008-11-19 Thread Jay
') and Safari can find it only with $$('#abc'). IE finds both, i.e. not at all case sensitive. I have a test case below - just run on different browsers, and you will see different results. Thanks, --Jay html head titletest4/title script src=http://ussda.demosphere.com/common/js/ps1.8.1/ prototype.js

[Proto-Scripty] Re: cross browser $$ selector problems

2008-11-19 Thread Jay
. On Nov 19, 2:41 pm, T.J. Crowder [EMAIL PROTECTED] wrote: Hi Jay, Thanks for this.  We can ignore the results for when the case of the ID you're requesting is different from the case of the ID on the table, since case is significant in IDs[1] -- not that I'm surprised to see that IE is, um

[Proto-Scripty] Re: cross browser $$ selector problems

2008-11-19 Thread Jay
not in Firefox nor IE. So again, if there is any way to make Prototype.js wrap up these browser inconsistencies, it would be a boon for the programmer. Cheers, --Jay On Nov 19, 1:57 pm, Alex Mcauley [EMAIL PROTECTED] wrote: $$() with # does not return anything more in the array than one element

[Proto-Scripty] Re: select only text (i.e. textnodes, probably) using $$

2008-11-19 Thread Jay
I notice you have an uppercase letter in your $$ selector. I don't know, but this could cause you some problems if you are not using Firefox. Please see the discussion called 'cross browser $$ selector problems'. You should not need to do this, but just for a test, try making all id's and class

[Proto-Scripty] Re: cross browser $$ selector problems

2008-11-20 Thread Jay
the ticket open, as well as finding out more about the doctype directive. This is a very responsive list, and I really appreciate the help. --Jay On Nov 20, 3:57 am, T.J. Crowder [EMAIL PROTECTED] wrote: @Jay: Not sure why you think we can ignore the scenario where the case of the ID is different

[Proto-Scripty] Re: remove() not working in IE7

2008-11-23 Thread Jay
In your test, have you proven that the argument to the RemoveCategoryField function has the intended element in it? It might be worthwhile to try an alert(div.id) at the beginning just to be sure. Or even alert('div is '+div.id+', and parent is '+div.up().id). On Nov 22, 8:01 pm, Wallis [EMAIL

[Proto-Scripty] table does not display in IE7 until DOM explorer is turned on...

2008-12-22 Thread Jay
I'm using the following code to add a table to DOM. var table = Builder.node('table', {id: x}, Builder.node('tbody', eachdayArr) ); $('parent').insert(table); But this doesn't show right away in IE (works fine in FF). When I turn on my DOM explorer, however, it suddenly shows!! (By

[Proto-Scripty] Re: table does not display in IE7 until DOM explorer is turned on...

2008-12-22 Thread Jay
. You could try Element.show('') after your insertion. On Dec 22, 3:28 am, Jay jebum@gmail.com wrote: I'm using the following code to add a table to DOM. var table = Builder.node('table', {id: x},         Builder.node('tbody', eachdayArr) ); $('parent').insert(table

[Proto-Scripty] Re: table does not display in IE7 until DOM explorer is turned on...

2008-12-22 Thread Jay
, Jay jebum@gmail.com wrote: Thanks for the suggestion. I tried this but it doesn't quite seem to work. I tried... $('parent').insert(table.show()); and.. $('parent').insert(table); table.show(); On Dec 22, 12:15 pm, Diodeus diod...@gmail.com wrote: Changing the visibility of any

[Proto-Scripty] Soft content DIV updating

2009-01-23 Thread jay
site and cannot find a similar script - can anybody help or am I on the wrong track? Thanks, Jay --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email

[Proto-Scripty] Stopping event propagation on a event handler added through onClick property

2009-03-17 Thread Jay
I'm using prototype 1.6+ and I can't figure this out. There is event handler registered through the onclick HTML property. input... id=myinput onClick='some javascript statements + function calls here...' And later, I'm adding another event handler to it with $ ('myinput').observe('submit',

[Proto-Scripty] Re: Stopping event propagation on a event handler added through onClick property

2009-03-19 Thread Jay
I don't think input elements have a submit event. Form elements do. So that would be step one. :-) Ah.. you're right. I did ('myinput').observe('click', foofunc); not 'submit'. Thanks for catching this. So I'm basically adding another handler tied to exact same event as the DOM0 style

[Proto-Scripty] Re: Stopping event propagation on a event handler added through onClick property

2009-03-19 Thread Jay
Thanks!!! T.J. that solved it. Here is piece of code I have now: var DOM0Handler = $(n).onclick; $(n).onclick = ; n.observe('click', function(evt) { alert('im done!'); if (conditiontrue) DOM0Handler(); else return; }); type

[Proto-Scripty] scriptaculous dragdrop left percentage

2009-03-23 Thread Jay
%'}); With that it doesn't flash, and stays lined up as the drag and drop operates, but of course it isn't reacting to dynamic changes in container size as it would with a percentage. Thanks, --Jay --~--~-~--~~~---~--~~ You received this message because you are subscribed

[Proto-Scripty] having a default of no selection in drop down list

2009-03-27 Thread Jay
hi, I've seen this question asked a couple of times with no response so I thought I'd ask. When I am using the Autocompleter and I don't want the listbox to have a default selection... should I be writing my own updateElement method and overriding the existing one? or should I be doing

[Proto-Scripty] Re: having a default of no selection in drop down list

2009-04-01 Thread Jay
: On 30 Mrz., 11:24, claus.k...@googlemail.com claus.k...@googlemail.com wrote: On 27 Mrz., 14:18, Jay hooligan...@gmail.com wrote: hi, I've seen this question asked a couple of times with no response so I thought I'd ask. When I am using the Autocompleter and I don't want the listbox

[Proto-Scripty] Re: having a default of no selection in drop down list

2009-04-02 Thread Jay
It is odd that this question get's no response. On Apr 2, 6:43 am, claus.k...@googlemail.com claus.k...@googlemail.com wrote: On 1 Apr., 16:23, Jay hooligan...@gmail.com wrote: ugh... I've been reading through the scriptaculous code but having no real luck figuring it out. it would

[Proto-Scripty] Re: having a default of no selection in drop down list

2009-04-03 Thread Jay
discomp Thanks for your reply. The HTML like code is rails but if you look at the bottom of the code you see the javascript I am using. Irrespective of the code tho I was asking if it is possible to have a default selection of none on the list box that is in the scriptaculous Autocompleter. my

[Proto-Scripty] Need javascript gurus' opinion about good javascript editor/debugger.

2009-04-05 Thread Jay
Hi Prototype/javascript gurus, first of all I've gotten some great help from this forum before so just wanted to say.. Thanks!! You guys are awesome. I was just playing around with script.aculo.usand javascript (BTW, JS turned out to be much cooler language than I thought) but it got me thinking

[Proto-Scripty] Re: Need javascript gurus' opinion about good javascript editor/debugger.

2009-04-06 Thread Jay
Thanks guys for the suggestions. What about good javascript editor? Is there one that can catch any syntactic errors? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this

[Proto-Scripty] Is there a obfuscator that works particularly well with Script.aculo.us?

2009-04-06 Thread Jay
Or feel free to share your experience with any particular obfuscator tool. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to

[Proto-Scripty] Re: having a default of no selection in drop down list

2009-04-07 Thread Jay
hard to follow, but I'd be willing to try if someone who knows that code could throw out some pointers) I might just use that. Jay On Apr 6, 5:08 am, claus.k...@googlemail.com claus.k...@googlemail.com wrote: On 3 Apr., 22:46, disccomp discc...@gmail.com wrote: First thing I noticed

[Proto-Scripty] Re: Prototype update suggestion: show/hide, CSS, unobtrusive

2010-01-26 Thread Jay K
You could use the toggleClassName method to switch class names, and have your styles set up to show/hide based on the class. On Jan 26, 3:13 pm, Diodeus diod...@gmail.com wrote: Try: $$(.dealerAddress).each(function(element) {element.removeClassName(dealerAddress)}); This will unhide them. Not