Re: Strange behaviour with Java script

  •  10-31-2005, 2:18 PM

    Re: Strange behaviour with Java script

    Mariette ,
     
    I've worked on this problem in the weekend.
     
    The following function in the show_ads.js cause the problem.
     
    function google_write_iframe(w, d, ad_url) {
      ad_url = ad_url.substring(0, 1000);
      ad_url = ad_url.replace(/%\w?$/, '');
      if (w.google_ad_output == 'js' &&
          (w.google_ad_request_done || w.google_radlink_request_done)) {
        d.write('<script language="JavaScript1.1"' +
                ' src=' + quoted(ad_url) + '></' + 'script>');
      } else if (w.google_ad_output == 'html') {
        if (w.name == 'google_ads_frame') {
          google_write_tracker(d, ad_url, 'reboundredirect');
        } else {
          d.write('<iframe' +
                  ' name="google_ads_frame"' +
                  ' width=' + quoted(w.google_ad_width) +
                  ' height=' + quoted(w.google_ad_height) +
                  ' frameborder=' + quoted(w.google_ad_frameborder) +
                  ' src=' + quoted(ad_url) +
                  ' marginwidth="0"' +
                  ' marginheight="0"' +
                  ' vspace="0"' +
                  ' hspace="0"' +
                  ' allowtransparency="true"' +
                  ' scrolling="no">');
          google_write_tracker(d, ad_url, 'noiframe');
          d.write('</iframe>');
        }
      }
    }

    Unfortunely I am not able to find a solution to this issue.

    I will continue investigating this issue and will get back to you if I find a solution.

     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View Complete Thread