国产99久久精品_欧美日本韩国一区二区_激情小说综合网_欧美一级二级视频_午夜av电影_日本久久精品视频

最新文章專題視頻專題問答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
主站蜘蛛池模板: 一级毛片免费网站 | 日韩视频区 | 免费精品国产日韩热久久 | 欧美综合第一页 | 日本va视频| 国产九区| 久久精品国产亚洲欧美 | 亚洲欧美日韩第一页 | 性欧美大战久久久久久久野外黑人 | 国内不卡1区2区 | 香蕉视频99| 亚欧免费视频一区二区三区 | 大伊人网 | 亚洲国产97在线精品一区 | 国产欧美日韩在线观看 | 欧美色第一页 | 亚洲一页| 国产91在线视频 | 国产成人精品日本亚洲语音2 | 亚洲伊人久久综合一区二区 | 精品一区二区三区免费毛片爱 | 国产综合一区二区 | 91精品久久久久久久久久 | 亚洲国产成人久久99精品 | 亚洲国产成人久久综合碰 | 国内精品91久久久久 | 五月天中文字幕 | 激情一区二区三区成人 | 欧美日韩亚洲色图 | 国产在线精彩视频 | 日本三级一区二区三区 | 欧美在线观看一区 | 国产在线精品一区二区高清不卡 | 波多野结衣免费在线 | 日韩有码第一页 | 亚洲黄色一区二区 | 成人国产精品久久久免费 | 北条麻妃手机在线 | 国产偷窥女洗浴在线观看 | 欧美一区二区在线观看视频 | 亚洲精品美女久久久aaa |