Re: Strange behaviour with Java script

  •  11-08-2005, 7:05 AM

    Re: Strange behaviour with Java script

    Well I can reproduce it on your DNN demo site just fine. Please, do this: 
    1. Go to http://dnn3.cutesoft.net/DNNEditDemo/tabid/92/Default.aspx and open the editor
    2. Clean all contents in the editor in HTML view
    3. Copy the following code in HTML view:
    4. <script type="text/javascript"><!--
      google_ad_client = "pub-8037121247057075";
      google_alternate_ad_url = "http://www.smallbizserver.net/Portals/0/google_adsense_script.htm";
      google_ad_width = 728;
      google_ad_height = 90;
      google_ad_format = "728x90_as";
      google_ad_type = "text_image";
      google_ad_channel ="";
      google_color_border = "CCCCCC";
      google_color_bg = "F7E2C7";
      google_color_link = "663300";
      google_color_url = "CC9900";
      google_color_text = "000000";
      //--></script>
      <script type="text/javascript"
        src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
      </script>
    5. Switch to Normal View and choose Submit.
    6. The result will be:
    7. <iframe tabIndex="-32768" name="google_ads_frame" marginWidth="0" marginHeight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-8037121247057075&dt=1131451297475&lmt=1131451297&alternate_ad_url=http%3A%2F%2Fwww.smallbizserver.net%2FPortals%2F0%2Fgoogle_adsense_script.htm&format=728x90_as&output=html&url=http%3A%2F%2Fdnn3.cutesoft.net%2FDNNEditDemo%2Ftabid%2F92%2Fctl%2FEdit%2Fmid%2F417%2FDefault.aspx&color_bg=F7E2C7&color_text=000000&color_link=663300&color_url=CC9900&color_border=CCCCCC&ad_type=text_image&u_h=1050&u_w=1400&u_ah=1022&u_aw=1400&u_cd=32&u_tz=60&u_his=7&u_java=true" frameBorder="0" width="728" scrolling="no" height="90" allowTransparency="true"></iframe>
    8. The above result is why I started this thread and after some updates the errors just change but never give me the result I want.
View Complete Thread