no image showing up, black screen

  • greyfeet
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 6 months ago #11233 by greyfeet
:) I can't seems to bring up the images.
Firebug gives error : element.set is not a function
[Break On This Error] element.set('opacity','0');

Wonder if this got to do with some conflict with JS in my template?

mezzebistrobar.com.sg/

Can someone help?
Attachments:

Please Log in to join the conversation.

More
13 years 6 months ago #11245 by ivan.milic
jsn_utils.js is not our file, I thing it's from your template provider, but it can be jQuery conflict. Here is general instruction for optimizing jquery for joomla:

Good practice is to disable JQuery in all modules and then in index.php of template in head section add manually reference to .


Latest version of jQuery you can download from jquery.com , link is jqueryui.com/download .
You can copy files from package to <template folder>/js/

There are 2 script and one css reference:

<link href="<???path???>/jquery-ui-1.x.xx.custom.css" rel="stylesheet" type="text/css" />

<script src="<???path???>/jquery-1.x.x.min.js" type="text/javascript" />
<script src="<???path???>/jquery-ui-1.x.xx.min.js" type="text/javascript"/>

Go to Module manager open module by bodule and whereerver you see "Load JQuery" (this name can differ form case to case ) property disable it.
Then also go to plugin manager and do that also.

Then open index.php of template and check if there is already reference there. If yes you can just modify it to reference new files you downloaded or delete it and put above 3 reference lines in that order as much close to begining of <head> section as it can be.


To chack you have one and only exactly one reference use "View source" option of your browser when you go to your site. js. References can sometimes be in place where module is rendered so you need to check all source. Easiest way is to text-serach "jquery" in page's source.

Please Log in to join the conversation.

  • greyfeet
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 5 months ago #11264 by greyfeet
Hi ivan.
Thanks for the detailed info. I have change to hot joomla Gallery and that works fine. Will try your solution again.

Please Log in to join the conversation.

Time to create page: 0.177 seconds
Powered by Kunena Forum