Javascript Error on Betting Template

  • deadcert
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 5 months ago #30669 by deadcert
I notice on your demo betting template and also on my install of this template that Chrome shows the following Javascript Error

ReferenceError: MM_preloadImages is not defined

Any ideas what could be causing that an a possible fix?

Please Log in to join the conversation.

More
11 years 5 months ago #30677 by ivan.milic
Send link please

Please Log in to join the conversation.

  • deadcert
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 5 months ago #30679 by deadcert
As I said its your demo demo.hotjoomlatemplates.com/index.php?template=betting

And of course now that I have installed it on my site , the error appears there too so the problem lies with the template.

I have tried on several machines and its the same error. I am using Chrome browser with the Javascript Errors extension installed

Regards
Adrian

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 5 months ago #30681 by milos
Hi Adrian,

Please edit file /templates/hot_betting/index.php and remove this line:
Code:
<script type="text/javascript" src="<?php echo $template_path; ?>/js/betting_scripts.js"></script>

Thanks
Milos

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
11 years 5 months ago #30682 by milos
No, sorry... Better do this.

1. Don't delete the line from my previous post.
2. Download file demo.hotjoomlatemplates.com/betting/temp...s/betting_scripts.js and upload it to the folder /templates/hot_betting/js

This will fix all JS errors.

Thanks
Milos

Please Log in to join the conversation.

  • deadcert
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
11 years 5 months ago #30722 by deadcert
Thanks Milos

That worked

Regards
Adrian

Please Log in to join the conversation.

Time to create page: 0.238 seconds
Powered by Kunena Forum