This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

IFrame and content page issues


avatar
error 232
From: -
IFrame and content page issues

I created content page and put iframe in it and it doesn't work.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: IFrame and content page issues
avatar
OP 232
From: -
Solved. Disable wygiwys editor.
1 Re: IFrame and content page issues
avatar
OP 232
From: -
This is what happened in html source editor:

<p>
<script type="text/javascript"><!--
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 795;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
// --></script>
<script src="https://www.contentteller.com/ http://www.google.com/afsonline/show_afs_search.js" type="text/javascript"><!--
&lt;div id="cse-search-results"&gt;&lt;/div&gt;<br />&lt;script type="text/javascript"&gt;<br /> var googleSearchIframeName = "cse-search-results";<br /> var googleSearchFormName = "cse-search-box";<br /> var googleSearchFrameWidth = 795;<br /> var googleSearchDomain = "<a href="https://www.contentteller.com/ http://www.google.com" mce_href="https://www.contentteller.com/ http://www.google.com">www.google.com</a>";<br /> var googleSearchPath = "/cse";<br />&lt;/script&gt;<br />&lt;script type="text/javascript" src="https://www.contentteller.com/<a href="https://www.contentteller.com/ http://www.google.com/afsonline/show_afs_search.js%22%3E%3C/script" mce_href="https://www.contentteller.com/ http://www.google.com/afsonline/show_afs_search.js%22%3E%3C/script"> http://www.google.com/afsonline/show_afs_search.js"&gt;&lt;/script</a>&gt;<br />
// --></script>
</p>
1 Re: IFrame and content page issues
avatar
OP 232
From: -
I still need help with this. It doesn't work. It works if i put in in separate file on server.
1 Re: IFrame and content page issues
avatar
Editor
0
From: -
This should work without any problem.

Is the code working at all? You can check this by copy the code to an .html page and then upload it to your web server.
1 Re: IFrame and content page issues
avatar
OP 232
From: -
I put google custom search code in content page. Used html source editor to put it in. I got blank page when tried to view it.

<p>

<script type="text/javascript"><!--
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 800;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
// --></script>
<script src="https://www.contentteller.com/ http://www.google.com/afsonline/show_afs_search.js" type="text/javascript"></script>
</p>
1 Re: IFrame and content page issues
avatar
Editor
0
From: -
What is exactly the problem?

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.