<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    caoyinghui

    css+div布局

    <!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=gb2312" />
    <title>2列右側(cè)固定左側(cè)自適應(yīng)寬度,未知高度且底部平齊+頭部+導(dǎo)航+尾部——<a >標(biāo)準(zhǔn)之路www.aa25.cn</a></title>
    <link href="layout.css" rel="stylesheet" type="text/css" />
    <meta name="Keywords" content="標(biāo)準(zhǔn)之路,www.aa25.cn,網(wǎng)頁標(biāo)準(zhǔn)布局,DIV+CSS" />
    <meta name="" content="標(biāo)準(zhǔn)之路,www.aa25.cn,網(wǎng)頁標(biāo)準(zhǔn)布局,DIV+CSS" />
    <meta name="author" content"×××,有問題請(qǐng)到www.68css.cn網(wǎng)站留言" />
    <meta name="Description" content="本套網(wǎng)頁標(biāo)準(zhǔn)布局模板是由標(biāo)準(zhǔn)之路(www.aa25.cn)制作完成,如果您要轉(zhuǎn)載,請(qǐng)保留版權(quán)" />
    </head>
    
    <body>
    <div id="container">
      <div id="header">This is the Header</div>
      <br class="clearfloat" />
      <div id="menu">This is the Menu</div>
      <br class="clearfloat" />
      <div id="mainContent">
        <div id="sidebar">This is the sidebar<br />
        
        </div>
        <div id="content">2列右側(cè)固定左側(cè)自適應(yīng)寬度,未知高度且底部平齊+頭部+導(dǎo)航+尾部——<a >標(biāo)準(zhǔn)之路www.aa25.cn</a><br />
          <br />
          本例和例21差不多,一個(gè)是固定寬度,一個(gè)是自適應(yīng),同樣是未知高度。<br />
          <br />
          此例中需要說明一點(diǎn)的是:當(dāng)content設(shè)定高度后,3像素會(huì)跑到content外側(cè),反之,在content內(nèi)部。這樣,我們用!important修正在ie下向左多浮動(dòng)2像素,加上3像素的bug正好是5像素,所以在火狐和IE下顯示是一樣的,這是大家必須注意的一點(diǎn)。而當(dāng)content設(shè)定高度后,如100px,那么在IE6下,當(dāng)高度超過100px時(shí),它會(huì)自動(dòng)把conent撐高,而火狐去不會(huì)。所以用!important修正在IE下設(shè)定高度值使它的3像素跑到外側(cè),火狐下因不存在3像素問題,所以高度自動(dòng)。<br />
          <br />
          <br />
      總之,實(shí)現(xiàn)的方法是多種多樣的,這只是本人在學(xué)習(xí)過程中總結(jié)的一點(diǎn)經(jīng)驗(yàn),權(quán)當(dāng)拋磚引玉,希望能對(duì)您有所幫助,當(dāng)然您有更好的辦法和布局,歡迎一塊來學(xué)習(xí),交流,讓web標(biāo)準(zhǔn)在中國得到更好的發(fā)展。同時(shí)希望您繼續(xù)關(guān)注標(biāo)準(zhǔn)之路(www.aa25.cn)<br />
    <br />
      如果您要實(shí)現(xiàn)未知高度底部平齊,請(qǐng)參考23例<br />
      
        </div>
      </div>
      <br class="clearfloat" />
      <div id="footer">This is the footer<span style="display:none"><script language="javascript" type="text/javascript" src="http://js.users.51.la/1967272.js"></script></span></div>
    </div>
    </body>
    </html>
    

    ?

    css

    body { font-family:Verdana; font-size:14px; margin:0;}
    
    #container {margin:0 auto; width:100%;}
    #header { height:100px; background:#9c6; margin-bottom:5px;}
    #menu { height:30px; background:#693; margin-bottom:5px;}
    #mainContent { background:url(bg.gif) right 0 repeat-y; overflow:auto;zoom:1; margin-bottom:5px;}
    #sidebar { float:right; width:200px;background:#cf9;}
    #content { margin-right:205px !important; margin-right:202px; height:auto !important; height:100px; background:#ffa;}
    #footer { height:60px; background:#9c6;}
    .clearfloat { clear:both; height:0; font-size: 1px; line-height: 0px;}
    ?

    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-09-26 14:10 shine_panda 閱讀(184) | 評(píng)論 (0)編輯 收藏

    運(yùn)行命令大總結(jié)

    winver-檢查Windows版本

    ?

      wmimgmt.msc打開windows管理體系結(jié)構(gòu)(WMI)

    ?

      wupdmgrwindows更新程序

    ?

      wscriptwindows腳本宿主設(shè)置

    ?

      write寫字板

    ?

      winmsd-系統(tǒng)信息

    ?

      wiaacmgr-掃描儀和照相機(jī)向?qū)?/p>

    ?

      winchatXP自帶局域網(wǎng)聊天

    ?

      mem.exe顯示內(nèi)存使用情況

    ?

      Msconfig.exe-系統(tǒng)配置實(shí)用程序

    ?

      mplayer2-簡(jiǎn)易widnows media player

    ?

      mspaint畫圖板

    ?

      mstsc遠(yuǎn)程桌面連接

    ?

      mplayer2-媒體播放機(jī)

    ?

      magnify放大鏡實(shí)用程序

    ?

      mmc打開控制臺(tái)

    ?

      mobsync同步命令

    ?

      dxdiag-檢查DirectX信息

    ?

      drwtsn32 系統(tǒng)醫(yī)生

    ?

      devmgmt.msc- 設(shè)備管理器

    ?

      dfrg.msc-磁盤碎片整理程序

    ?

      diskmgmt.msc-磁盤管理實(shí)用程序

    ?

      dcomcnfg-打開系統(tǒng)組件服務(wù)

    ?

      ddeshare-打開DDE共享設(shè)置

    ?

      dvdplayDVD播放器

    ?

      net stop messenger-停止信使服務(wù)

    ?

      net start messenger開始信使服務(wù)

    ?

      notepad打開記事本

    ?

      nslookup-網(wǎng)絡(luò)管理的工具向?qū)?/p>

    ?

      ntbackup-系統(tǒng)備份和還原

    ?

      narrator-屏幕“講述人”

    ?

      ntmsmgr.msc移動(dòng)存儲(chǔ)管理器

    ?

      ntmsoprq.msc-移動(dòng)存儲(chǔ)管理員操作請(qǐng)求

    ?

      netstat -an(TC)命令檢查接口

    ?

      syncapp創(chuàng)建一個(gè)公文包

    ?

      sysedit系統(tǒng)配置編輯器

    ?

      sigverif-文件簽名驗(yàn)證程序

    ?

      sndrec32-錄音機(jī)

    ?

      shrpubw創(chuàng)建共享文件夾

    ?

      secpol.msc-本地安全策略

    ?

      syskey-系統(tǒng)加密,一旦加密就不能解開,保護(hù)windows xp系統(tǒng)的雙重密碼

    ?

      services.msc-本地服務(wù)設(shè)置

    ?

      Sndvol32-音量控制程序

    ?

      sfc.exe系統(tǒng)文件檢查器

    ?

      sfc /scannow-windows文件保護(hù)

    ?

      tsshutdn-60秒倒計(jì)時(shí)關(guān)機(jī)命令

    ?

      tourstartxp簡(jiǎn)介(安裝完成后出現(xiàn)的漫游xp程序)

    ?

      taskmgr任務(wù)管理器

    ?

      eventvwr-事件查看器

    ?

      eudcedit-造字程序

    ?

      explorer-打開資源管理器

    ?

      packager-對(duì)象包裝程序

    ?

      perfmon.msc計(jì)算機(jī)性能監(jiān)測(cè)程序

    ?

      progman程序管理器

    ?

      regedit.exe注冊(cè)表

    ?

      rsop.msc-組策略結(jié)果集

    ?

      regedt32-注冊(cè)表編輯器

    ?

      rononce -p 15秒關(guān)機(jī)

    ?

      regsvr32 /u *.dll停止dll文件運(yùn)行

    ?

      regsvr32 /u zipfldr.dll取消ZIP支持

    ?

      cmd.exeCMD命令提示符

    ?

      chkdsk.exe-Chkdsk磁盤檢查

    ?

      certmgr.msc證書管理實(shí)用程序

    ?

      calc-啟動(dòng)計(jì)算器

    ?

      charmap啟動(dòng)字符映射表

    ?

      cliconfg-SQL SERVER 客戶端網(wǎng)絡(luò)實(shí)用程序

    ?

      Clipbrd剪貼板查看器

    ?

      conf-啟動(dòng)netmeeting

    ?

      compmgmt.msc-計(jì)算機(jī)管理

    ?

      cleanmgr-垃圾整理

    ?

      ciadv.msc索引服務(wù)程序

    ?

      osk打開屏幕鍵盤

    ?

      odbcad32-ODBC數(shù)據(jù)源管理器

    ?

      oobe/msoobe /a檢查XP是否激活

    ?

      lusrmgr.msc本機(jī)用戶和組

    ?

      logoff-注銷命令

    ?

      iexpress-木馬捆綁工具,系統(tǒng)自帶

    ?

      Nslookup-IP地址偵測(cè)器

    ?

      fsmgmt.msc-共享文件夾管理器

    ?

      utilman輔助工具管理器

    ?

      gpedit.msc-組策略

    ?



    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-09-23 09:56 shine_panda 閱讀(173) | 評(píng)論 (0)編輯 收藏

    java版俄羅斯方塊

    package com.shine;
    import java.awt.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import javax.swing.*;
    import javax.swing.Timer;
    
    public class Tetris extends JFrame {
        public Tetris() {
            Tetrisblok a = new Tetrisblok();
            addKeyListener(a);
            add(a);
        }
    
        public static void main(String[] args) {
            Tetris frame = new Tetris();
            JMenuBar menu = new JMenuBar();
            frame.setJMenuBar(menu);
            JMenu game = new JMenu("游戲");
            JMenuItem newgame = game.add("新游戲");
            JMenuItem pause = game.add("暫停");
            JMenuItem goon = game.add("繼續(xù)");
            JMenuItem exit = game.add("退出");
            JMenu help = new JMenu("幫助");
            JMenuItem about = help.add("關(guān)于");
            menu.add(game);
            menu.add(help);
            frame.setLocationRelativeTo(null);
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.setSize(220, 275);
            frame.setTitle("Tetris內(nèi)測(cè)版");
            // frame.setUndecorated(true);
            frame.setVisible(true);
            frame.setResizable(false);
    
        }
    }
    
    // 創(chuàng)建一個(gè)俄羅斯方塊類
    class Tetrisblok extends JPanel implements KeyListener {
    
        // blockType 代表方塊類型
        // turnState代表方塊狀態(tài)
        private int blockType;
        private int score = 0;
    
        private int turnState;
    
        private int x;
    
        private int y;
    
        private int i = 0;
    
        int j = 0;
        int flag = 0;
        // 定義已經(jīng)放下的方塊x=0-11,y=0-21;
        int[][] map = new int[13][23];
    
        // 方塊的形狀 第一組代表方塊類型有S、Z、L、J、I、O、T 7種 第二組 代表旋轉(zhuǎn)幾次 第三四組為 方塊矩陣
        private final int shapes[][][] = new int[][][] {
        // i
                { { 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0 },
                        { 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0 } },
                // s
                { { 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 },
                        { 0, 1, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 } },
                // z
                { { 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 },
                        { 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 } },
                // j
                { { 0, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0 },
                        { 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 1, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0 },
                        { 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 } },
                // o
                { { 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } },
                // l
                { { 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0 },
                        { 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 },
                        { 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 } },
                // t
                { { 0, 1, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0 },
                        { 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
                        { 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0 } } };
    
        // 生成新方塊的方法
        public void newblock() {
            blockType = (int) (Math.random() * 1000) % 7;
            turnState = (int) (Math.random() * 1000) % 4;
            x = 4;
            y = 0;
            if (gameover(x, y) == 1) {
    
                newmap();
                drawwall();
                score = 0;
                JOptionPane.showMessageDialog(null, "GAME OVER");
            }
        }
    
        // 畫圍墻
        public void drawwall() {
            for (i = 0; i < 12; i++) {
                map[i][21] = 2;
            }
            for (j = 0; j < 22; j++) {
                map[11][j] = 2;
                map[0][j] = 2;
            }
        }
    
        // 初始化地圖
        public void newmap() {
            for (i = 0; i < 12; i++) {
                for (j = 0; j < 22; j++) {
                    map[i][j] = 0;
                }
            }
        }
    
        // 初始化構(gòu)造方法
        Tetrisblok() {
            newblock();
            newmap();
            drawwall();
            Timer timer = new Timer(1000, new TimerListener());
            timer.start();
        }
    
        // 旋轉(zhuǎn)的方法
        public void turn() {
            int tempturnState = turnState;
            turnState = (turnState + 1) % 4;
            if (blow(x, y, blockType, turnState) == 1) {
            }
            if (blow(x, y, blockType, turnState) == 0) {
                turnState = tempturnState;
            }
            repaint();
        }
    
        // 左移的方法
        public void left() {
            if (blow(x - 1, y, blockType, turnState) == 1) {
                x = x - 1;
            }
            ;
            repaint();
        }
    
        // 右移的方法
        public void right() {
            if (blow(x + 1, y, blockType, turnState) == 1) {
                x = x + 1;
            }
            ;
            repaint();
        }
    
        // 下落的方法
        public void down() {
            if (blow(x, y + 1, blockType, turnState) == 1) {
                y = y + 1;
                delline();
            }
            ;
            if (blow(x, y + 1, blockType, turnState) == 0) {
                add(x, y, blockType, turnState);
                newblock();
                delline();
            }
            ;
            repaint();
        }
    
        // 是否合法的方法
        public int blow(int x, int y, int blockType, int turnState) {
            for (int a = 0; a < 4; a++) {
                for (int b = 0; b < 4; b++) {
                    if (((shapes[blockType][turnState][a * 4 + b] == 1) && (map[x
                            + b + 1][y + a] == 1))
                            || ((shapes[blockType][turnState][a * 4 + b] == 1) && (map[x
                                    + b + 1][y + a] == 2))) {
    
                        return 0;
                    }
                }
            }
            return 1;
        }
    
        // 消行的方法
        public void delline() {
            int c = 0;
            for (int b = 0; b < 22; b++) {
                for (int a = 0; a < 12; a++) {
                    if (map[a][b] == 1) {
    
                        c = c + 1;
                        if (c == 10) {
                            score += 10;
                            for (int d = b; d > 0; d--) {
                                for (int e = 0; e < 11; e++) {
                                    map[e][d] = map[e][d - 1];
    
                                }
                            }
                        }
                    }
                }
                c = 0;
            }
        }
    
        // 判斷你掛的方法
        public int gameover(int x, int y) {
            if (blow(x, y, blockType, turnState) == 0) {
                return 1;
            }
            return 0;
        }
    
        // 把當(dāng)前添加map
        public void add(int x, int y, int blockType, int turnState) {
            int j = 0;
            for (int a = 0; a < 4; a++) {
                for (int b = 0; b < 4; b++) {
                    if (map[x + b + 1][y + a] == 0) {
                        map[x + b + 1][y + a] = shapes[blockType][turnState][j];
                    }
                    ;
                    j++;
                }
            }
        }
    
        // 畫方塊的的方法
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            // 畫當(dāng)前方塊
            for (j = 0; j < 16; j++) {
                if (shapes[blockType][turnState][j] == 1) {
                    g.fillRect((j % 4 + x + 1) * 10, (j / 4 + y) * 10, 10, 10);
                }
            }
            // 畫已經(jīng)固定的方塊
            for (j = 0; j < 22; j++) {
                for (i = 0; i < 12; i++) {
                    if (map[i][j] == 1) {
                        g.fillRect(i * 10, j * 10, 10, 10);
    
                    }
                    if (map[i][j] == 2) {
                        g.drawRect(i * 10, j * 10, 10, 10);
    
                    }
                }
            }
            g.drawString("score=" + score, 125, 10);
            g.drawString("抵制不良游戲,", 125, 50);
            g.drawString("拒絕盜版游戲。", 125, 70);
            g.drawString("注意自我保護(hù),", 125, 90);
            g.drawString("謹(jǐn)防受騙上當(dāng)。", 125, 110);
            g.drawString("適度游戲益腦,", 125, 130);
            g.drawString("沉迷游戲傷身。", 125, 150);
            g.drawString("合理安排時(shí)間,", 125, 170);
            g.drawString("享受健康生活。", 125, 190);
        }
    
        // 鍵盤監(jiān)聽
        public void keyPressed(KeyEvent e) {
            switch (e.getKeyCode()) {
            case KeyEvent.VK_DOWN:
                down();
                break;
            case KeyEvent.VK_UP:
                turn();
                break;
            case KeyEvent.VK_RIGHT:
                right();
                break;
            case KeyEvent.VK_LEFT:
                left();
                break;
            }
    
        }
    
        // 無用
        public void keyReleased(KeyEvent e) {
        }
    
        // 無用
        public void keyTyped(KeyEvent e) {
        }
    
        // 定時(shí)器監(jiān)聽
        class TimerListener implements ActionListener {
            public void actionPerformed(ActionEvent e) {
    
                repaint();
                if (blow(x, y + 1, blockType, turnState) == 1) {
                    y = y + 1;
                    delline();
                }
                ;
                if (blow(x, y + 1, blockType, turnState) == 0) {
    
                    if (flag == 1) {
                        add(x, y, blockType, turnState);
                        delline();
                        newblock();
                        flag = 0;
                    }
                    flag = 1;
                }
                ;
            }
        }
    }
    ?轉(zhuǎn)自CSDN

    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-09-08 17:30 shine_panda 閱讀(173) | 評(píng)論 (0)編輯 收藏

    UBB轉(zhuǎn)HTML和HTML轉(zhuǎn)UBB

    function htmlToubb(h,u){
    	str = pattern(document.getElementById(h).value);
    	document.getElementById(u).value=str;
    }
    
    function ubbTohtml(u,h){
    	str = up(document.getElementById(u).value);
    	document.getElementById(h).value=str;
    }
    
    function pattern(str){
    	str = str.replace(/<br[^>]*>/ig,'\n');
    	str = str.replace(/<p[^>\/]*\/>/ig,'\n');
    	str = str.replace(/\son[\w]{3,16}\s?=\s*([\'\"]).+?\1/ig,'');
    	str = str.replace(/<hr[^>]*>/ig,'[hr]');
    	str = str.replace(/<(sub|sup|u|strike|b|i|pre)>/ig,'[$1]');
    	str = str.replace(/<\/(sub|sup|u|strike|b|i|pre)>/ig,'[/$1]');
    	str = str.replace(/<(\/)?strong>/ig,'[$1b]');
    	str = str.replace(/<(\/)?em>/ig,'[$1i]');
    	str = str.replace(/<(\/)?blockquote([^>]*)>/ig,'[$1blockquote]');
    	str = str.replace(/<img[^>]*smile=\"(\d+)\"[^>]*>/ig,'[s:$1]');
    	str = str.replace(/<img[^>]*src=[\'\"\s]*([^\s\'\"]+)[^>]*>/ig,'[img]'+'$1'+'[/img]');
    	str = str.replace(/<a[^>]*href=[\'\"\s]*([^\s\'\"]*)[^>]*>(.+?)<\/a>/ig,'[url=$1]'+'$2'+'[/url]');
    	str = str.replace(/<[^>]*?>/ig, '');
    	str = str.replace(/&amp;/ig, '&');
    	str = str.replace(/&lt;/ig, '<');
    	str = str.replace(/&gt;/ig, '>');
    	return str;
    }
    
    function up(str){
    	str = str.replace(/</ig,'&lt;');
    	str = str.replace(/>/ig,'&gt;');
    	str = str.replace(/\n/ig,'<br />');
    	str = str.replace(/\[code\](.+?)\[\/code\]/ig, function($1, $2) {return phpcode($2);});
    	str = str.replace(/\[hr\]/ig,'<hr />');
    	str = str.replace(/\[\/(size|color|font|backcolor)\]/ig,'</font>');
    	str = str.replace(/\[(sub|sup|u|i|strike|b|blockquote|li)\]/ig,'<$1>');
    	str = str.replace(/\[\/(sub|sup|u|i|strike|b|blockquote|li)\]/ig,'</$1>');
    	str = str.replace(/\[\/align\]/ig,'</p>');
    	str = str.replace(/\[(\/)?h([1-6])\]/ig,'<$1h$2>');
    	str = str.replace(/\[align=(left|center|right|justify)\]/ig,'<p align="$1">');
    	str = str.replace(/\[size=(\d+?)\]/ig,'<font size="$1">');
    	str = str.replace(/\[color=([^\[\<]+?)\]/ig, '<font color="$1">');
    	str = str.replace(/\[backcolor=([^\[\<]+?)\]/ig, '<font style="background-color:$1">');
    	str = str.replace(/\[font=([^\[\<]+?)\]/ig, '<font face="$1">');
    	str = str.replace(/\[list=(a|A|1)\](.+?)\[\/list\]/ig,'<ol type="$1">$2</ol>');
    	str = str.replace(/\[(\/)?list\]/ig,'<$1ul>');
    	str = str.replace(/\[s:(\d+)\]/ig,function($1,$2){ return smilepath($2);});
    	str = str.replace(/\[img\]([^\[]*)\[\/img\]/ig,'<img src="$1" border="0" />');
    	str = str.replace(/\[url=([^\]]+)\]([^\[]+)\[\/url\]/ig, '<a href="$1">'+'$2'+'</a>');
    	str = str.replace(/\[url\]([^\[]+)\[\/url\]/ig, '<a href="$1">'+'$1'+'</a>');
    	return str;
    }
    
    ?

    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-08-31 14:09 shine_panda 閱讀(690) | 評(píng)論 (0)編輯 收藏

    Win7下無法顯示Courier New字體

    PL/SQL 或UE中進(jìn)行設(shè)置時(shí)發(fā)現(xiàn),找不到Courier New

    字體。重裝也沒作用。

    根本原因是沒有將?Courier New 設(shè)置為“顯示”




    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-08-05 19:30 shine_panda 閱讀(290) | 評(píng)論 (0)編輯 收藏

    UE在Win7下添加右鍵菜單

    Windows Registry Editor Version 5.00

    ?

    [HKEY_CLASSES_ROOT\*\shell]

    [HKEY_CLASSES_ROOT\*\shell\UltraEdit]

    @="UltraEdit-32"

    [HKEY_CLASSES_ROOT\*\shell\UltraEdit\Command]

    @="C:\\Program Files (x86)\\IDM Computer Solutions\\UltraEdit\\Uedit32.exe %1"



    C:\\Program Files (x86)\\IDM Computer Solutions\\UltraEdit\\Uedit32.exe這個(gè)改為實(shí)際路徑



    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-07-30 10:39 shine_panda 閱讀(3972) | 評(píng)論 (0)編輯 收藏

    自定義word樣式

    word中代碼風(fēng)格模板樣式定義



    ?

    ?

    ?

    ?

    ?

    ?

    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-07-15 14:09 shine_panda 閱讀(115) | 評(píng)論 (0)編輯 收藏

    Jrebel和tomcat插件集成

    Jrebel實(shí)現(xiàn)熱加載,tomcat插件實(shí)現(xiàn)快速發(fā)布啟動(dòng)



    安裝參考:http://blog.csdn.net/zhaofsh/article/details/6291660

    詳細(xì)部署參考:http://developer.51cto.com/art/201103/250797.htm

    ?

    ?



    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-07-15 09:26 shine_panda 閱讀(171) | 評(píng)論 (0)編輯 收藏

    去掉word2007里的這個(gè)小箭頭

    每次一按回車,序號(hào)后面跟著一個(gè)箭頭,雖然打印的時(shí)候不會(huì)顯示出來,但這種排版效果不好。
    好像是樣式的問題,不知道怎么處理?
    怎么樣去掉word里的這個(gè)小箭頭?

    解決辦法如圖:




    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-07-14 17:59 shine_panda 閱讀(110) | 評(píng)論 (0)編輯 收藏

    Eclipse熱加載失敗提示設(shè)置

    錯(cuò)誤提示:

    設(shè)置方式:


    ?

    ?



    已有 0 人發(fā)表留言,猛擊->>這里<<-參與討論


    ITeye推薦



    posted @ 2011-07-13 09:41 shine_panda 閱讀(158) | 評(píng)論 (0)編輯 收藏

    僅列出標(biāo)題
    共3頁: 1 2 3 下一頁 
    <2025年5月>
    27282930123
    45678910
    11121314151617
    18192021222324
    25262728293031
    1234567

    導(dǎo)航

    統(tǒng)計(jì)

    常用鏈接

    留言簿

    隨筆檔案

    搜索

    最新評(píng)論

    閱讀排行榜

    評(píng)論排行榜

    主站蜘蛛池模板: 亚洲最大AV网站在线观看| 伊人免费在线观看高清版| 精品亚洲成a人片在线观看| 免费大黄网站在线观看| 免费可以看黄的视频s色| 久久精品国产影库免费看| 免费国产污网站在线观看不要卡| 亚洲三级中文字幕| 亚洲美女视频一区| 亚洲成AV人片在线播放无码| 国产午夜影视大全免费观看| 国产人成免费视频网站| 久久精品视频免费看| 国产乱子伦精品免费视频| 国产亚洲蜜芽精品久久| 亚洲国产精品无码久久98| tom影院亚洲国产一区二区| 老汉色老汉首页a亚洲| 久久青青草原亚洲AV无码麻豆| 亚洲中久无码不卡永久在线观看| 国产大片91精品免费观看男同| 永久免费的网站在线观看| 久久成人国产精品免费软件| 久别的草原电视剧免费观看| a毛片在线看片免费| 99久久99这里只有免费的精品| 成人片黄网站色大片免费观看cn | 国产免费无码AV片在线观看不卡| 一出一进一爽一粗一大视频免费的| 偷自拍亚洲视频在线观看| 亚洲AV无码之国产精品| 亚洲AV无码国产剧情| 亚洲av无码专区在线电影天堂| 亚洲国产aⅴ成人精品无吗| 亚洲AV无码一区二区三区性色| 亚洲av无码av在线播放| 亚洲AV成人无码网天堂| 免费又黄又爽又猛大片午夜 | 夭天干天天做天天免费看| 国内外成人免费视频| 国产精品免费看久久久无码|