[Proto-Scripty] Custom Property on TextNode

2009-01-05 Thread Matt Foster
Hey Everyone, I'm working on a project that swaps out text nodes. I need to save a reference to the new text node with the existing node. In FF I am able to set custom properties no problem, IE however throws an error of Object does not support this property or method. I was thinking I

[Proto-Scripty] Re: Position.includeScrollOffsets=true and Draggable inside a scrolling div ?

2009-01-05 Thread astilla
This trac report seems to mirror the problem I am seeing. Raised 2 years ago, updated 1 year ago - not resolved. Any idea why this hasn't made it into the live version? http://dev.rubyonrails.org/ticket/8356 On Jan 5, 2:29 pm, astilla ajb...@googlemail.com wrote: I didn't have any replies to

[Proto-Scripty] Re: Position.includeScrollOffsets=true and Draggable inside a scrolling div ?

2009-01-05 Thread astilla
I didn't have any replies to this since posting it and hope someone can help as I still have the issue. I have created a test page that shows the issue - details on the problem are both on the test page and in the original email (below). http://www.astilla.co.uk/temp/draggabledemo/ Many

[Proto-Scripty] Re: Ajax.Updater doesn't work correctly in IE6

2009-01-05 Thread Vinny Carpenter
Hi everyone. I think I found the issue and so I'm replying to my own question in case someone else has the same issue. Turns out that some of our IE6 users didn't have all of the latest patches from Microsoft including one that fixed jscript.dll. Found this page that was very helpful -

[Proto-Scripty] Re: emptyFunction() calls take up to 30% of execution time

2009-01-05 Thread redheat
Because Firebug has to open its timer and log every function call, it will appear that 30% of your execution time is emptyFunction. However, it is actually Firebug trying to log something and taking longer than the function itself. You will find that disabling Firebug will make your app run much

[Proto-Scripty] Re: Custom Property on TextNode

2009-01-05 Thread kangax
On Jan 5, 11:23 am, Matt Foster mattfoste...@gmail.com wrote: Hey Everyone,       I'm working on a project that swaps out text nodes.  I need to save a reference to the new text node with the existing node.  In FF I am able to set custom properties no problem, IE however throws an error

[Proto-Scripty] Effect.toggle(slide... not working in IE

2009-01-05 Thread newhanoian
Hi, I have a nested unordered list that I'm using as a side nav for categories that have a tree structure, and I've successfully gotten Effect.toggle(slide... to work in FF, Safari, Chrome, but it's not working in IE (6|7) and I can't see why. Clicking on one of the categories that has children

[Proto-Scripty] Jagged Text with setOpacity

2009-01-05 Thread bflanagan
Hey all- I know this has been covered before, but all of he fixes I've found don't seem to be working for me. OF course the issue is with IE... I'm implementing a simple fadeIn/fadeOut using prototype's setOpacity. In IE7, the text changes format during the fades. One fix I've seen is to

[Proto-Scripty] error in IE7 while trying to readAttribute from option

2009-01-05 Thread kidbrax
when I try the following code I get an error in IE7: someVar = mySelect.options[mySelect.slectedIndex].readAttribute('rel') It causes the 'Object doesn't support this property or method' error. It only seems to happen when I run it on an option tag. Is there another way to get the 'rel'

[Proto-Scripty] Re: Effect.toggle(slide... not working in IE

2009-01-05 Thread Walter Lee Davis
You were on the right track here, but your parentheses slipped off the tracks. What's happening is you are double-extending the Event.element(event) -- it's already extended -- but then using a vanilla DOM accessor to get the parentNode, and in IE, that's not being extended. You could

[Proto-Scripty] Re: error in IE7 while trying to readAttribute from option

2009-01-05 Thread RobG
On Jan 6, 6:01 am, kidbrax braxton.be...@gmail.com wrote: when I try the following code I get an error in IE7: someVar = mySelect.options[mySelect.slectedIndex].readAttribute('rel') The rel attribute is not valid for option elements, it is valid for A and LINK elements. It causes the

[Proto-Scripty] select menu with scrolling

2009-01-05 Thread Dave L
Im looking for ideas on how to implement a pull down menu that uses a scroll bar. There are about 30 items in a list and I only want to show 5 of them at a time. Anyone have any advice on how I would start this? --~--~-~--~~~---~--~~ You received this message