Re: [Proto-Scripty] Convert php code into DLL?
http://wiki.php.net/internals/windows/stepbystepbuild I'm doing the same thing right now, that guide should be sufficient. From: mahen Sent: Wednesday, January 13, 2010 4:28 AM To: Prototype script.aculo.us Subject: [Proto-Scripty] Convert php code into DLL? Hi everybody I wanna to know that is it possible to create the dll of php code? to be more generlize that i have a php form which interacts to database,its a simple php form insertion. so is it possible that we make this in single dll ?? pl reply me asap Note :IF is is not possible then also pl send me the links which proves that it is not possible. Thanks in advance Mahendra -- 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-scriptacul...@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. -- 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-scriptacul...@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] Uploading an image with Ajax.request
Hello, I was wondering if this is possible to do: I want to upload an image using Ajax.request like such: var form = $('addimage'); new Ajax.Request('http://myurl.com/uploadImage.php', { method: 'post', parameters: { image: $(form['image']).getValue() } } So far I haven't been able to access the image with php, I have been using $_FILES['file']['name'] to try and access the image, but I can't get it. Do I have to use an iframe for this, or will it work somehow using Ajax.request and trying to get the file in the form? Thanks, -Andy Daykin -- 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-scriptacul...@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: Working Demo?
Scripty2 is in alpha stages and may be out soon it might be worthwhile holding out for a stable release of that. -- From: Thomas.Paine tpa...@gmail.com Sent: Monday, November 16, 2009 1:35 PM To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Working Demo? Before investing time and energy into implementing your auto complete addon I would like to see a working demo of it. The links I have found to your demo (http://demo.script.aculo.us/ajax/autocompleter) are all dead links. It appears that the demo sub-sub domain is not valid. Searching this group shows there has been discussion of this issue but no resolution. Comments like dead links should have been removed smack of someone who has not actually looked at the page which in fact has dead links : http://wiki.github.com/madrobby/scriptaculous/demos --~--~-~--~~~---~--~~ 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.jExtension
ditto - sounds interesting, let us know when it's up! -Andy -- From: speedpac...@gmail.com Sent: Monday, November 09, 2009 8:29 AM To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: Prototype.jExtension I'm getting a 403 :( On Nov 9, 11:19 am, jacoz jacopo.nu...@gmail.com wrote: Hi, I want you to show my extension of your framework. If you want you can take a look at it (http://app.jaydns.com/ prototype.jextension/prototype.jextension.js) and if you're interested in you may also uso some of that features in your next release! :) Jacopo. --~--~-~--~~~---~--~~ 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 Selector Speed
Ok I'm glad to hear that the selector speed will improve with the sizzle, that's what Dojo uses too. Dojo and JQuery always finished first/second in the slickspeed tests. Is there a release date planned for scripty2? How active is that project? -Andy -- From: Jarkko Laine jarks...@gmail.com Sent: Monday, September 21, 2009 3:16 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: Prototype Selector Speed On 21.9.2009, at 11.04, T.J. Crowder wrote: Hi, Is there any plans in the future to improve on prototype's speed? Yes. The core team are working on integrating the Sizzle selector engine[1] (which is what the latest version of jQuery uses). (This is more of a challenge than it sounds; switching selector engines touches a lot of things besides just the $$ and Element#select methods.) I *think* that's slated for the next release, but don't quote me. Sam just tweeted [1] that they're using it already on Highrise, so I'd guess it's pretty much in a working condition. //jarkko [1] http://twitter.com/sstephenson/status/439058 -- Jarkko Laine http://jlaine.net http://dotherightthing.com http://www.railsecommerce.com http://odesign.fi --~--~-~--~~~---~--~~ 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] Prototype Selector Speed
Hello, I have been using prototype for a few months now, and so far I have enjoyed the functionality that it brings. However, I have noticed that it's speed is lacking. This makes me tentative to use prototype for a rather large project that I have been planning. To confirm this, I ran the tests from http://mootools.net/slickspeed/ by checking out the project from SVN, and used the latest versions of all of the frameworks listed. Prototype and mootools consistently finished at the bottom, which concerns me a little. After looking at the results I have been seriously considering switching to JQuery, although I am disappointed at their lack of OOP support. Is there any plans in the future to improve on prototype's speed? Also has there been a tentative release date set for scripty2? I'm reluctant to develop anything that heavily uses scriptaculous, since it appears scripty2 is in alpha state, although it has been that way since June. Thanks, -Andy --~--~-~--~~~---~--~~ 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: Mouseover Fade/Apear Glitches
Try using the effect.cancelTake a look at the example I made at http://glucocardusa.com/mini_faceplates.php, look at what happens when you hover over the faceplates. Queues would be another way to do it. -Andy -- From: Topsoft Web Design i...@topsoftweb.com Sent: Saturday, August 29, 2009 11:18 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: Mouseover Fade/Apear Glitches The 'randomness' seam's to be when you mouse-over too fast, the effects are getting confused I think... I wonder if I have to get into queues? TopSoft Web Design Ralph E. Brickley 503-472-7914 Office 503-857-7898 Cell 800-986-0276 Fax www.topsoftweb.com -Original Message- From: TopSoft [mailto:i...@topsoftweb.com] Sent: Saturday, August 29, 2009 8:57 AM To: Prototype script.aculo.us Subject: [Proto-Scripty] Mouseover Fade/Apear Glitches Hello All, I'm just learning AJAX and using advanced options that Scriptaculous offers. I'm learning quick but having a few growing pains. The site www.dynamicpowerinnovation.com is under progress and on the home page I'm doing a flash-style image script with three thumbnails to change between images. The problem I'm having is sometimes when you mouse over one of the thumbs, the background image fades but the new image never appears. This appears to be random because if I mouse over again, the new image appears. I'm still using primitive code so please take a look... 'slide1', 'slide2' and 'slide3' are the thumb image ID's, and flash- slidex... respectively is the main image that fades and appears. I just recently added the .setStyle( {opacity:1}); to see if that helped. Thanks for any advice I'm stumped! Each mouseover checks to see if one of the other two main images are visible and if so, fades them out and simultaneously appears the desired slide. Works awesome without the glitch // Setup Mouse hover events for action script on home pag $('slide1').observe('mouseover', function(event) { event.stop(); if( $('flash-slide2').display == || $ ('flash-slide2').style.visibility == ) new Effect.Fade('flash-slide2', { duration: .75 } ); if( $('flash-slide3').display == || $ ('flash-slide3').style.visibility == ) new Effect.Fade('flash-slide3', { duration: .75 } ); $('flash-slide1').setStyle( {opacity:1}); new Effect.Appear('flash-slide1', {duration: . 75} ); }); $('slide2').observe('mouseover', function(event) { event.stop(); if( $('flash-slide1').display == || $ ('flash-slide1').style.visibility == ) new Effect.Fade('flash-slide1', { duration: .75 } ); if( $('flash-slide3').display == || $ ('flash-slide3').style.visibility == ) new Effect.Fade('flash-slide3', { duration: .75 } ); $('flash-slide2').setStyle( {opacity:1}); new Effect.Appear('flash-slide2', {duration: . 75} );; }); $('slide3').observe('mouseover', function(event) { event.stop(); if( $('flash-slide1').display == || $ ('flash-slide1').style.visibility == ) new Effect.Fade('flash-slide1', { duration: .75 } ); if( $('flash-slide2').display == || $ ('flash-slide2').style.visibility == ) new Effect.Fade('flash-slide2', { duration: .75 } ); new Effect.Appear('flash-slide3', {duration: . 75} ); }); --~--~-~--~~~---~--~~ 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: this keyword inside of the map function
Thanks a lot! It's working perfectly now! -Andy -- From: Daniel Rubin dru...@dimedis.de Sent: Wednesday, August 26, 2009 3:01 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: this keyword inside of the map function Andy Daykin wrote: The way that my script is working on that page http://andydaykin.com/Home (http://andydaykin.com/Home/public/js/Home.js is the link to the javascript file) is how I want it to work, but I want to make my script fit the prototype conventions a little bit more. So if I try and make instance variables, the doSlide function can't see them. As I stated before the scope of this inside of the map function is what is causing the problem I believe. The click handler (doSlide) won't recognize an instance variable. For instance if I say this.varName in my init function, and try and access this.varName in the doSlide function, the variable won't be recognized. To solve this I am using var varName outside of the class, but I would like to do this the proper way. -Andy Alright, I'll just post how I believe it should work. // initialize: function (parentDiv, featuresWrapper) { var features = $(featuresWrapper).descendants (); $(parentDiv).descendants ().map (function (e, i) { $(e).observe ('click', this.doSlide.bind (this, features[i].id)); }, this); slides = $$('.featureImage').map (function (e) { return e.id; }); }, // 1) I threw out the dom:loaded-handling stuff: The particular SlideShow object should be created in such a handler, of course, but listening for the event in the constructor would limit the class' use to this application only. Instead, put var mySlide = new SlideShow ('featureList', 'featuresWrapper'); in your global dom:loaded handler in the main HTML file. (But make sure to load Home.js first.) 2) The featuresWrapper Element is passed as constructor arg now, too. No point in hard-coding it, I think. 3) Note this as the second parameter to the map-call. That's the context-param T. J. pointed out. By passing this, we ensure that this is the same inside and outside the mapping-function. 4) The mapping-function takes a second parameter i, which is just the old counter i, but readily provided by the map-iteration. I hope this works -- I have not tested it myself. Have fun Daniel -- From: Daniel Rubin dru...@dimedis.de Sent: Tuesday, August 25, 2009 3:06 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: this keyword inside of the map function Andy Daykin wrote: The doSlide function was what I was referring to. I tried using TJ's suggestion of using this as the 2nd parameter, but the handler still wasn't getting called. You can find a prototype of what I am doing at http://andydaykin.com/Home. The slideshow (images obviously missing) is on the main page. The javascript file for the class is http://andydaykin.com/Home/public/js/Home.js Could you please provide the current state once more? Perhaps stripped down to the vital parts of HTML and scripts? I think we need to have a look at the details here. Daniel -- From: Daniel Rubin dru...@dimedis.de Sent: Friday, August 21, 2009 3:38 AM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: this keyword inside of the map function Andy Daykin wrote: I tried the first suggestion, but the function still isn't getting called. Exactly which function do you refer to? The map-iterator-func (function (e) { ... }) or the click-handler (this.doSlide)? Daniel TJ, can you explain more, or show an example of what the context param would look like? Should I just put the doSlide function as the 2nd parameter? -Andy -- From: T.J. Crowder t...@crowdersoftware.com Sent: Thursday, August 20, 2009 3:56 AM To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: this keyword inside of the map function Hi, Rather than binding it, use the second parameter to map (aka collect [1]), that's what the second param (context) is for. You'll find that most of the Enumerable methods that take callbacks also take a context parameter so the callback can be a method. [1] http://prototypejs.org/api/enumerable/collect HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Aug 20, 8:34 am, Daniel Rubin dru...@dimedis.de wrote: Andy Daykin wrote: Hello, I am having some difficulties writing a class, in my code I have a class where I need to be able
[Proto-Scripty] Re: yes, but Mootoolls do that -ImageMenu-
The Effect.Move and Effect.Morph could probably do the trick. From: Alex McAuley Sent: Tuesday, August 25, 2009 12:56 PM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: yes, but Mootoolls do that -ImageMenu- Its just an accordian that uses mouseover/out Alex Mcauley http://www.thevacancymarket.com - Original Message - From: DJ Mangus To: prototype-scriptaculous@googlegroups.com Sent: Tuesday, August 25, 2009 5:58 PM Subject: [Proto-Scripty] Re: yes, but Mootoolls do that -ImageMenu- Would be doable with script.aculo.us though I do not think anyone has done it yet. On Tue, Aug 25, 2009 at 9:41 AM, lvdesign mail...@lvdesign.com.fr wrote: Hello people, I find a very fancy animation, but i am not sure that we can transpose it with prototype. this is the file: http://www.phatfusion.net/imagemenu/ I don't find the coresponding's effects in scriptaculous lib. Or perhaps it's a combination. If someone has an idea, it will be great, meme if a piste... thanks a lot LV --~--~-~--~~~---~--~~ 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: this keyword inside of the map function
I tried the first suggestion, but the function still isn't getting called. TJ, can you explain more, or show an example of what the context param would look like? Should I just put the doSlide function as the 2nd parameter? -Andy -- From: T.J. Crowder t...@crowdersoftware.com Sent: Thursday, August 20, 2009 3:56 AM To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: this keyword inside of the map function Hi, Rather than binding it, use the second parameter to map (aka collect [1]), that's what the second param (context) is for. You'll find that most of the Enumerable methods that take callbacks also take a context parameter so the callback can be a method. [1] http://prototypejs.org/api/enumerable/collect HTH, -- T.J. Crowder tj / crowder software / com Independent Software Engineer, consulting services available On Aug 20, 8:34 am, Daniel Rubin dru...@dimedis.de wrote: Andy Daykin wrote: Hello, I am having some difficulties writing a class, in my code I have a class where I need to be able to bind event listeners to values. In my code I want the variable pointerIndex to be accessible outside of the initialize function, but right now it is not. If I make a global variable for pointerIndex I can solve the problem, but I would rather have a class variable using the this keyword. I am not positive, but I believe the problem is from my event listeners on the line: Now: $(e).observe('click', this.doSlide.bind(featuresWrapper[i].id)); Before: (working) $(e).observe('click', mySlide.doSlide.curry(featuresWrapper[i].id)); With the new way of calling the doSlide function I can't even seem to be able to call the function, nothing happens when the function should get called. Before I was using the curry function to try and pass the values of the featuresWrapper array to the doSlide function. I was able to get that to work, but I would rather just use bind and this to make the code more object oriented. Based on my alert statements I can tell that the this keyword is different inside and outside of the map function. Hi Andy, the last observation is crucial. Because this is not your expected SlideShow instance when you do this.doSlide.bind (...), this.doSlide is undefined and thus the call to this.doSlide.bind fails (there should be an exception in the error console somewhere). You can solve it by bind()-ing the map function, too: $(parentDiv).childElements().map( (function(e) { $(e).observe('click', this.doSlide.bind(this, featuresWrapper[i].id)); }).bind (this) ); (Note: Passing this as first arg to the inner bind call, as Kevin suggested, is needed, too.) Have fun Daniel var SlideShow = Class.create({ initialize: function(parentDiv) { this.pointerIndex = 0; //pointerIndex = 0; // Load the event listener for each section document.observe(dom:loaded, function() { var featuresWrapper = $('featuresWrapper').childElements(); var i = 0; alert(this); $(parentDiv).childElements().map(function(e) { alert(this); $(e).observe('click', this.doSlide.bind(featuresWrapper[i].id)); //$(e).observe('click', mySlide.doSlide.curry(featuresWrapper[i].id)); i++; }); slides = $$('.featureImage').map(function(e) { return e.id; }); }); }, doSlide: function(slideClicked) { alert('here'); if(active == 0) { active = 1; var yValCurrent = $(slides[this.pointerIndex]).viewportOffset().top; //var yValCurrent = $(slides[pointerIndex]).viewportOffset().top; var yValClick = $(slideClicked).viewportOffset().top; var yValDiff = yValClick - yValCurrent; var pointerShift = 0; if (Math.abs(yValDiff) == Math.abs(210)) { pointerShift = 70; // Change this to get the height as well as a few more } else { pointerShift = 140; } if (yValDiff 0) { $$('.featureImage').map(function(e) { new Effect.Move(e, { y: -yValDiff, duration: .8, afterFinish: function(e) { active = 0; } }); }); new Effect.Move('featurePointer', { y: pointerShift }); } else if (yValDiff 0) { $$('.featureImage').map(function(e) { new Effect.Move(e, { y: -yValDiff, duration: .8, afterFinish: function(e) { active = 0; } }); }); new Effect.Move('featurePointer', { y: -pointerShift }); } this.pointerIndex = slides.indexOf(slideClicked); } } }); var slides; var active = 0; //var pointerIndex = 0; var mySlide = new SlideShow('featureList'); --~--~-~--~~~---~--~~ 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
[Proto-Scripty] this keyword inside of the map function
Hello, I am having some difficulties writing a class, in my code I have a class where I need to be able to bind event listeners to values. In my code I want the variable pointerIndex to be accessible outside of the initialize function, but right now it is not. If I make a global variable for pointerIndex I can solve the problem, but I would rather have a class variable using the this keyword. I am not positive, but I believe the problem is from my event listeners on the line: Now: $(e).observe('click', this.doSlide.bind(featuresWrapper[i].id)); Before: (working) $(e).observe('click', mySlide.doSlide.curry(featuresWrapper[i].id)); With the new way of calling the doSlide function I can't even seem to be able to call the function, nothing happens when the function should get called. Before I was using the curry function to try and pass the values of the featuresWrapper array to the doSlide function. I was able to get that to work, but I would rather just use bind and this to make the code more object oriented. Based on my alert statements I can tell that the this keyword is different inside and outside of the map function. var SlideShow = Class.create({ initialize: function(parentDiv) { this.pointerIndex = 0; //pointerIndex = 0; // Load the event listener for each section document.observe(dom:loaded, function() { var featuresWrapper = $('featuresWrapper').childElements(); var i = 0; alert(this); $(parentDiv).childElements().map(function(e) { alert(this); $(e).observe('click', this.doSlide.bind(featuresWrapper[i].id)); //$(e).observe('click', mySlide.doSlide.curry(featuresWrapper[i].id)); i++; }); slides = $$('.featureImage').map(function(e) { return e.id; }); }); }, doSlide: function(slideClicked) { alert('here'); if(active == 0) { active = 1; var yValCurrent = $(slides[this.pointerIndex]).viewportOffset().top; //var yValCurrent = $(slides[pointerIndex]).viewportOffset().top; var yValClick = $(slideClicked).viewportOffset().top; var yValDiff = yValClick - yValCurrent; var pointerShift = 0; if (Math.abs(yValDiff) == Math.abs(210)) { pointerShift = 70; // Change this to get the height as well as a few more } else { pointerShift = 140; } if (yValDiff 0) { $$('.featureImage').map(function(e) { new Effect.Move(e, { y: -yValDiff, duration: .8, afterFinish: function(e) { active = 0; } }); }); new Effect.Move('featurePointer', { y: pointerShift }); } else if (yValDiff 0) { $$('.featureImage').map(function(e) { new Effect.Move(e, { y: -yValDiff, duration: .8, afterFinish: function(e) { active = 0; } }); }); new Effect.Move('featurePointer', { y: -pointerShift }); } this.pointerIndex = slides.indexOf(slideClicked); } } }); var slides; var active = 0; //var pointerIndex = 0; var mySlide = new SlideShow('featureList'); --~--~-~--~~~---~--~~ 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: this keyword inside of the map function
I tried putting this as the first argument to bind, but the function doesn't get called. Am I using the right syntax for calling the function -Andy -- From: Kevin Porter k...@9ballpool.co.uk Sent: Wednesday, August 19, 2009 5:14 PM To: prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Re: this keyword inside of the map function I am not positive, but I believe the problem is from my event listeners on the line: Now: $(e).observe('click', *this*.doSlide.bind(featuresWrapper[i].id)); You need to pass 'this' as the first argument to bind(). regards, - Kev -- Kevin Porter Advanced Web Construction Ltd http://webutils.co.uk http://billiardsearch.net http://9ballpool.co.uk AJAX Blackjack - real-time multi-player blackjack game with no flash, java or software downloads required - http://blackjack.webutils.co.uk --~--~-~--~~~---~--~~ 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] Effect.Appear Fade in IE
Hello, I'm having some difficulties getting the Effect.Appear and Effect.Fade to work in IE. The Effect.Appear on the page http://spanglerdesign.com/test/askmary/home/eatbetter isn't working in IE 6 and 7. If you click on the click here to read more link the new window won't show. The Effect.Fade is working though in those versions of IE. In IE 8 the Effect.Fade isn't working, and the Effect.Appear is sort of working, but the positioning is off. The js file I am using for these effects is http://spanglerdesign.com/test/askmary/public/js/EatBetter.js Thanks, -Andy p.s. Is there an estimate for scripty2's release date? --~--~-~--~~~---~--~~ 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] Form array causes problems in ie 7 and below
Hello, I have a form http://spanglerdesign.com/test/glucocard/enrollment.php, and when I hit the submit button in ie7 and below, I get an error message saying Object doesn't support this property or method. I have tried versions 1.6.1 rc3, and 1.6.0.3. It breaks on the line: if(!form['dobyear'].getValue().match(/^(\d{4})?$/)) { The script is working fine in all other browsers, including ie8. What can I do to fix this? Thanks, -Andy Daykin --~--~-~--~~~---~--~~ 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: Effect.Morph query
Why don't you use an array to store all of the elements that have been clicked and treat it like a queue? -- From: Andrew Dodd a...@slicethepie.com Sent: Tuesday, July 28, 2009 7:02 AM To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Subject: [Proto-Scripty] Effect.Morph query Hi I page with multiple elements each of which are highlighted (individually) onclick. I would like the morph effect to be removed from the previous element when a new one is clicked (highlighted). I won't know what the id of the previous element was though, is there a way to achieve this? Cheers Andy --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---