小弟初学JS,这两天写了一个基于jQuery的Plugin,用来对代码进行语法高亮
http://www.lvnux.cn/index.php/tech欢迎大家一起来交流一下

解决方案 »

  1.   

    第一步:加载
    <script type="text/javascript" src="/js/jquery.syntaxhl.js"></script>
    <script type="text/javascript" src="/js/language/jquery.syntaxhl.php.js"></script>
    第二步:调用
    $("pre").syntaxhl();<pre id="code" class="hl_php">
    代码贴这里
    </pre>
      

  2.   

    太。。下边挂W3C XHTML W3C CSS通过标志 真通过了吗?
    我分辨率1280*1240 浏览器ie7.0
    浏览你的页面 下边的底部都跑到中间来了 把代码的中间遮住了