之乎者也,阿弥陀佛

软件设计的原则就是,化繁为简,化难为易,把人的思维集中在简单的领域,然后通过有序的组合实现复杂的逻辑。

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

小功能,不过还比较有用,其他的类似功能都一样。

 

代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
<title测试</title>
  
</head>
<body style="background: none">
    
<!--question S-->
    
<div class="question" style="position: relative">
       
<div  title="测试">
        
</div>
        
<div class="question_con">
            
<div class="question_con_in">
                
<script type="text/javascript">
                    window.onload 
= function () {
                        var url 
= window.location.href;
                        var jsname 
= url.split("?")[1];
                        load(jsname);
                    }
                    function load(js) {
                        document.write(
"<script src='http://www.test.com/html/");
                        document.write(
"" + value + "'");
                        document.write(
" type=\"text/javascript\" charset=\"utf-8\" <\/script>");
                    }
                
</script>
            
</div>
        
</div>
     
</div>
   
</body>
</html>

 

 

posted on 2010-12-03 16:29  搏击的小船  阅读(302)  评论(0编辑  收藏  举报