Tag: igoogle

IE6-7 Javascript

我正在使用James Padolsey撰​​写的“模仿igoogle与cookie的教程” http://james.padolsey.com/tag/cookies/ 我遇到了IE6和7解释javascript的问题。 我发现了问题,但我无法解决它。 以下代码很长,但问题仅在于一小部分 /* * Script from NETTUTS.com [by James Padolsey] V.2 (ENHANCED, WITH COOKIES!!!) * @requires jQuery($), jQuery UI & sortable/draggable UI modules & jQuery COOKIE plugin */ var iNettuts = { jQuery : $, settings : { columns : ‘.column’, widgetSelector: ‘.widget’, handleSelector: ‘.widget-head’, contentSelector: ‘.widget-content’, /* If you don’t […]

jquery和ajax之间的冲突

我使用Igoogle组件inettuts ,我的网页侧面有一些链接,如果用户删除了一块数据,他可以取回它我使用ajax来实现我的目标,如下所示: 我的.aspx: 我的.cs: protected void rlv_mainservices_ItemCommand(object sender, RadListViewCommandEventArgs e) { if (e.CommandName == “GetDtails”) { try { int index = Convert.ToInt32(e.CommandArgument); CreateBlockOfData(“widget color-blue”, 2, “aaa”); } catch (Exception ee) { } } } protected void CreateBlockOfData(string widget_color, int column_par, string process_name) { HtmlGenericControl outer_li = new HtmlGenericControl(“li”); outer_li.Attributes.Add(“class”, widget_color); if (column_par == 1) { […]