Hey guys, I''m running Prototype 1.5, with Scriptaculous 1.7, and getting an error in FF 2.0.0.2. It''s very simple code, basically just toggling a DIV when someone clicks on the "forgot password" link -- the div contains an <input> element that enables them to submit their email address to the server (which sends an email to them containing their password hint, etc)....... any ideas why I''m getting this error in FF 2.0.0.2?? It works in even IE 6 (which is usually the opposite!) Any help here would be appreciated... is there a conflict between Scriptaculous 1.7 and FF2? The Ajax.Updater, et al are working with Proto 1.5 in other pages, but the effects do not seem to be working. cheers, Mark <div id="forgotpassword" align="center" style="padding: 5px;"> <a id="aforgotpassword" href="#" onclick="Effect.toggle (''invisemailform'',''appear''); return false">Forgot Password? Click here!</a> </div> <div id="invisemailform" style="display:none;"> Your email address: <input type="text" size="35" id="email"> <input type="submit" value="Email Password to me" onclick="javascript:emailThisPersonsClue();"> <div id="returnMessage"></div> </div> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
did you define the effects.js at the header? On 3/7/07, Mark Holton <holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > Hey guys, > I''m running Prototype 1.5, with Scriptaculous 1.7, and getting an error in > FF 2.0.0.2. It''s very simple code, basically just toggling a DIV when > someone clicks on the "forgot password" link -- the div contains an <input> > element that enables them to submit their email address to the server (which > sends an email to them containing their password hint, etc)....... any ideas > why I''m getting this error in FF 2.0.0.2?? It works in even IE 6 (which > is usually the opposite!) > > Any help here would be appreciated... is there a conflict between > Scriptaculous 1.7 and FF2? The Ajax.Updater, et al are working with Proto > 1.5 in other pages, but the effects do not seem to be working. > > cheers, > Mark > > <div id="forgotpassword" align="center" style="padding: 5px;"> > <a id="aforgotpassword" href="#" onclick="Effect.toggle > (''invisemailform'',''appear''); return false">Forgot Password? Click > here!</a> > </div> > > <div id="invisemailform" style="display:none;"> > Your email address: <input type="text" size="35" id="email"> > <input type="submit" value="Email Password to me" > onclick="javascript:emailThisPersonsClue();"> > <div id="returnMessage"></div> > </div> > > > >-- ------------------------------------------------------- Syed Ekramuddin [Emon] Sr. Software Engineer. Grameen Software Ltd. ------------------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
did you define the effects.js at the header? if you include Scriptaculous.js, you don''t need to include effects.js, correct? I included Scriptaculous.js. Again, it works in IE 6, not working in FF2... anyone have any ideas why? Can someone who has this effect working in FF2 with Protaculous 1.5/1.7 give confirmation that they have it working (and their includes if possible). cheers- On 3/7/07, Syed Ekram Uddin <sekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > did you define the effects.js at the header? > > On 3/7/07, Mark Holton <holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > Hey guys, > > I''m running Prototype 1.5, with Scriptaculous 1.7, and getting an error > > in FF 2.0.0.2. It''s very simple code, basically just toggling a DIV > > when someone clicks on the "forgot password" link -- the div contains an > > <input> element that enables them to submit their email address to the > > server (which sends an email to them containing their password hint, > > etc)....... any ideas why I''m getting this error in FF 2.0.0.2?? It > > works in even IE 6 (which is usually the opposite!) > > > > Any help here would be appreciated... is there a conflict between > > Scriptaculous 1.7 and FF2? The Ajax.Updater, et al are working with > > Proto 1.5 in other pages, but the effects do not seem to be working. > > > > cheers, > > Mark > > > > <div id="forgotpassword" align="center" style="padding: 5px;"> > > <a id="aforgotpassword" href="#" onclick="Effect.toggle > > (''invisemailform'',''appear''); return false">Forgot Password? Click > > here!</a> > > </div> > > > > <div id="invisemailform" style="display:none;"> > > Your email address: <input type="text" size="35" id="email"> > > <input type="submit" value="Email Password to me" > > onclick="javascript:emailThisPersonsClue();"> > > <div id="returnMessage"></div> > > </div> > > > > > > > > > -- > ------------------------------------------------------- > Syed Ekramuddin [Emon] > Sr. Software Engineer. > Grameen Software Ltd. > ------------------------------------------------------- > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Best is to put this up at some online URL, so someone can have a look. Effects work fine here. :) Best, Thomas Am 07.03.2007 um 20:20 schrieb Mark Holton:> did you define the effects.js at the header? > > if you include Scriptaculous.js, you don''t need to include > effects.js, correct? I included Scriptaculous.js. > > Again, it works in IE 6, not working in FF2... anyone have any > ideas why? Can someone who has this effect working in FF2 with > Prot aculous 1.5/1.7 give confirmation that they have it working > (and their includes if possible). > cheers- > > > On 3/7/07, Syed Ekram Uddin <sekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: did you > define the effects.js at the header? > > > On 3/7/07, Mark Holton < holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hey guys, > I''m running Prototype 1.5, with Scriptaculous 1.7, and getting an > error in FF 2.0.0.2. It''s very simple code, basically just > toggling a DIV when someone clicks on the "forgot password" link -- > the div contains an <input> element that enables them to submit > their email address to the server (which sends an email to them > containing their password hint, etc)....... any ideas why I''m > getting this error in FF 2.0.0.2?? It works in even IE 6 (which > is usually the opposite!) > > Any help here would be appreciated... is there a conflict between > Scriptaculous 1.7 and FF2? The Ajax.Updater, et al are working > with Proto 1.5 in other pages, but the effects do not seem to be > working. > > cheers, > Mark > > <div id="forgotpassword" align="center" style="padding: 5px;"> > <a id="aforgotpassword" href="#" onclick="Effect.toggle > (''invisemailform'',''appear''); return false">Forgot Password? Click > here!</a> > </div> > > <div id="invisemailform" style="display:none;"> > Your email address: <input type="text" size="35" id="email"> > <input type="submit" value="Email Password to me" > onclick="javascript:emailThisPersonsClue();"> > <div id="returnMessage"></div> > </div> > > > > > > -- > ------------------------------------------------------- > Syed Ekramuddin [Emon] > Sr. Software Engineer. > Grameen Software Ltd. > ------------------------------------------------------- > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Any help would be greatly appreciated. Again, this simple code works in IE 6... does not work in Firefox 2.0.0.2. The error I get is "Effect is not defined: Line 1" Thanks and cheers, -Mark <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <title>[some title]</title> <!--- STYLES ---> <link rel="stylesheet" href="stylesheet/styles2.css" /> <!--- frameworks declarations ---> <script src="../javascript/prototype.js" type="text/javascript"></script> <script src="../javascript/scriptaculous.js" type="text/javascript"></script> <script src="../javascript/lightbox.js" type="text/javascript"></script> <script src="../javascript/rico.js" type="text/javascript"></script> <script src="../javascript/tooltip.js" type="text/javascript"></script> </head> <div align="center"> <table border="0"> <tr> <th colspan="2" bgcolor="silver">Please Log In</th> </tr> <!--- start Login Form ---> <form action="../View/Int/myprofile.cfm" name="LoginForm2" method="POST"> <tr> <th>E-mail Address:</th> <td> <input type="text" name="j_username" size="40" value="" maxlength="100" required="Yes"> </td> </tr> <tr> <th>Password:</th> <td> <input type="password" name="j_password" size="20" value="" maxlength="100" required="Yes" > </td> </tr> <tr> <td colspan="2"><input type="submit" value="Enter"></td> </tr> </form> </table> </div> <!-- the following is added as an INCLUDE, but for simplicity sake for sharing the error, provided it as it would be rendered by the browser --> <script type="text/javascript"> function toggleEmailPass() { // methodstring can be ''blind'', ''appear'', ''slide'' // this will show/hide the help content var elem = $(''invisemailform''); elem.visibility = "visible"; Effect.toggle(elem, ''appear''); } </script> <div id="forgotpassword" align="center" style="padding: 5px;"> <a id="aforgotpassword" href="#" onclick="Effect.toggle(''invisemailform'',''appear''); return false">Forgot Password? Click here!</a> </div> <div id="invisemailform" style="display:none;"> Your email address: <input type="text" size="35" id="email"> <input type="submit" value="Email Password to me" onclick="javascript:getEmailPass();"> <div id="emailpassreturn"></div> </div> </body> </html> On 3/7/07, Mark Holton <holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > did you define the effects.js at the header? > > if you include Scriptaculous.js, you don''t need to include effects.js, > correct? I included Scriptaculous.js. > > Again, it works in IE 6, not working in FF2... anyone have any ideas why? > Can someone who has this effect working in FF2 with Prot aculous 1.5/1.7give confirmation that they have it working (and their includes if > possible). > cheers- > > > On 3/7/07, Syed Ekram Uddin <sekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > did you define the effects.js at the header? > > > > On 3/7/07, Mark Holton < holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > Hey guys, > > > I''m running Prototype 1.5, with Scriptaculous 1.7, and getting an > > > error in FF 2.0.0.2. It''s very simple code, basically just toggling a > > > DIV when someone clicks on the "forgot password" link -- the div contains an > > > <input> element that enables them to submit their email address to the > > > server (which sends an email to them containing their password hint, > > > etc)....... any ideas why I''m getting this error in FF 2.0.0.2?? It > > > works in even IE 6 (which is usually the opposite!) > > > > > > Any help here would be appreciated... is there a conflict between > > > Scriptaculous 1.7 and FF2? The Ajax.Updater, et al are working with > > > Proto 1.5 in other pages, but the effects do not seem to be working. > > > > > > cheers, > > > Mark > > > > > > <div id="forgotpassword" align="center" style="padding: 5px;"> > > > <a id="aforgotpassword" href="#" onclick="Effect.toggle > > > (''invisemailform'',''appear''); return false">Forgot Password? Click > > > here!</a> > > > </div> > > > > > > <div id="invisemailform" style="display:none;"> > > > Your email address: <input type="text" size="35" id="email"> > > > <input type="submit" value="Email Password to me" > > > onclick="javascript:emailThisPersonsClue();"> > > > <div id="returnMessage"></div> > > > </div> > > > > > > > > > > > > > > > -- > > ------------------------------------------------------- > > Syed Ekramuddin [Emon] > > Sr. Software Engineer. > > Grameen Software Ltd. > > ------------------------------------------------------- > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
...I got it to work by removing a call to the Dojo library. ...it must have been the sequence in which I declared Dojo.js and Prototype.js (because I have used them both together previously) [thanks for a sounding board... for some reason that always helps debug the issue] cheers Mark On 3/7/07, Mark Holton <holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Any help would be greatly appreciated. Again, this simple code works in > IE 6... does not work in Firefox 2.0.0.2. > The error I get is "Effect is not defined: Line 1" > Thanks and cheers, > -Mark > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd > "> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; > charset=ISO-8859-1" /> > <title>[some title]</title> > <!--- STYLES ---> > <link rel="stylesheet" href="stylesheet/styles2.css" /> > > <!--- frameworks declarations ---> > <script src="../javascript/prototype.js" > type="text/javascript"></script> > <script src="../javascript/scriptaculous.js" > type="text/javascript"></script> > <script src="../javascript/lightbox.js" > type="text/javascript"></script> > <script src="../javascript/rico.js" type="text/javascript"></script> > <script src="../javascript/tooltip.js" > type="text/javascript"></script> > > </head> > > <div align="center"> > > <table border="0"> > <tr> > <th colspan="2" bgcolor="silver">Please Log In</th> > </tr> > > <!--- start Login Form ---> > > <form action="../View/Int/myprofile.cfm" name="LoginForm2" > method="POST"> > > <tr> > <th>E-mail Address:</th> > <td> > <input type="text" name="j_username" size="40" > value="" maxlength="100" required="Yes"> > </td> > </tr> > <tr> > <th>Password:</th> > <td> > <input type="password" name="j_password" size="20" > value="" maxlength="100" required="Yes" > > </td> > </tr> > <tr> > <td colspan="2"><input type="submit" > value="Enter"></td> > </tr> > </form> > </table> > </div> > > <!-- the following is added as an INCLUDE, but for simplicity sake for > sharing the error, provided it as it would be rendered by the browser --> > > <script type="text/javascript"> > function toggleEmailPass() { > // methodstring can be ''blind'', ''appear'', ''slide'' > // this will show/hide the help content > var elem = $(''invisemailform''); > elem.visibility = "visible"; > Effect.toggle(elem, ''appear''); > } > </script> > > <div id="forgotpassword" align="center" style="padding: 5px;"> > <a id="aforgotpassword" href="#" onclick="Effect.toggle(''invisemailform'',''appear''); > return false">Forgot Password? Click here!</a> > </div> > > <div id="invisemailform" style="display:none;"> > Your email address: <input type="text" size="35" id="email"> > <input type="submit" value="Email Password to me" > onclick="javascript:getEmailPass();"> > <div id="emailpassreturn"></div> > </div> > > </body> > </html> > > > > > On 3/7/07, Mark Holton <holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > did you define the effects.js at the header? > > > > if you include Scriptaculous.js, you don''t need to include effects.js, > > correct? I included Scriptaculous.js. > > > > Again, it works in IE 6, not working in FF2... anyone have any ideas > > why? Can someone who has this effect working in FF2 with Prot aculous > > 1.5/1.7 give confirmation that they have it working (and their includes > > if possible). > > cheers- > > > > > > On 3/7/07, Syed Ekram Uddin <sekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > did you define the effects.js at the header? > > > > > > On 3/7/07, Mark Holton < holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > Hey guys, > > > > I''m running Prototype 1.5, with Scriptaculous 1.7, and getting an > > > > error in FF 2.0.0.2. It''s very simple code, basically just toggling > > > > a DIV when someone clicks on the "forgot password" link -- the div contains > > > > an <input> element that enables them to submit their email address to the > > > > server (which sends an email to them containing their password hint, > > > > etc)....... any ideas why I''m getting this error in FF 2.0.0.2?? > > > > It works in even IE 6 (which is usually the opposite!) > > > > > > > > Any help here would be appreciated... is there a conflict between > > > > Scriptaculous 1.7 and FF2? The Ajax.Updater, et al are working with > > > > Proto 1.5 in other pages, but the effects do not seem to be working. > > > > > > > > cheers, > > > > Mark > > > > > > > > <div id="forgotpassword" align="center" style="padding: 5px;"> > > > > <a id="aforgotpassword" href="#" onclick="Effect.toggle > > > > (''invisemailform'',''appear''); return false">Forgot Password? Click > > > > here!</a> > > > > </div> > > > > > > > > <div id="invisemailform" style="display:none;"> > > > > Your email address: <input type="text" size="35" id="email"> > > > > <input type="submit" value="Email Password to me" > > > > onclick="javascript:emailThisPersonsClue();"> > > > > <div id="returnMessage"></div> > > > > </div> > > > > > > > > > > > > > > > > > > > > > -- > > > ------------------------------------------------------- > > > Syed Ekramuddin [Emon] > > > Sr. Software Engineer. > > > Grameen Software Ltd. > > > ------------------------------------------------------- > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I''ve found bouncing ideas off others, even explaining them to others forces you to think about a problem in a lot more detail, as you''re trying to explain it to someone else, and you''ll often realise the prob yourself. I''ve gone to type a few posts to this board a few times and got half way through and realised the mistake and fixed it without actually needing to post. Gareth On 3/8/07, Mark Holton <holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Any help would be greatly appreciated. Again, this simple code works in > IE 6... does not work in Firefox 2.0.0.2. > The error I get is "Effect is not defined: Line 1" > Thanks and cheers, > -Mark > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd > "> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > <meta http-equiv="Content-Type" content="text/html; > charset=ISO-8859-1" /> > <title>[some title]</title> > <!--- STYLES ---> > <link rel="stylesheet" href="stylesheet/styles2.css" /> > > <!--- frameworks declarations ---> > <script src="../javascript/prototype.js" > type="text/javascript"></script> > <script src="../javascript/scriptaculous.js" > type="text/javascript"></script> > <script src="../javascript/lightbox.js" > type="text/javascript"></script> > <script src="../javascript/rico.js" type="text/javascript"></script> > <script src="../javascript/tooltip.js" > type="text/javascript"></script> > > </head> > > <div align="center"> > > <table border="0"> > <tr> > <th colspan="2" bgcolor="silver">Please Log In</th> > </tr> > > <!--- start Login Form ---> > > <form action="../View/Int/myprofile.cfm" name="LoginForm2" > method="POST"> > > <tr> > <th>E-mail Address:</th> > <td> > <input type="text" name="j_username" size="40" > value="" maxlength="100" required="Yes"> > </td> > </tr> > <tr> > <th>Password:</th> > <td> > <input type="password" name="j_password" size="20" > value="" maxlength="100" required="Yes" > > </td> > </tr> > <tr> > <td colspan="2"><input type="submit" > value="Enter"></td> > </tr> > </form> > </table> > </div> > > <!-- the following is added as an INCLUDE, but for simplicity sake for > sharing the error, provided it as it would be rendered by the browser --> > > <script type="text/javascript"> > function toggleEmailPass() { > // methodstring can be ''blind'', ''appear'', ''slide'' > // this will show/hide the help content > var elem = $(''invisemailform''); > elem.visibility = "visible"; > Effect.toggle(elem, ''appear''); > } > </script> > > <div id="forgotpassword" align="center" style="padding: 5px;"> > <a id="aforgotpassword" href="#" onclick="Effect.toggle(''invisemailform'',''appear''); > return false">Forgot Password? Click here!</a> > </div> > > <div id="invisemailform" style="display:none;"> > Your email address: <input type="text" size="35" id="email"> > <input type="submit" value="Email Password to me" > onclick="javascript:getEmailPass();"> > <div id="emailpassreturn"></div> > </div> > > </body> > </html> > > > > > On 3/7/07, Mark Holton <holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > did you define the effects.js at the header? > > > > > > if you include Scriptaculous.js, you don''t need to include effects.js, > > correct? I included Scriptaculous.js. > > > > Again, it works in IE 6, not working in FF2... anyone have any ideas > > why? Can someone who has this effect working in FF2 with Prot aculous > > 1.5/1.7 give confirmation that they have it working (and their includes > > if possible). > > cheers- > > > > > > On 3/7/07, Syed Ekram Uddin <sekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > did you define the effects.js at the header? > > > > > > On 3/7/07, Mark Holton < holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > > > > > > > > > Hey guys, > > > > I''m running Prototype 1.5, with Scriptaculous 1.7, and getting an > > > > error in FF 2.0.0.2. It''s very simple code, basically just toggling > > > > a DIV when someone clicks on the "forgot password" link -- the div contains > > > > an <input> element that enables them to submit their email address to the > > > > server (which sends an email to them containing their password hint, > > > > etc)....... any ideas why I''m getting this error in FF 2.0.0.2?? > > > > It works in even IE 6 (which is usually the opposite!) > > > > > > > > Any help here would be appreciated... is there a conflict between > > > > Scriptaculous 1.7 and FF2? The Ajax.Updater, et al are working with > > > > Proto 1.5 in other pages, but the effects do not seem to be working. > > > > > > > > cheers, > > > > Mark > > > > > > > > <div id="forgotpassword" align="center" style="padding: 5px;"> > > > > <a id="aforgotpassword" href="#" onclick="Effect.toggle > > > > (''invisemailform'',''appear''); return false">Forgot Password? Click > > > > here!</a> > > > > </div> > > > > > > > > <div id="invisemailform" style="display:none;"> > > > > Your email address: <input type="text" size="35" id="email"> > > > > <input type="submit" value="Email Password to me" > > > > onclick="javascript:emailThisPersonsClue();"> > > > > <div id="returnMessage"></div> > > > > </div> > > > > > > > > > > > > > > > > > > > > > -- > > > ------------------------------------------------------- > > > Syed Ekramuddin [Emon] > > > Sr. Software Engineer. > > > Grameen Software Ltd. > > > ------------------------------------------------------- > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
I couldn''t agree more! On 3/7/07, Gareth Evans <agrath-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''ve found bouncing ideas off others, even explaining them to others > forces you to think about a problem in a lot more detail, as you''re trying > to explain it to someone else, and you''ll often realise the prob yourself. > I''ve gone to type a few posts to this board a few times and got half way > through and realised the mistake and fixed it without actually needing to > post. > > Gareth > > > On 3/8/07, Mark Holton <holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Any help would be greatly appreciated. Again, this simple code works in > > IE 6... does not work in Firefox 2.0.0.2. > > The error I get is "Effect is not defined: Line 1" > > Thanks and cheers, > > -Mark > > > > > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd > > "> > > <html xmlns="http://www.w3.org/1999/xhtml"> > > <head> > > <meta http-equiv="Content-Type" content="text/html; > > charset=ISO-8859-1" /> > > <title>[some title]</title> > > <!--- STYLES ---> > > <link rel="stylesheet" href="stylesheet/styles2.css" /> > > > > <!--- frameworks declarations ---> > > <script src="../javascript/prototype.js" > > type="text/javascript"></script> > > <script src="../javascript/scriptaculous.js" > > type="text/javascript"></script> > > <script src="../javascript/lightbox.js" > > type="text/javascript"></script> > > <script src="../javascript/rico.js" type="text/javascript"></script> > > > > <script src="../javascript/tooltip.js" > > type="text/javascript"></script> > > > > </head> > > > > <div align="center"> > > > > <table border="0"> > > <tr> > > <th colspan="2" bgcolor="silver">Please Log In</th> > > </tr> > > > > <!--- start Login Form ---> > > > > <form action="../View/Int/myprofile.cfm" > > name="LoginForm2" method="POST"> > > > > <tr> > > <th>E-mail Address:</th> > > <td> > > <input type="text" name="j_username" size="40" > > value="" maxlength="100" required="Yes"> > > </td> > > </tr> > > <tr> > > <th>Password:</th> > > <td> > > <input type="password" name="j_password" > > size="20" value="" maxlength="100" required="Yes" > > > </td> > > </tr> > > <tr> > > <td colspan="2"><input type="submit" > > value="Enter"></td> > > </tr> > > </form> > > </table> > > </div> > > > > <!-- the following is added as an INCLUDE, but for simplicity sake for > > sharing the error, provided it as it would be rendered by the browser --> > > > > <script type="text/javascript"> > > function toggleEmailPass() { > > // methodstring can be ''blind'', ''appear'', ''slide'' > > // this will show/hide the help content > > var elem = $(''invisemailform''); > > elem.visibility = "visible"; > > Effect.toggle(elem, ''appear''); > > } > > </script> > > > > <div id="forgotpassword" align="center" style="padding: 5px;"> > > <a id="aforgotpassword" href="#" onclick="Effect.toggle(''invisemailform'',''appear''); > > return false">Forgot Password? Click here!</a> > > </div> > > > > <div id="invisemailform" style="display:none;"> > > Your email address: <input type="text" size="35" id="email"> > > <input type="submit" value="Email Password to me" > > onclick="javascript:getEmailPass();"> > > <div id="emailpassreturn"></div> > > </div> > > > > </body> > > </html> > > > > > > > > > > On 3/7/07, Mark Holton <holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > did you define the effects.js at the header? > > > > > > > > > if you include Scriptaculous.js, you don''t need to include effects.js, > > > correct? I included Scriptaculous.js. > > > > > > Again, it works in IE 6, not working in FF2... anyone have any ideas > > > why? Can someone who has this effect working in FF2 with Prot aculous > > > 1.5/ 1.7 give confirmation that they have it working (and their > > > includes if possible). > > > cheers- > > > > > > > > > On 3/7/07, Syed Ekram Uddin <sekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > > > did you define the effects.js at the header? > > > > > > > > On 3/7/07, Mark Holton < holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > wrote: > > > > > > > > > > > > > > > Hey guys, > > > > > I''m running Prototype 1.5, with Scriptaculous 1.7, and getting an > > > > > error in FF 2.0.0.2. It''s very simple code, basically just > > > > > toggling a DIV when someone clicks on the "forgot password" link -- the div > > > > > contains an <input> element that enables them to submit their email address > > > > > to the server (which sends an email to them containing their password hint, > > > > > etc)....... any ideas why I''m getting this error in FF 2.0.0.2?? > > > > > It works in even IE 6 (which is usually the opposite!) > > > > > > > > > > Any help here would be appreciated... is there a conflict between > > > > > Scriptaculous 1.7 and FF2? The Ajax.Updater, et al are working > > > > > with Proto 1.5 in other pages, but the effects do not seem to be > > > > > working. > > > > > > > > > > cheers, > > > > > Mark > > > > > > > > > > <div id="forgotpassword" align="center" style="padding: 5px;"> > > > > > <a id="aforgotpassword" href="#" onclick="Effect.toggle > > > > > (''invisemailform'',''appear''); return false">Forgot Password? Click > > > > > here!</a> > > > > > </div> > > > > > > > > > > <div id="invisemailform" style="display:none;"> > > > > > Your email address: <input type="text" size="35" id="email"> > > > > > <input type="submit" value="Email Password to me" > > > > > onclick="javascript:emailThisPersonsClue();"> > > > > > <div id="returnMessage"></div> > > > > > </div> > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > ------------------------------------------------------- > > > > Syed Ekramuddin [Emon] > > > > Sr. Software Engineer. > > > > Grameen Software Ltd. > > > > ------------------------------------------------------- > > > > > > > > > > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hi Thomas, Thanks... yeah, I just got it to work. Next time I will post it on a server when emailing about an issue. It was Prototype I was having troubles with as Ajax.Updater was not working in one of my functions in FF2 (which is totally weird, b/c it''s usually Internet Exploder). I don''t know, I may be totally wrong here, it''s almost like FF2 was caching the prototype.js in the browser (inspite of obviously attempting to clear my cache, etc). I ended up putting a period "." in one of the comments inside Prototype 1.5 to try and get it to not cache, and was messing around with some of the unit tests, and then it worked. ...not sure exactly what was the final reason, but it seems like it was related to FF caching. But it seems like they are both working very well in FF2, IE6, and IE7 now. Out of curiosity, have you ever come across caching like that with FF2?? (please say yes) ...I need a beer and some sleep. cheers, Mark On 3/7/07, Thomas Fuchs <t.fuchs-moWQItti3gBl57MIdRCFDg@public.gmane.org> wrote:> > > Best is to put this up at some online URL, so someone can have a look. > > Effects work fine here. :) > > Best, > Thomas > > Am 07.03.2007 um 20:20 schrieb Mark Holton: > > > did you define the effects.js at the header? > > > > if you include Scriptaculous.js, you don''t need to include > > effects.js, correct? I included Scriptaculous.js. > > > > Again, it works in IE 6, not working in FF2... anyone have any > > ideas why? Can someone who has this effect working in FF2 with > > Prot aculous 1.5/1.7 give confirmation that they have it working > > (and their includes if possible). > > cheers- > > > > > > On 3/7/07, Syed Ekram Uddin <sekram-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: did you > > define the effects.js at the header? > > > > > > On 3/7/07, Mark Holton < holtonma-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hey guys, > > I''m running Prototype 1.5, with Scriptaculous 1.7, and getting an > > error in FF 2.0.0.2. It''s very simple code, basically just > > toggling a DIV when someone clicks on the "forgot password" link -- > > the div contains an <input> element that enables them to submit > > their email address to the server (which sends an email to them > > containing their password hint, etc)....... any ideas why I''m > > getting this error in FF 2.0.0.2?? It works in even IE 6 (which > > is usually the opposite!) > > > > Any help here would be appreciated... is there a conflict between > > Scriptaculous 1.7 and FF2? The Ajax.Updater, et al are working > > with Proto 1.5 in other pages, but the effects do not seem to be > > working. > > > > cheers, > > Mark > > > > <div id="forgotpassword" align="center" style="padding: 5px;"> > > <a id="aforgotpassword" href="#" onclick="Effect.toggle > > (''invisemailform'',''appear''); return false">Forgot Password? Click > > here!</a> > > </div> > > > > <div id="invisemailform" style="display:none;"> > > Your email address: <input type="text" size="35" id="email"> > > <input type="submit" value="Email Password to me" > > onclick="javascript:emailThisPersonsClue();"> > > <div id="returnMessage"></div> > > </div> > > > > > > > > > > > > -- > > ------------------------------------------------------- > > Syed Ekramuddin [Emon] > > Sr. Software Engineer. > > Grameen Software Ltd. > > ------------------------------------------------------- > > > > > > > > > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---