Hi Guys
Sorry to be a pain I use rainy Sunday afternoons to test things and for some reason something is stripping out javascripts from pages on a new website I'm working on, working fine on old sites, for example the copyright script is not appearing on this test page.
http://beckenhamplacepark.co.uk/test/
Here is the wysiwyg file http://beckenhamplacepark.co.uk/test/test.zip
Thanks for your help
Scripts
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
- colin1661music
-
- Posts: 119
- Joined: Sun May 31, 2015 3:49 pm
- Location: London
- Contact:
- BaconFries
-
- Posts: 5955
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Scripts
Viewing the source you have a index.js file on your server instead of a index.html or .php. This should not be there and indicates a configuration issue on the server. It could also be you have enabled 'generate external JS file in Tools->Options->HTML.
Either change the server configuration or disable 'generate external JS file' in Tools->Options->HTML and see if that resolves it.
Either change the server configuration or disable 'generate external JS file' in Tools->Options->HTML and see if that resolves it.
- colin1661music
-
- Posts: 119
- Joined: Sun May 31, 2015 3:49 pm
- Location: London
- Contact:
Re: Scripts
Thank you some how "Generate external JS file for page specific scripts" was ticked.
I've create over 30 sites in WYSIWYG this have never happened before!
Once again thanks for a brilliant service.
BTW love the new cards they've revolutionised the way i create sites, would a bit more control over them.
I've create over 30 sites in WYSIWYG this have never happened before!
Once again thanks for a brilliant service.
BTW love the new cards they've revolutionised the way i create sites, would a bit more control over them.
- colin1661music
-
- Posts: 119
- Joined: Sun May 31, 2015 3:49 pm
- Location: London
- Contact:
Re: Scripts
Hi sorry to be a pain,
That solved the problem of the copyright script, but this all started because I couldn't put google ads on the site I was creating, as I said before I've created over 30 sites and never had a problem before and this ad is on the other sites on the same server and is working fine:-
This is what wysiwyg does to the code
<div id="wb_Footer-ad">
<div id="Footer-ad">
<div class="row">
<div class="col-1">
</div>
<div class="col-2">
<!-- london-maps-ad -->
<div id="london-maps-ad" style="display:inline-block;width:293px;height:100px;z-index:0">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- free london everts 320 100 -->
<ins class="adsbygoogle"
="" style="display:inline-block;width:320px;height:100px"
="" data-ad-client="ca-pub-1137652734016121"
="" data-ad-slot="4816100260">
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
</div>
<div class="col-3">
</div>
</div>
</div>
</div>
This is how I paste in the html
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- free london everts 320 100 -->
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:100px"
data-ad-client="ca-pub-1137652734016121"
data-ad-slot="4816100260"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
That solved the problem of the copyright script, but this all started because I couldn't put google ads on the site I was creating, as I said before I've created over 30 sites and never had a problem before and this ad is on the other sites on the same server and is working fine:-
This is what wysiwyg does to the code
<div id="wb_Footer-ad">
<div id="Footer-ad">
<div class="row">
<div class="col-1">
</div>
<div class="col-2">
<!-- london-maps-ad -->
<div id="london-maps-ad" style="display:inline-block;width:293px;height:100px;z-index:0">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- free london everts 320 100 -->
<ins class="adsbygoogle"
="" style="display:inline-block;width:320px;height:100px"
="" data-ad-client="ca-pub-1137652734016121"
="" data-ad-slot="4816100260">
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
</div>
<div class="col-3">
</div>
</div>
</div>
</div>
This is how I paste in the html
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- free london everts 320 100 -->
<ins class="adsbygoogle"
style="display:inline-block;width:320px;height:100px"
data-ad-client="ca-pub-1137652734016121"
data-ad-slot="4816100260"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
Re: Scripts
Please set all HTML/CSS/JavaScript formatting options to default.
- colin1661music
-
- Posts: 119
- Joined: Sun May 31, 2015 3:49 pm
- Location: London
- Contact:
Re: Scripts
Please click 'Reset settings'