Log in

View Full Version : Does anyone know what JSFX is?



Wassouf
06-02-2007, 07:31 AM
Hello,

I am currently doing a skin however in IE the page has loaded but with errors, the error shown is:

Line: 474
Char: 1
Error: 'JSFX' is undefined
Code: 0

Can someone please help me know the solution for this issue?

Thank you very much!

Twey
06-02-2007, 07:50 AM
Probably.

tech_support
06-02-2007, 09:29 AM
...you need to show us your code. We're not mind-readers or remote-controllers (and the like).

Ryan Fitton
06-02-2007, 10:25 AM
It sounds like it may be javascript. I put JSFX into Google it the entry that it brought up was this http://www.javascript-fx.com/. :)

djr33
06-02-2007, 06:50 PM
I'm sure there's an object/function/variable/etc named JSFX that is being called somewhere on your page before it is defined, or it is never defined.
But to actually fix it, we would need to see more.
I'm guessing that JSFX does mean javascript effects, though it may or may not be that website, since it's a fairly logical abbreviation.

mburt
06-02-2007, 11:06 PM
That was my assumption as well.
Example:

<script type="text/javascript">
alert(JSFX);
</script>
should return:
"undefined".

Wassouf
06-03-2007, 04:57 AM
Sorry I should have clarified with more information.
All the skin code is within a XML file, I have searched for JSFX in it and found the following at the bottom of the style:


<script language="JavaScript" src="$stylevar[imgdir_misc]/rollovers.js" type="text/javascript"></script>

<script language="JavaScript" type="text/javascript">
<!--
JSFX.Rollover("register", "$stylevar[imgdir_misc]/register_over.gif");
JSFX.Rollover("usercp", "$stylevar[imgdir_misc]/usercp_over.gif");
JSFX.Rollover("faq", "$stylevar[imgdir_misc]/faq_over.gif");
JSFX.Rollover("members", "$stylevar[imgdir_misc]/members_over.gif");
JSFX.Rollover("calendar", "$stylevar[imgdir_misc]/calender_over.gif");
JSFX.Rollover("daily", "$stylevar[imgdir_misc]/daily_over.gif");
JSFX.Rollover("new", "$stylevar[imgdir_misc]/new_posts_over.gif");
JSFX.Rollover("search", "$stylevar[imgdir_misc]/search_over.gif");
JSFX.Rollover("links", "$stylevar[imgdir_misc]/quicklinks_over.gif");
JSFX.Rollover("logout", "$stylevar[imgdir_misc]/logout_over.gif");
//-->
</script>]]>

I am not using this at the moment, also there is an external xml file named rollovers.js, I tried to remove the above code but once I uploaded the xml file it gave me an error.

I hope this has helped you get a better idea of my issue.

Thanks,

mburt
06-03-2007, 07:02 PM
There must be a server-side script acting here, because having:
"$stylevar/rollovers.js"
for a js file source seems a little odd. Make sure that the file [I]is actually being loaded.
It seems as if the JSFX object hasn't been loaded, or otherwise the external js isn't linking correctly.