I couldn't agree more!

On 3/7/07, Gareth Evans <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED] > 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 <[EMAIL PROTECTED] > wrote:
> > > >
> > > > did you define the effects.js at the header?
> > > >
> > > > On 3/7/07, Mark Holton < [EMAIL PROTECTED] > 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 [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to