Skip to content

jiege13131/block

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c52f49c · Jan 28, 2023

History

3 Commits
Dec 9, 2022
Dec 9, 2022
Jan 28, 2023

Repository files navigation

block

<script language="JavaScript"> </script> <script language="JavaScript" type="text/JavaScript"> function MM_openBrWindow(theURL,winName,features) {window.open(theURL,winName,features);} </script>

弹出代码

<a href="#" target="_self" onClick="MM_openBrWindow

('windows01.htm','','width=550,height=380')" width="550" height="380" border="0">图片或文字

onkeypress="window.event.returnValue=false"

onkeydown="window.event.returnValue=false"

onkeyup="window.event.returnValue=false"

ondragstart="window.event.returnValue=false"

onselectstart="event.returnValue=false">

<Script Language="JavaScript">

   image = new Array(4); //定义image为图片数量的数组

   image [0] = 'tu0.gif' //背景图象的路径

   image [1] = 'tu1.gif'

   image [2] = 'tu2.gif'

   image [3] = 'tu3.gif'

   image [4] = 'tu4.gif'

   number = Math.floor(Math.random() * image.length);

   document.write("");

</Script>

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published