[Proto-Scripty] Re: selectors failing in IE8FF3
Yes I agree, now I know better ;) (dots) and (colons) in ids .. it's not really their place esp. with the new Selector API. Had this API been out with HTML 4, I'm sure this would've been deprecated. On my next project, I have to let go a bit of my obsession with namespaces :) cheers -- mona On Tue, Jul 21, 2009 at 6:40 PM, Rick Waldronwaldron.r...@gmail.com wrote: This is a really interesting thread... I don't want to retract my statement, but I dont entirely agree with what i wrote previously (it's all part of learning right ?). I've discussed this with a respected colleague, and we both agree that just because a spec says so doesn't make it right or best practice, to quote him: if i start seeing div id=iswear.iamnotaclass:honest I am going to take my life - Al MacDonald (hyper-metrix.com @f1lt3r) I couldn't agree more. On Tue, Jul 21, 2009 at 8:52 AM, Alex McAuley webmas...@thecarmarketplace.com wrote: Each to their own, everyone has their own coding practices and concepts. In PHP and Perl you -could- call . a heirachial operator as it joins 2 nodes (strings for example) together - thus jumping from one to the next or making the bridge (to assimilate them) - which is what it does in Javascript for example (kind of). As i said - each to their own but if CSS explicits .className as a classname then perhaps they should think about not having dots in ID's ([0-9Aa-Zz]\-_) would be a better fit for DOM element id's in my opinion. Classnames do not allow dots as far as i know. I would've thought the devs of JS libraries wluld have realised that perhaps 0.01% of javascript developers in the world would use dots and possibly didnt want the performance lack to accomodate these users Just my 2 pence worth!!! Alex Mcauley Developer The Vacancy Market LTD http://www.thevacancymarket.com - Original Message - From: ColinFine colin.f...@pace.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, July 21, 2009 1:09 PM Subject: [Proto-Scripty] Re: selectors failing in IE8FF3 On Jul 21, 10:42 am, Alex McAuley webmas...@thecarmarketplace.com wrote: Why would you want to use . in an id In most web programming a . or a :: means its a node or part of a class or something. This makes no sense to me why anyone would want to confuse js libraries and possible server side backends. I started out agreeing with you, then thought about it, and realised that I disagree quite strongly. Why shouldn't you use dots if you want? Different languagfe use symbols in different ways. In both Perl and PHP (two widely used languages for web programming) '.' is a concatenation operator, not a hierarchical one. It is now quite common to use dots between the parts of an email name, though the purists used to complain that the dot was supposed to denote hierarchy. If the HTML spec didn't allow '.', that would be different. But since it does you are free to use them. There's no question of 'confusing' js libraries or server programs unless those libraries and programs are wrong, in which case they ought to be fixed. --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Need help for performantly creating tooltips
At 22:35 +0100 21/7/09, Alex McAuley wrote: I love semantical arguments !! Especially if you can pass them to a function. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ I'm on a seafood diet - I see food, I eat it. -- Dolly Parton --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Need help for performantly creating tooltips
Hi Alex, If you dont want to write your own may i suggest (proto fanboys dont scream blasphomy at me !!) http://flowplayer.org/tools/tooltip.html Its very very lightweight and very configurable (relies on jQuery) Well, Im not screeming :). Looks very nice, but some of the application features make heavy use of prototype and including a second js-lib is not an option. Greetings from Germany, Chris --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Need help for performantly creating tooltips
At 15:25 -0700 21/7/09, Chris wrote: If I have about 60 tooltips on page (that could load another subset of elements, that maybe have tooltips too), I would have about 120 listeners (each tooltip needs at least a mouseover and one mouseout, right?). Is it the right way to just add two listeners (as in my example in my first post), which fire only on the elements I want? This would take the needed listeners from about 120 to only 2, which seems to be a really nice thing. But if I do it with only two listeners, every time something is hovered, it uses the findElement()-method to check for a tooltip. So what is faster and less memory consuming? At the risk of stating the bleedin' obvious - and maybe there's a good reason why you can't do this - have you thought about simply sing title attributes for the elements? In most, if not all, modern browsers, they produce tooltips when the element is rolled over. -- Cheers... Chris Highway 57 Web Development -- http://highway57.co.uk/ Computers in the future may weigh no more than 1.5 tons. -- 'Popular Mechanics', 1949 --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Need help for performantly creating tooltips
Event Delegation is your friend. You can get an idea on http://usabletype.com/weblog/event-delegation-without-javascript-library/ Intrigued? Check out a live demo on event delegation in action on http://javascript.nwbox.com/NWEvents/delegates.html Really cool stuff, try editing the HTML DOM in firebug to add more 'watchable' elements, you'll see that they would have the proper functionality attached without any extra work. Although event delegation does not come with prototype core, but it can easily be implemented using something like document.observe('mouseover', function(event) { var elt = event.element(); // test if elt should show a tooltip // if yes, go ahead and show it :) }); cheers -- mona On Wed, Jul 22, 2009 at 11:25 AM, Chrisc...@clicksports.de wrote: Hi Alex, If you dont want to write your own may i suggest (proto fanboys dont scream blasphomy at me !!) http://flowplayer.org/tools/tooltip.html Its very very lightweight and very configurable (relies on jQuery) Well, Im not screeming :). Looks very nice, but some of the application features make heavy use of prototype and including a second js-lib is not an option. Greetings from Germany, Chris --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Need help for performantly creating tooltips
Hi Chris, At the risk of stating the bleedin' obvious - and maybe there's a good reason why you can't do this - have you thought about simply sing title attributes for the elements? In most, if not all, modern browsers, they produce tooltips when the element is rolled over. There are some problems with this. As far as I know the title- Attribute is limited to about 255 Chars (at least in some browsers). As it is just plain text, you cant format it (like use strongs etc). Next thing is that you cant style its overall appearance (like Backgroundcolor, Fontsize and that stuff). We want to integrate the tooltips so they are not only giving the users some information, but want to integrate this information seamlessly. Thats why regular title- Tags just dont work for us. Greetings from Germany, Chris --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] How do I implement this Prototype/AJAX effects on my page?
If you go here, http://demo2.analoganalytics.net/publishers/7/offers I want an identical effect that has three buttons -- print, email, text that does the same thing on the site. I can handle the server-side code (PHP), but I want to know how I can get that exact effect? My JavaScript is a bit above beginners (new to Prototype), and I see they are using Prototype with some other effects. Now, on Firefox, I had saved the webpages but when I tried click on either of the 3 buttons, the JavaScript effect did not work. Can anyone show me how to implement something similar on my site? --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] the problem of this.XB.firstChild is null
Hi everyone: the version of prototype.js is Version: '1.6.1_rc2', there is sometimes an error in my web: this.XB.firstChild is null in 42 line anoymous() anoymous() anoymous() there are only two js files in the web,is it the problem of prototype? if it is ,how to repair it? thank you very much --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Need help for performantly creating tooltips
On Jul 21, 10:00 pm, Diodeus diod...@gmail.com wrote: Performantly isn't a word. Prove it. Hint: you can't. There is no test that you can apply which will establish that this isn't a word. Furthermore, it is perfectly understandable. This kind of ill-informed pedantry is annoying at the best of times. Here, where it was a) off-topic, b) unhelpful and c) addressed to a non-English speaker, it verged on the offensive.. --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Delete php
Just like MaGic! No, no magic, it's all you! Thanks everybody who contributed in helping me, that means a lot, you're awesome! Thanks! In your layout, you are not using the A tag, but rather the LI tag to carry the ID. Since that's the case (which is why you are using this, I think) maybe the thing to do is to change elm.up('li').remove(); to elm.remove() and see if that does the trick for you. Walter On Jul 21, 2009, at 6:12 PM, Yan Kovyakh wrote: WOW Great! Though it's still aren't removing the link dynamically: elm.up('li').remove(); neither by: $(this).remove(); Thanks for the amazing support so far! its $_POST['clone'] not $_POST['the_id'] thats why !! --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Need help for performantly creating tooltips
HTH, please share whatever you can. I too need something to handle tooltips. My current system is rather slow. Plus seeing a real example of how you handle Event delegation will help a good amount of us learn more about it. Thanks! - J e f f C o n k l i n - - AOL IM - a14piece - http://www.getoutsidenj.com - http://www.carabs.com On Wed, Jul 22, 2009 at 7:17 AM, Alex McAuley webmas...@thecarmarketplace.com wrote: Back on subject! Event delegation seems to be the best way to go as someone said earlier. I created my own tool tip script that listens to around 30 elements and uses the title attribute of the element for the text it didnt really use that much memory .. i can let u have what i wrote (about 30 lines iirc) HTH Alex Mcauley http://www.thevacancymarket.com - Original Message - From: ColinFine colin.f...@pace.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, July 22, 2009 12:05 PM Subject: [Proto-Scripty] Re: Need help for performantly creating tooltips On Jul 21, 10:00 pm, Diodeus diod...@gmail.com wrote: Performantly isn't a word. Prove it. Hint: you can't. There is no test that you can apply which will establish that this isn't a word. Furthermore, it is perfectly understandable. This kind of ill-informed pedantry is annoying at the best of times. Here, where it was a) off-topic, b) unhelpful and c) addressed to a non-English speaker, it verged on the offensive.. --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: How do I implement this Prototype/AJAX effects on my page?
The Wiki may be helpful for you: http://proto-scripty.wikidot.com/ On Jul 21, 11:11 pm, elggtester jphil...@gmail.com wrote: If you go here, http://demo2.analoganalytics.net/publishers/7/offers I want an identical effect that has three buttons -- print, email, text that does the same thing on the site. I can handle the server-side code (PHP), but I want to know how I can get that exact effect? My JavaScript is a bit above beginners (new to Prototype), and I see they are using Prototype with some other effects. Now, on Firefox, I had saved the webpages but when I tried click on either of the 3 buttons, the JavaScript effect did not work. Can anyone show me how to implement something similar on my site? --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Need help for performantly creating tooltips
On 22 Jul 2009, at 17:13, Walter Lee Davis wrote: Yes, please. I would really like to see how event delegation handles the mouseout event. Until the next Prototype is ready and stable, and offering mousenter/leave support in all browsers, I have been using some pretty squirrely logic to figure out when a mouseout is really a mouseleave. I am certain there is something basic I am overlooking, it can't really be as hard as I ended up making it. We are using NWEvents for global event handling, it covers all those things, including form elements focus and submit (events that normally don't bubble). Doesn't mean you can't use prototype for handling the events itself. http://javascript.nwbox.com/NWEvents/ Best regards Peter De Berdt --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Need help for performantly creating tooltips
Hi all, first of all, thank you for your answers (And yes I swear, ill never use performantly or performant in this Group again :)). It seems like event delegation is the way to go. So, I just looked over the links you posted (thanks for them!), but they dont seem to do something different than my example posted: . initListeners: function() { document.observe('mouseover', this.moverListener.bindAsEventListener (this)); document.observe('mouseout', this.moutListener.bindAsEventListener (this)); }, moverListener: function(e) { elm = Event.findElement(e, '.' + this.classes); if(elm !== undefined) { this.showToolTip(elm) } else return; }, moutListener: function(e) { elm = Event.findElement(e, '.' + this.classes); if(elm !== undefined) { this.hideTooltip(elm); } }, . Maybe I didnt get it, but isnt this what is meant with event delegation or didnt I get the concept right? PS: I tried this method with the new mouseenter/mouseleave events in the latest prototype rc, but it just returned me the element I put the listener on (e.g., hovering over a span in a div with id test didnt get me the span or the div, but the document body). As this is the thing that is really ment with mouseenter/mouseleave, you could never do event delegation with mouseenter/mouseleave. Am I right here? Greetings from Germany, Chris --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: prototype Ajax.Request returning 12002 ONLY in IE on remote server.
Some further info after a bit more investigation. The failing ajax.request hangs in readyState 1 for approximately 5 minutes. After that it gets a readyState 4 and a response.status of 12002. Watching the apache access logs and java debugging logs on the servlet mapped to the request URL confirms that the request is never seen server side (not surprising since readyState 1 means that the transport hasn't executed it's send yet. It appears to be related to the fact that IE limits the number of concurrent requests (in IE 7 the limit is 2 for http 1.1), although the requests in my case are synchronous and there is only one ajax request being executed at any given moment. However, raising the request limit using the registry editor did get rid of the problem. However that's not a feasible solution for end users. Any ideas for a workaround? David On Jul 20, 1:46 pm, David Dyer dd...@artifact-software.com wrote: I've come across a problem that maybe someone in this group can help. Context: -- I'm running a SCORM engine within a portal. The engine is essentially the ADL sample runtime, which uses prototype to communicate between the SCORM api wrapper and the server. I've tested the application in IE and Firefox on a windows machine under a tomcat container and it works fine with various SCORM packages created from different sources (eg Reload, Articulate, some other third party proprietary courseware). However, when run on a remote server (linux/apache/tomcat environment) all the courses from one particular source, created using Articulate have problems in IE (specifically testing in IE 7 at the moment) but not in Firefox. Description: The problem does not always occur at the same place within a course, it can happen immediately or at a later point within the presentation. When the error occurs the content being loaded into the flash presentation stops and eventually the Ajax.Request returns 12002 response in the onFailure (below). IE becomes completely unresponsive to mouse events such as right clicks or attempts to close the window. I've also tried upgrading the version of prototype to 1.6.1_rc3 from 1.5.1 with no change in results. The function calling the Ajax.Request is copied below: Javascript calling prototype: - script src=../js/prototype.js/script function genericAJAXCall(parm) { var url = '%=session.getAttribute(APP_REL_PATH)%rts'; var res = false; var myAjax = new Ajax.Request(url, { method: 'post', postBody: parm, asynchronous: false, onSuccess: function(transport) { res = transport.responseText; }, onFailure: function(xhr) { alert('st_js_ajax_failure' + xhr.status); }, onException: function (xhr, e){ alert('st_js_ajax_exception' + e); } } ); return res; } --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Slidedown and Slideup Problems
Use Xyle scope or another CSS inspector to see what exactly the difference is. You can bet the problem will be in the initial CSS when the page loads. Set the objects you want to animate to be position:absolute and no padding and you probably will have no trouble. Walter On Jul 22, 2009, at 12:19 PM, brandon wrote: The Effect.Slidedown and Effect.Slideup effects are working. My problem is that when I click on the link to initiate the effect, my div jumps up or down like 10px, slides up or down, then the content and div jump back the initial 10px. The demo on scriptaculous works fine. I am even copying the code verbatum from the demo and I am still having the same problem. The code is all being parsed through CakePHP. --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Need help for performantly creating tooltips
On 7/22/2009 11:05 AM, Chris wrote: moverListener: function(e) { elm = Event.findElement(e, '.' + this.classes); if(elm !== undefined) { this.showToolTip(elm) } else return; }, moutListener: function(e) { elm = Event.findElement(e, '.' + this.classes); if(elm !== undefined) { this.hideTooltip(elm); } }, . I've found Event.findElement to be really slow in IE6. I've always rewritten it to just loop through the parents and do a quick check for each item. The reason findElement was been slow for me is that it asks the selector class for all items in the page that matches the selector, and then compares that list against the list of parents to see which ones it should return. And since IE6 can't use xpath, it is very slow. But this is definitely better than binding to each individual item, especially if you have a bunch of them. Eats up memory and bogs down the browser. --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Need help for performantly creating tooltips
I think one of the easiest ways to handle tooltips is just let the native browser deal with it, using the title attribute with imgs and anchor elements will pop a 100 word tip on what the action will take. So just create the tool with a title attribute and then you're good to go. --- http://positionabsolute.net On Jul 22, 10:53 pm, Trevan Richins develo...@ckiweb.com wrote: On 7/22/2009 11:05 AM, Chris wrote: moverListener: function(e) { elm = Event.findElement(e, '.' + this.classes); if(elm !== undefined) { this.showToolTip(elm) } else return; }, moutListener: function(e) { elm = Event.findElement(e, '.' + this.classes); if(elm !== undefined) { this.hideTooltip(elm); } }, . I've found Event.findElement to be really slow in IE6. I've always rewritten it to just loop through the parents and do a quick check for each item. The reason findElement was been slow for me is that it asks the selector class for all items in the page that matches the selector, and then compares that list against the list of parents to see which ones it should return. And since IE6 can't use xpath, it is very slow. But this is definitely better than binding to each individual item, especially if you have a bunch of them. Eats up memory and bogs down the browser. --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---
[Proto-Scripty] Re: Slidedown and Slideup Problems
I just finished implementing jquery instead of scriptaculous and had the same problem. I discovered that when using Cakephp, if the scaffold var is being used, it defaults to some sort of css that doensn't cooperate with either of these libraries very well. Problem fixed. On Jul 22, 3:34 pm, Walter Lee Davis wa...@wdstudio.com wrote: Use Xyle scope or another CSS inspector to see what exactly the difference is. You can bet the problem will be in the initial CSS when the page loads. Set the objects you want to animate to be position:absolute and no padding and you probably will have no trouble. Walter On Jul 22, 2009, at 12:19 PM, brandon wrote: The Effect.Slidedown and Effect.Slideup effects are working. My problem is that when I click on the link to initiate the effect, my div jumps up or down like 10px, slides up or down, then the content and div jump back the initial 10px. The demo on scriptaculous works fine. I am even copying the code verbatum from the demo and I am still having the same problem. The code is all being parsed through CakePHP. --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~--~~~~--~~--~--~---