Hi Tom,

Thanks for the assistance.  It appears that bypassing scriptaculous.js
altogether and simply using effects.js works properly in Firefox.

Cheers,
Rich.

On Jun 7, 8:32 pm, Tom Gregory <[EMAIL PROTECTED]> wrote:
> I've used effects and tinymce in the same page without difficulty.
>
> Have you tried loading effects before tinymce?  Also, load the
> effects file directly.
>
> Instead of
> <script language="javascript" type="text/javascript"
> src="scriptaculous.js?load=effects"></script>
>
> Do
> <script language="javascript" type="text/javascript"
> src="effects.js"></script>
>
> TAG
>
> On Jun 7, 2007, at 12:46 PM, Rich wrote:
>
>
>
> > Hi there,
>
> > Using the latest version of Firefox, I'm having intermittent problems
> > with it loading the scriptaculous library.
>
> > Here are my JS include lines:
>
> > <script language="javascript" type="text/javascript" src="js/
> > ajax.php"></script>
> > <script language="javascript" type="text/javascript" src="js/
> > prototype.js"></script>
> > <script language="javascript" type="text/javascript" src="tinymce/
> > jscripts/tiny_mce/tiny_mce.js"></script>
> > <script language="javascript" type="text/javascript">
> > tinyMCE.init({
> >         mode : "textareas",
> >         width : "500",
> >         theme_advanced_buttons1:
> > "bold,italic,underline,strikethrough,justifyleft,justifycenter,justify
> > right,justifyfull,fontselect,fontsizeselect",
> >         theme_advanced_buttons2:
> > "bullist,numlist,outdent,indent,undo,redo,link,unlink,anchor,code,styl
> > eselect,formatselect"
> > });
> > </script>
> > <script language="javascript" type="text/javascript"
> > src="scriptaculous.js?load=effects"></script>
>
> > Testing using the latest version of Opera and IE6 and IE7, my effects
> > work 100% of the time.
> > Using the latest version of Firefox, 80% of the time I receive the
> > error "Effect is not defined".  However, if I refresh the page and
> > keep trying, eventually it will work.  It's almost as if Firefox is
> > NOT loading the scriptaculous javascript file, or perhaps hasn't
> > finished loading it completely for some reason.
>
> > Has anyone experienced this before, if so, are you aware of any
> > workarounds?
>
> > Thanks.


--~--~---------~--~----~------------~-------~--~----~
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