Contentteller

Contentteller Support Forums
Home Forums > Contentteller > General Questions >

IFrame and content page issues

Discussion in 'General Questions' started by error, Nov 7, 2008.

  1. error Customer

    IFrame and content page issues

    I created content page and put iframe in it and it doesn't work.
    error, Nov 7, 2008
    #1
  2. Philipp Administrator

    What is exactly the problem?
    Philipp, Nov 7, 2008
    #2
  3. error Customer

    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.

    Code:
    <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="http://www.google.com/afsonline/show_afs_search.js" type="text/javascript"></script>
    </p>
    error, Nov 7, 2008
    #3
  4. Philipp Administrator

    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.
    Philipp, Nov 7, 2008
    #4
  5. error Customer

    I still need help with this. It doesn't work. It works if i put in in separate file on server.
    error, Jun 14, 2009
    #5
  6. error Customer

    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="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="http://www.google.com" mce_href="http://www.google.com">www.google.com</a>";<br /> var googleSearchPath = "/cse";<br />&lt;/script&gt;<br />&lt;script type="text/javascript" src="<a href="http://www.google.com/afsonline/show_afs_search.js%22%3E%3C/script" mce_href="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>
    error, Jun 14, 2009
    #6
  7. error Customer

    Solved. Disable wygiwys editor.
    error, Jun 14, 2009
    #7
Tweet
Facebook:
Forgot your password?
Contentteller Support Forums
Home Forums > Contentteller > General Questions >
  • Home
  • Forums

    Forums

    Quick Links
    • Search Forums
    • What's New?
  • Members

    Members

    Quick Links
    • Registered Members
    • Current Visitors
    • Recent Activity
  • Help

    Help

    Quick Links
    • Smilies
    • BB Codes
    • Trophies

Separate names with a comma.

Advanced search...
    Forum software by XenForo™ ©2011 XenForo Ltd.