- Posts: 11
- Thank you received: 0
Javascript Error on Betting Template
-
deadcert
Inactive member - Topic Author
- New Member
Less
More
11 years 5 months ago #30669
by deadcert
Javascript Error on Betting Template was created 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?
ReferenceError: MM_preloadImages is not defined
Any ideas what could be causing that an a possible fix?
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
11 years 5 months ago #30677
by ivan.milic
Replied by ivan.milic on topic Javascript Error on Betting Template
Send link please
Please Log in to join the conversation.
-
deadcert
Inactive member - Topic Author
- New Member
Less
More
- Posts: 11
- Thank you received: 0
11 years 5 months ago #30679
by deadcert
Replied by deadcert on topic Javascript Error on Betting Template
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
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
Less
More
- Posts: 6742
- Thank you received: 715
11 years 5 months ago #30681
by milos
Replied by milos on topic Javascript Error on Betting Template
Hi Adrian,
Please edit file /templates/hot_betting/index.php and remove this line:
Thanks
Milos
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
Less
More
- Posts: 6742
- Thank you received: 715
11 years 5 months ago #30682
by milos
Replied by milos on topic Javascript Error on Betting Template
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
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.
Time to create page: 0.238 seconds