Re: [jQuery] Forms and the fx module
My site was down ... but it is back up now ... sorry about that. I seem to be having issues with Mongrel and/or Typo :/ BTW ... you can just grab the full jQuery revision 404 with the patch from here: http://brandonaaron.net/jquery/opacity/jquery.opacitypatch.js to make sure it works for you before trying to apply the patch to your own. -- Brandon Aaron On 10/6/06, Brandon Aaron [EMAIL PROTECTED] wrote: I take that back ... neither of those patches are going to work. This new patch should fix everything dealing with opacity and IE. I was running around in circles through that fx code for forever to figure all of it out. Bug report: http://jquery.com/dev/bugs/bug/204/ New patch against revision 404: http://brandonaaron.net/jquery/opacity/opacity.diff Example/Test: http://brandonaaron.net/jquery/opacity/opacity.html Broken, unpatched revision 396: http://brandonaaron.net/jquery/opacity/opacity.broken.html Brandon Aaron On 10/6/06, Brandon Aaron [EMAIL PROTECTED] wrote: Please use the patch in the comments as it will work. The first patch (in the yellow) is the first but doesn't patch everything. The second patch will fix what you need. I'm actually working on a better one right now and might have something ready within the hour. -- Brandon Aaron On 10/6/06, Kolak Roy M. [EMAIL PROTECTED] wrote: Brandon, I applied your patch to the uncompressed jquery.js file. I added the appropriate lines and removed the marked lines. I only applied the top patch (the patch in the yellow box) to the jquery.js file. For each situation, I used the .show and .hide functions of the fx module. The results were not as expected… FireFox (1.5.0.7)- Text and forms are displayed/hidden correctly IE (6.0.29…)- Text Only – showing and hiding works the first time. If I try to perform these tasks again, I can see the div tag expand, but no text is displayed. Form Only – The form is either visible or not, no transition is used. Performed successfully many times Form and Text – The transition is applied to the text, but not the form. Performed many times, received same results ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Forms and the fx module
am i the only one that read that as revision not found?... anyways, great job! On 10/7/06, Brandon Aaron [EMAIL PROTECTED] wrote: My site was down ... but it is back up now ... sorry about that. I seem to be having issues with Mongrel and/or Typo :/ BTW ... you can just grab the full jQuery revision 404 with the patch from here: http://brandonaaron.net/jquery/opacity/jquery.opacitypatch.js to make sure it works for you before trying to apply the patch to your own. -- Brandon Aaron On 10/6/06, Brandon Aaron [EMAIL PROTECTED] wrote: I take that back ... neither of those patches are going to work. This new patch should fix everything dealing with opacity and IE. I was running around in circles through that fx code for forever to figure all of it out. Bug report: http://jquery.com/dev/bugs/bug/204/ New patch against revision 404: http://brandonaaron.net/jquery/opacity/opacity.diff Example/Test: http://brandonaaron.net/jquery/opacity/opacity.html Broken, unpatched revision 396: http://brandonaaron.net/jquery/opacity/opacity.broken.html Brandon Aaron On 10/6/06, Brandon Aaron [EMAIL PROTECTED] wrote: Please use the patch in the comments as it will work. The first patch (in the yellow) is the first but doesn't patch everything. The second patch will fix what you need. I'm actually working on a better one right now and might have something ready within the hour. -- Brandon Aaron On 10/6/06, Kolak Roy M. [EMAIL PROTECTED] wrote: Brandon, I applied your patch to the uncompressed jquery.js file. I added the appropriate lines and removed the marked lines. I only applied the top patch (the patch in the yellow box) to the jquery.js file. For each situation, I used the .show and .hide functions of the fx module. The results were not as expected… FireFox (1.5.0.7)- Text and forms are displayed/hidden correctly IE (6.0.29…)- Text Only – showing and hiding works the first time. If I try to perform these tasks again, I can see the div tag expand, but no text is displayed. Form Only – The form is either visible or not, no transition is used. Performed successfully many times Form and Text – The transition is applied to the text, but not the form. Performed many times, received same results ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Forms and the fx module
The opacity stuff in jQuery is currently broken for IE. This bug will shed some light on your situation and provide a patch for it: http://jquery.com/dev/bugs/bug/204/ I'm currently using it successfully but beware if you are using other filters as this patch (in its current form) will overwrite them. Hopefully this weekend I will have a complete version with test/example pages and it will be in included in the core and people won't have to deal with patching it themselves. -- Brandon Aaron On 10/6/06, Kolak Roy M. [EMAIL PROTECTED] wrote: Hello all, I am just starting my jquery experience and I ran into a little problem. Here is the setup – I have a form that I want to keep hidden until the user clicks on a certain spot. Once the user clicks this spot the form should show itself with a nice transition. The user can then either submit the form or click in the same spot to hide the form. Here is the code – $(#newAnnouncement).click(function(){ if(document.getElementById('announcement_form').style.display == none) { $(#announcement_form:hidden).show(slow); } else { $(#announcement_form:visible).hide(slow); } }); }); This works great in FireFox, but in I.E., the form is displayed, but with no transition (it is either visible or not) Help, Roy ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Forms and the fx module
Oh and if you use this patch ... please let me know if it works, doesn't work, etc... Thanks! -- Brandon Aaron On 10/6/06, Brandon Aaron [EMAIL PROTECTED] wrote: The opacity stuff in jQuery is currently broken for IE. This bug will shed some light on your situation and provide a patch for it: http://jquery.com/dev/bugs/bug/204/ I'm currently using it successfully but beware if you are using other filters as this patch (in its current form) will overwrite them. Hopefully this weekend I will have a complete version with test/example pages and it will be in included in the core and people won't have to deal with patching it themselves. -- Brandon Aaron On 10/6/06, Kolak Roy M. [EMAIL PROTECTED] wrote: Hello all, I am just starting my jquery experience and I ran into a little problem. Here is the setup – I have a form that I want to keep hidden until the user clicks on a certain spot. Once the user clicks this spot the form should show itself with a nice transition. The user can then either submit the form or click in the same spot to hide the form. Here is the code – $(#newAnnouncement).click(function(){ if(document.getElementById('announcement_form').style.display == none) { $(#announcement_form:hidden).show(slow); } else { $(#announcement_form:visible).hide(slow); } }); }); This works great in FireFox, but in I.E., the form is displayed, but with no transition (it is either visible or not) Help, Roy ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
[jQuery] Forms and the fx module
Brandon, I applied your patch to the uncompressed jquery.js file. I added the appropriate lines and removed the marked lines. I only applied the top patch (the patch in the yellow box) to the jquery.js file. For each situation, I used the .show and .hide functions of the fx module. The results were not as expected FireFox (1.5.0.7)- Text and forms are displayed/hidden correctly IE (6.0.29)- Text Only showing and hiding works the first time. If I try to perform these tasks again, I can see the div tag expand, but no text is displayed. Form Only The form is either visible or not, no transition is used. Performed successfully many times Form and Text The transition is applied to the text, but not the form. Performed many times, received same results ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/
Re: [jQuery] Forms and the fx module
Please use the patch in the comments as it will work. The first patch (in the yellow) is the first but doesn't patch everything. The second patch will fix what you need. I'm actually working on a better one right now and might have something ready within the hour. -- Brandon Aaron On 10/6/06, Kolak Roy M. [EMAIL PROTECTED] wrote: Brandon, I applied your patch to the uncompressed jquery.js file. I added the appropriate lines and removed the marked lines. I only applied the top patch (the patch in the yellow box) to the jquery.js file. For each situation, I used the .show and .hide functions of the fx module. The results were not as expected… FireFox (1.5.0.7)- Text and forms are displayed/hidden correctly IE (6.0.29…)- Text Only – showing and hiding works the first time. If I try to perform these tasks again, I can see the div tag expand, but no text is displayed. Form Only – The form is either visible or not, no transition is used. Performed successfully many times Form and Text – The transition is applied to the text, but not the form. Performed many times, received same results ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/