[Proto-Scripty] Re: prototype mobile support: best practices?

2009-08-14 Thread Cyrus
I can't believe no one has tested his projects with a mobile / touch screen device ... On 29 Jul., 11:11, Cyrus arianglan...@googlemail.com wrote: Hi, while testing my prototype scripts on Mobile Safari I have seen, that they might need extra attention in my code ;) E.g. I have a menu bar

[Proto-Scripty] prototype mobile support: best practices?

2009-07-29 Thread Cyrus
Hi, while testing my prototype scripts on Mobile Safari I have seen, that they might need extra attention in my code ;) E.g. I have a menu bar that is only visible when I move the mouse. There is no mouse (movement) on a touch screen device, so I need to do some adjustments. Are there any best

[Proto-Scripty] Strange IE6 Bug in Sortable.create

2009-06-04 Thread Cyrus
Hi, I found a bug in IE6 and Sortable.create. When you have a select box and a link within your sortable, the links are not clickable if you use the option tree: true Sortable.create('list', { tree : true }); ul id=list lia href=#test id=testtest/aselect/select/li lia

[Proto-Scripty] High performance replacement of html elements

2009-05-28 Thread Cyrus
Hi, I am using Sortable to sort potentially long lists of 100+ elements. Sortable itselfs works fast. Each list item contains a select-box with its position. We want to keep that select box to have a non-js fallback to sort the list. After each dragdrop the whole list has to be updated. I have

[Proto-Scripty] Re: Sortable tree is not working properly in the current version

2009-02-10 Thread Cyrus
. Same behaviour. On Feb 9, 6:15 pm, Cyrus arianglan...@googlemail.com wrote: Sorry for pushing this but please can someone confirm this bug. I have uploaded both examples: Old version of scriptaculous - working good:http://www.woltlab.org/sortable1 New version of scriptaculous - working

[Proto-Scripty] Re: Sortable tree is not working properly in the current version

2009-01-28 Thread Cyrus
and seems to work OK. The items are supposed to turn semi-transparent when you drag them. You should be able to disable that or change to a different effect with one of the draggable options (starteffect, endeffect). I didn't notice any other flickering. On Jan 27, 6:12 am, Cyrus arianglan

[Proto-Scripty] Re: New use case for Sortable tree?

2009-01-27 Thread Cyrus
Hey guys, sorry for messing up your thread, but obviously you are using the sortable tree: Have you experienced the same problems? (You can answer in this thread: http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/21eb698723f668b5# ) On 26 Jan., 22:12, Stephen

[Proto-Scripty] Re: Sortable tree is not working properly in the current version

2009-01-27 Thread Cyrus
I have found another bug: Sortable.create has a callback update. Update is never called in the example above (with the current version of scriptaculous). Wheras it gets called with the older version (from 2005). On 26 Jan., 12:12, Cyrus arianglan...@googlemail.com wrote: Hi, I played around

[Proto-Scripty] Re: Sortable tree is not working properly in the current version

2009-01-27 Thread Cyrus
Ok, I was wrong about the last bug: http://wiki.github.com/madrobby/scriptaculous/sortable-serialize I didn't use exactly the same id format (I didn't used the underscore). Still remains the first issue. On 27 Jan., 14:10, Cyrus arianglan...@googlemail.com wrote: I have found another bug

[Proto-Scripty] Re: Inheritance question

2009-01-15 Thread Cyrus
., 18:03, nlloyds nllo...@gmail.com wrote: Cyrus, On Jan 14, 1:50 am, Cyrus arianglan...@googlemail.com wrote: I am seeing myself copying the whole Sortable because it cannot be inherited. I don't know if it's been mentioned, but you since Sortable is just an object you could try extending

[Proto-Scripty] Sortable and lists of labels/checkboxes

2009-01-15 Thread Cyrus
Hi, I decided to open a new thread (this is the old one: http://groups.google.com/group/prototype-scriptaculous/t/303d050dd9c07329), because it is a general question how to use the Sortable of script.aculo.us correctly. Simple HTML-Code: ul id=list li id=item1labelinput type=checkbox /

[Proto-Scripty] Re: Sortable and lists of labels/checkboxes

2009-01-15 Thread Cyrus
(dom:loaded, init); On 15 Jan., 10:16, Cyrus arianglan...@googlemail.com wrote: Hi, I decided to open a new thread (this is the old one:http://groups.google.com/group/prototype-scriptaculous/t/303d050dd9c0...), because it is a general question how to use the Sortable of script.aculo.us

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Cyrus
Not in Opera 9.63 I am afraid ... On 13 Jan., 10:41, Richard Quadling rquadl...@googlemail.com wrote: 2009/1/13 Alex Mcauley webmas...@thecarmarketplace.com: if its any help the same thing happens in google chrome !! - Original Message - From: Cyrus arianglan

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Cyrus
classname than class for the inner element?  (I tend to think you just used that in your example, having seen this in something else, but just in case...) -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Jan 12, 3:37 pm, Cyrus arianglan

[Proto-Scripty] Re: Opera and $$('.wrapper .class') seems not to work correctly

2009-01-13 Thread Cyrus
Ok, thanks. Unfortunately I cannot use the child selector in my case. I'll write a bug report. On 13 Jan., 14:20, kangax kan...@gmail.com wrote: On Jan 13, 6:26 am, Cyrus arianglan...@googlemail.com wrote: [...] What would you suggest? File a bug report at Opera, Prototype or both? I

[Proto-Scripty] Re: Inheritance question

2009-01-13 Thread Cyrus
://www.prototypejs.org/api/event/stop On Tue, Jan 13, 2009 at 9:31 AM, Cyrus arianglan...@googlemail.com wrote: Ok, thanks. Let me describe my actual problem: I have a list with labels and checkboxes: ul id=list lilabelinput type=checkbox / My first checkbox/label/li lilabelinput type=checkbox

[Proto-Scripty] Opera and $$('.wrapper .class') seems not to work correctly

2009-01-12 Thread Cyrus
Hi there, I have found a weird behaviour in the opera browser. I am not sure if this is really a bug or an intended behaviour. The following example shows that the $$ function only returns one element instead of two. This is only because the second element is in a different dom level. All other

[Proto-Scripty] problem: inserting html in each loop

2008-12-12 Thread Cyrus
Hi there, I have a weird problem. Imagine following html code: div class=test/div div class=test/div div class=test/div div class=test/div div class=test/div I want to insert other html-code inside all divs class=test: var html = document.createTextNode('test');

[Proto-Scripty] show/hide and return false;

2008-12-10 Thread Cyrus
Hi, I just programmed a simple show/hide feature: You click on a link and extra information is displayed. Click again and it is hidden. The link has a href like #moreInfoContent. When I add an onclick=return false; I have the desired result that the href is not displayed in the addressbar. When

[Proto-Scripty] Re: show/hide and return false;

2008-12-10 Thread Cyrus
thank you very much :) On 10 Dez., 14:07, Walter Lee Davis [EMAIL PROTECTED] wrote: Add one line, as below. On Dec 10, 2008, at 6:50 AM, Cyrus wrote: Hi, I just programmed a simple show/hide feature: You click on a link and extra information is displayed. Click again

[Proto-Scripty] Re: hints appreciated

2008-12-09 Thread Cyrus
Thanks alot. I could change my code so it is working now! I only didn't want to write an extra function for the event handling: So I included if (element instanceof Event) { element = element.findElement(); } in my functions. Now I can call the functions with an event or with an element. On