<?xml version="1.0" encoding="gb2312" ?><rss version='2.0' xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>博问 - Javascript</title><link>http://space.cnblogs.com/q</link> <description>博问帮您解决开发技术问题</description> <language>zh-cn</language><pubDate>Tue, 14 Oct 2008 07:22:50 GMT</pubDate>
<lastBuildDate>Tue, 14 Oct 2008 07:22:50 GMT</lastBuildDate>
<copyright>Copyright 2007,hjenglish.com</copyright> <item><title>推荐个可实现弹出一个层然后在层上做登录，登录后刷新背景窗体的例子</title><pubDate>Mon, 13 Oct 2008 15:27:31 GMT</pubDate><author>数据绑定者</author><link>http://space.cnblogs.com/question/3299/</link><description><![CDATA[<p>要求：尽量小,兼容流行浏览器。submodel我看了，一般。有啥好的没？</p>]]></description></item><item><title>[急]  web页面通过小票打印机打印</title><pubDate>Thu, 09 Oct 2008 14:05:57 GMT</pubDate><author>随风逝去（叶进）</author><link>http://space.cnblogs.com/question/3239/</link><description><![CDATA[<p>现有一功能：动态生成一个300px宽的页面，想通过小票打印机把这个页面打印处理，但是在调用window.print()之后，打印出来的页面会有左边距（而且还蛮大的），另外，打印出来的字体也变小了（个人估计是打印机为了能够打印下所有的字），还有一个问题是，比如说这个页面的高度只有400px，但是小票打印机还是会打印出一整页来，而不是400px</p>
<p>这些问题不知道怎么解决。求教各位！</p>]]></description></item><item><title>XmlHttpRequest请求Xml文件无法获得节点</title><pubDate>Tue, 07 Oct 2008 23:33:26 GMT</pubDate><author>雪燃</author><link>http://space.cnblogs.com/question/3211/</link><description><![CDATA[<p>　　我有如下代码</p>
<p>　　var xmlDoc = httpRequest.responseXML();</p>
<p>　　var northNodes = xmlDoc.getElementsByTagName('north');</p>
<p>　　for(var i=0;i&lt;northNodes .length;i++) {...}</p>
<p>　　程序不报错，但是就是找不到节点</p>
<p>　　我的Xml文件片段如下</p>
<p>　　&lt;north&gt;</p>
<p>　　　　&lt;state&gt;长沙&lt;/state&gt;</p>
<p>　　　　...</p>
<p>　　&lt;/north&gt;</p>
<p>　　...</p>
<p>　　代码写在Demo1.html文件中，xml文件的名称是DemoStates.xml</p>
<p>　　请问有谁知道这是什么原音吗?</p>]]></description></item><item><title>document.body.onload覆盖window.onload的问题</title><pubDate>Tue, 30 Sep 2008 19:34:04 GMT</pubDate><author>Jillean Wong</author><link>http://space.cnblogs.com/question/3150/</link><description><![CDATA[<p>当同时给body元素和window附加事件处理程序时，body元素总是会覆盖window事件处理程序，使其不会执行，请问高手，该如何才能使其不被覆盖，而且两者都可以执行，在急迫的心情中等待您的解答........</p>]]></description></item><item><title>asp.net Datalist 绑定图片，可用放大镜查看图片</title><pubDate>Tue, 30 Sep 2008 17:11:58 GMT</pubDate><author>qiaosexy</author><link>http://space.cnblogs.com/question/3149/</link><description><![CDATA[<p>请先看效果图：（左丹奴网站） <br />http://www.e-giordano.com/Product2.aspx?ProductGroup=&amp;ParentCategory=000002&amp;ProductCategory=006008&amp;Product=01228032001&amp;SelectColor=01&amp;Brand=&amp;frommaster=1&amp;fromobj=000002-XXX&amp;OrigType=1&amp;SwitchType=1 <br /><br />我已经用DataList控件在模板里绑定了图片，图片上指定了命令参数和显示路径，html代码如下： <br />&lt;body&gt; <br />&nbsp; &nbsp; &lt;form id="form1" runat="server"&gt; <br />&nbsp; &nbsp; &lt;div&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:DataList ID="DataList1" runat="server" Height="110px" Width="100px" RepeatColumns="5" RepeatDirection="Horizontal"&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;ItemTemplate&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;table&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td style="vertical-align: top; width: 100px; height: 53px; text-align: center"&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;asp:ImageButton ID="ImageButton1" runat="server" CommandArgument=' &lt;%# Eval("BookID") %&gt;' <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Height="47px" ImageUrl=' &lt;%# Eval("BookUrl") %&gt;' Width="45px" /&gt; &lt;/td&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/ItemTemplate&gt; <br />&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:DataList&gt; &lt;/div&gt; <br />&nbsp; &nbsp; &lt;/form&gt; <br />&lt;/body&gt; <br /><br />cs代码不写了，就是在Page_Load()绑定了控件。 <br /><br />请各位高手帮忙看看，要求很简单，在.net 2005平台上修改代码，以便能做到效果图里的效果(图片一定要绑定在DataList模板里)。要求具体代码，我听说用Javascript比较好做，如果用C#能做要给出html和CS事件代码。</p>
<p>我找了很多资料都没有解决，急，那位高人能帮帮忙，不胜感激！！！</p>]]></description></item></channel></rss>