Advertisement:

Author Topic: Uploaded ad images are not sliding  (Read 1710 times)

greg2012

  • Jr. Member
  • **
  • Posts: 66
Uploaded ad images are not sliding
« on: October 06, 2014, 06:35:24 am »
I upgraded to the latest version 3.4.2 and I've noticed that the pics uploaded on ads cannot slide as before. The frame and the arrow on the right or left which allowed you to do so, had disappeared.
I'm still working on my site but take a look at any of the test ads. www.trinifirst.com

Greg

aide2001

  • Guest
Re: Uploaded ad images are not sliding
« Reply #1 on: October 06, 2014, 01:18:14 pm »
This has something to do with the fancybox js not being called for correctly
In the old bender theme, in head.php after langs you needed another semi colon (;) this may also be the case for your modern theme
Have a look in head.php and let us know the code

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Uploaded ad images are not sliding
« Reply #2 on: October 06, 2014, 05:58:47 pm »
@greg2012
Reason is that you have 8 javascript errors on your listing page, that block fancy script to be loaded and works functional.
I sugges to look into code, my tip is that you load fancy script before jQuery itself is loaded ;)

greg2012

  • Jr. Member
  • **
  • Posts: 66
Re: Uploaded ad images are not sliding
« Reply #3 on: October 07, 2014, 07:00:41 am »
Thanks for the two replies. What you're suggesting is all Greek to me as I am not a programmer. I can upload the software ware and make changes to files if directed.

Can you suggest the easiest way I can change this please?

@ Frosticek How were you able to determine I had 8 javascript errors?

Teach me  ;-)

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Uploaded ad images are not sliding
« Reply #4 on: October 07, 2014, 10:52:21 am »
@greg2012
Google Dev Tools (in Google Chrome), FireFox FireBug (in Firefox) ...

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: Uploaded ad images are not sliding
« Reply #5 on: October 07, 2014, 11:22:18 am »
Hi geopd,

You can use dev console in Chrome (F12) to see that your script is "missing" jQuery.
This is happening because you use js combiner, and for some reason fancybox doesn't work with that.

Regards

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: Uploaded ad images are not sliding
« Reply #6 on: October 07, 2014, 11:29:37 am »
I see now that you have a strange /scripts/f=/ part in your jQuery path, check your head.php file to be sure that you typed this correctly.

Regards

greg2012

  • Jr. Member
  • **
  • Posts: 66
Re: Uploaded ad images are not sliding
« Reply #7 on: October 07, 2014, 07:12:48 pm »
I have been trying out various themes available and maybe it was caused by that..
Still have to figure out how to fix it..





frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Uploaded ad images are not sliding
« Reply #8 on: October 07, 2014, 11:21:36 pm »
@greg2012
Did you try to disable javascript combine?

greg2012

  • Jr. Member
  • **
  • Posts: 66
Re: Uploaded ad images are not sliding
« Reply #9 on: October 07, 2014, 11:32:13 pm »
I have to tell you - I'm clueless about this. Apart from uploading the site, and copying lines of codes given to me ...such as changing the screen background colour....I"m quite inept.





frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Uploaded ad images are not sliding
« Reply #10 on: October 08, 2014, 09:58:55 am »
@greg2012
So ... Did you or not?

dev101

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2155
  • osclass.work
Re: Uploaded ad images are not sliding
« Reply #11 on: October 08, 2014, 11:40:11 am »
Check your theme's folder head.php file: oc-content/themes/yourtheme/head.php (modern right? the combiner is not used by default, so what theme is it and who modified it?) and look for the line that calls for a jquery.min.js.

Regards