Strange behaviour with Java script

Last post 01-28-2006, 11:05 PM by Adam. 31 replies.
Page 2 of 2 (32 items)   < Previous 1 2
Sort Posts: Previous Next
  •  11-08-2005, 4:08 AM 12357 in reply to 12350

    Re: Strange behaviour with Java script

    I see. But I can't reproduce the same problem with our DNN 3.1 Demo.
     
    Can you check your web.config file? Please use the following configuation.
     
     

    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

  •  11-08-2005, 7:05 AM 12381 in reply to 12357

    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.
  •  11-08-2005, 3:21 PM 12401 in reply to 12381

    Re: Strange behaviour with Java script

    Mariette,
     
    Do you test again? I've changed the web.config setting.
     
    In 1 hour, I will change it back.
     
    I am using the following configuration.
     

    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

  •  11-08-2005, 3:29 PM 12403 in reply to 12401

    Re: Strange behaviour with Java script

    I get "nullnull" after I submit and edit again and submit.
  •  11-08-2005, 3:39 PM 12404 in reply to 12403

    Re: Strange behaviour with Java script

    I see. I am not sure what caused the problem.
     
     
    I'll investigate this issue and get back to you as soon as possible.
     
    By the way, I found the basic text box does't work for this javaScript as well.

     

    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

  •  11-19-2005, 1:05 PM 12822 in reply to 12135

    Re: Strange behaviour with Java script

    I have found a workaround. I insert a token in my text [GOOGLE] and the token is replaced with the Javascript when somebody calls the page. Works perfectly
  •  11-26-2005, 5:19 PM 13084 in reply to 12822

    Re: Strange behaviour with Java script

    Though I found a workaround this issue is not fixed in version 5.1.
  •  11-26-2005, 5:24 PM 13085 in reply to 13084

    Re: Strange behaviour with Java script

    I don't think you need the workaround for the version 5.1. This issue has been fixed.
     
     

    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

  •  11-26-2005, 5:32 PM 13086 in reply to 13085

    Re: Strange behaviour with Java script

    If I paste the Java in the HTML screen and switch back to normal view and click update there is nothing left. Adam, this is NOT fixed in version 5.1 as far as I can tell but I will install a clean DNN 3.2 and a clean CuteEditor 5.1 NOW!
  •  11-26-2005, 5:49 PM 13087 in reply to 13086

    Re: Strange behaviour with Java script

    OK, here we go again. I past this in HTML mode:
     
      <script type="text/javascript"><!--
    google_ad_client = "pub-8037121247057075";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    google_color_border = "F7E2C7";
    google_color_bg = "F7E2C7";
    google_color_link = "993333";
    google_color_url = "CC9900";
    google_color_text = "000000";
    //--></script>
      <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
     
    </script>
     
    I click on normal view and click update. Then I go back and open the editor and look in HTML and this is what I get:
     
    <script type=text/javascript><!--
    google_ad_client = "pub-8037121247057075";
    google_ad_width = 468;
    google_ad_height = 60;
    google_ad_format = "468x60_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    google_color_border = "F7E2C7";
    google_color_bg = "F7E2C7";
    google_color_link = "993333";
    google_color_url = "CC9900";
    google_color_text = "000000";
    //--></script><script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type=text/javascript>
     
    </script><iframe tabIndex="-32768" name="google_ads_frame" marginWidth="0" marginHeight="0" src="http://pagead2.googlesyndication.com/pagead/ads?client=ca-pub-8037121247057075&dt=1133045200572&lmt=1133045200&format=468x60_as&output=html&url=http%3A%2F%2Fdnn32clean%2FHome%2Ftabid%2F36%2Fctl%2FEdit%2Fmid%2F347%2FDefault.aspx&color_bg=F7E2C7&color_text=000000&color_link=993333&color_url=CC9900&color_border=F7E2C7&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="468" scrolling="no" height="60" allowTransparency="true"></iframe>

    It adds somekind of iframe and I don't know where that comes from. Adam, I am not a person that gets angry quickly but you keep telling me that it is fixed but it is NOT
  •  12-10-2005, 3:52 PM 13672 in reply to 12339

    Re: Strange behaviour with Java script

  •  01-28-2006, 11:05 PM 15260 in reply to 12339

    Re: Strange behaviour with Java script

Page 2 of 2 (32 items)   < Previous 1 2
View as RSS news feed in XML