Slide Show not working properly

  • justy
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #10226 by justy
now works, but now I have a problem with plugin DM AskInfo PopUp.

Please Log in to join the conversation.

More
13 years 4 months ago #10229 by ivan.milic
Hi, this is text that describes how to optimize jQuery for your site:
TEXT:
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.

  • justy
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 4 months ago #10259 by justy
Ivan,

the problem is only in file (template/index.php) line:
<script type="text/javascript" src="<?php echo $template_path ?>/js/jquery.min.js"></script>

If I disabled this line, works all, only slideshow images (bg1.jpg, bg2.jpg...) not working only on frontpage. I would like to that everything works.

Please help me.

Please Log in to join the conversation.

More
13 years 4 months ago - 13 years 4 months ago #10266 by ivan.milic
Probably you put new references tool late so background roller don't get it in time. Move your new references more close to beggining of <head> section.
(yes you should remove that line)
Last edit: 13 years 4 months ago by ivan.milic.

Please Log in to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum