摘要: Javascript数值和和字符串进行转换时,可以对不同的进制进行操作。 转换例子如下: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>带进制的数值和字符串间进行转换 阅读全文
posted @ 2014-03-02 22:06 hongweigg 阅读(64) 评论(0) 推荐(0)
摘要: 在页面中如何控制内嵌的iframe滚动呢?方法是使用iframe window的scroll方法: 1、获取iframe的窗口对象 var iwin = document.getElementById('iframe1').contentWindow; 2 、获取iframe的窗口document对 阅读全文
posted @ 2014-03-02 00:37 hongweigg 阅读(493) 评论(0) 推荐(0)