• <fieldset id="8imwq"><menu id="8imwq"></menu></fieldset>
  • <bdo id="8imwq"><input id="8imwq"></input></bdo>
    最新文章專題視頻專題問答1問答10問答100問答1000問答2000關鍵字專題1關鍵字專題50關鍵字專題500關鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關鍵字專題關鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
    問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
    當前位置: 首頁 - 科技 - 知識百科 - 正文

    JS插件overlib用法實例詳解_javascript技巧

    來源:懂視網 責編:小采 時間:2020-11-27 21:47:54
    文檔

    JS插件overlib用法實例詳解_javascript技巧

    JS插件overlib用法實例詳解_javascript技巧:本文實例講述了overlib用法。分享給大家供大家參考,具體如下: overLIB 是一個生成提示框與彈出菜單等頁面效果的一段非常優秀的JS代碼。 它可以簡單的通過設置一些參數或命令來改變彈出頁面的款式、皮膚與形狀,不但如此,它還提供了非常簡單的擴展功能,來足
    推薦度:
    導讀JS插件overlib用法實例詳解_javascript技巧:本文實例講述了overlib用法。分享給大家供大家參考,具體如下: overLIB 是一個生成提示框與彈出菜單等頁面效果的一段非常優秀的JS代碼。 它可以簡單的通過設置一些參數或命令來改變彈出頁面的款式、皮膚與形狀,不但如此,它還提供了非常簡單的擴展功能,來足

    本文實例講述了overlib用法。分享給大家供大家參考,具體如下:

    overLIB 是一個生成提示框與彈出菜單等頁面效果的一段非常優秀的JS代碼。

    它可以簡單的通過設置一些參數或命令來改變彈出頁面的款式、皮膚與形狀,不但如此,它還提供了非常簡單的擴展功能,來足客戶的不同需求。

    overLIB 使用非常的簡單。

    一、在 標簽內添加: 代碼如下:

    四、 命令與參數

    popup

    Attribute Name Type Required Default Description
    text string Yes n/a the text/html to display in the popup window
    trigger string No onMouseOver What is used to trigger the popup window. Can be one of onMouseOver or onClick
    sticky boolean No false Makes the popup stick around until closed
    caption string No n/a sets the caption to title
    fgcolor string No n/a color of the inside of the popup box
    bgcolor string No n/a color of the border of the popup box
    textcolor string No n/a sets the color of the text inside the box
    capcolor string No n/a sets color of the box's caption
    closecolor string No n/a sets the color of the close text
    textfont string No n/a sets the font to be used by the main text
    captionfont string No n/a sets the font of the caption
    closefont string No n/a sets the font for the "Close" text
    textsize string No n/a sets the size of the main text's font
    captionsize string No n/a sets the size of the caption's font
    closesize string No n/a sets the size of the "Close" text's font
    width integer No n/a sets the width of the box
    height integer No n/a sets the height of the box
    left boolean No false makes the popups go to the left of the mouse
    right boolean No false makes the popups go to the right of the mouse
    center boolean No false makes the popups go to the center of the mouse
    above boolean No false makes the popups go above the mouse. NOTE: only possible when height has been set
    below boolean No false makes the popups go below the mouse
    border integer No n/a makes the border of the popups thicker or thinner
    offsetx integer No n/a how far away from the pointer the popup will show up, horizontally
    offsety integer No n/a how far away from the pointer the popup will show up, vertically
    fgbackground url to image No n/a defines a picture to use instead of color for the inside of the popup.
    bgbackground url to image No n/a defines a picture to use instead of color for the border of the popup. NOTE: You will want to set bgcolor to "" or the color will show as well. NOTE: When having a Close link, Netscape will re-render the table cells, making things look incorrect
    closetext string No n/a sets the "Close" text to something else
    noclose boolean No n/a does not display the "Close" text on stickies with a caption
    status string No n/a sets the text in the browsers status bar
    autostatus boolean No n/a sets the status bar's text to the popup's text. NOTE: overrides status setting
    autostatuscap string No n/a sets the status bar's text to the caption's text. NOTE: overrides status and autostatus settings
    inarray integer No n/a tells overLib to read text from this index in the ol_text array, located in overlib.js. This parameter can be used instead of text
    caparray integer No n/a tells overLib to read the caption from this index in the ol_caps array
    capicon url No n/a displays the image given before the popup caption
    snapx integer No n/a snaps the popup to an even position in a horizontal grid
    snapy integer No n/a snaps the popup to an even position in a vertical grid
    fixx integer No n/a locks the popups horizontal position Note: overrides all other horizontal placement
    fixy integer No n/a locks the popups vertical position Note: overrides all other vertical placement
    background url No n/a sets image to be used instead of table box background
    padx integer,integer No n/a pads the background image with horizontal whitespace for text placement. Note: this is a two parameter command
    pady integer,integer No n/a pads the background image with vertical whitespace for text placement. Note: this is a two parameter command
    fullhtml boolean No n/a allows you to control the html over a background picture completely. The html code is expected in the "text" attribute
    frame string No n/a controls popups in a different frame. See the overlib page for more info on this function
    timeout string No n/a calls the specified javascript function and takes the return value as the text that should be displayed in the popup window
    delay integer No n/a makes that popup behave like a tooltip. It will popup only after this delay in milliseconds
    hauto boolean No n/a automatically determine if the popup should be to the left or right of the mouse.
    vauto boolean No n/a automatically determine if the popup should be above or below the mouse.

    overLIB 可以接受任意個命令和參數。格式如下:命令[,'命令參數']

    五、 overlib的一些使用示例

    聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

    文檔

    JS插件overlib用法實例詳解_javascript技巧

    JS插件overlib用法實例詳解_javascript技巧:本文實例講述了overlib用法。分享給大家供大家參考,具體如下: overLIB 是一個生成提示框與彈出菜單等頁面效果的一段非常優秀的JS代碼。 它可以簡單的通過設置一些參數或命令來改變彈出頁面的款式、皮膚與形狀,不但如此,它還提供了非常簡單的擴展功能,來足
    推薦度:
    標簽: 使用 js 使用技巧
    • 熱門焦點

    最新推薦

    猜你喜歡

    熱門推薦

    專題
    Top
    主站蜘蛛池模板: 欧美精品久久久久久久自慰 | 国产高清精品在线| 国产在线观看一区精品| 1024国产欧美日韩精品| 亚洲AV无码久久精品色欲| 国产综合精品蜜芽| 久久精品国产免费| 国产精品免费高清在线观看| 亚洲精品国产福利一二区| 国产三级精品三级在专区| 麻豆精品不卡国产免费看| 国产精品v片在线观看不卡| 亚洲av无码乱码国产精品| 青春草无码精品视频在线观| 国产精品福利电影一区二区三区四区欧美白嫩精品| 国产午夜无码精品免费看| 亚洲国产精品无码专区在线观看| 久久国产成人亚洲精品影院| 国产精品免费久久久久电影网| 你懂的国产精品| 国产精品久久久久久| 国产精品禁18久久久夂久| 麻豆aⅴ精品无码一区二区| 亚洲精品午夜无码专区| 日韩精品毛片| 无码精品第一页| 久久99精品久久久久久野外| 99久久精品久久久久久清纯| 久久免费精品一区二区| 精品九九久久国内精品| 国产第一福利精品导航| 国产精品你懂的| 精品乱人伦一区二区三区| 国产乱码精品一区二区三区四川人| 成人伊人精品色XXXX视频| 国产成人精品白浆久久69| 国产精品免费福利久久| 国产精品亚洲欧美一区麻豆| 久久精品国产99国产电影网| 色播精品免费小视频| 91精品在线国产|