How to remove the scroll bar on the right side of the homepage?
<body scroll=no>
<body style=overflow-y:hidden>
***************************************
How to not use page cache? That is, every time the page is opened, it is not called in the cache.
<META HTTP-EQUIV=Pragma CONTENT=no-cache>
***************************************
How do you ignore the right click?
<body oncontextmenu=return false>
***************************************
How to control the CSS properties of different links within the same page?
a:active{}
a:link{}
a: visited{}
a.1:active{}
a.1:link{}
a.1: visited{}
Define a new tag in the CSS of DW. According to HTML syntax, the super connection must be
A.YOURS: LINK A.YOURS: HOVER
YOURS can be changed into your own words
Then after selecting a connection, just click YOURS in the midpoint of the CSS panel.
As needed, you can define the effects of N marks and N types of mouse OVER
***************************************
Email Processing Submit Form
<form name=form1 method=post action=mailto:[email protected] enctype=text/plain>
<input type=submit>
</form>
***************************************
Is it possible to use layers to cover FLASH?
1. Add <param name=wmode value=transparent> to flash parameters
2.<body onblur=self.focus()>
***************************************
How to call the corresponding page according to the screen resolution?
onclick=alert(your display resolution is: screen.width × screen.height)
First make several pages, for example, one htm1.htm is 800*600, and the other one is htm2.htm is 1024*768.
Then judge in your entry page index.htm:
<html>
<head>
<script language=javascript>
<!--
function mHref() {
if (screen.width == 1024) location.href = htm2.htm;
else if (screen.width == 800) location.href = htm1.htm;
else return(false);
}
//-->
</script>
</head>
<body onload=mHref();>
</body>
</html>
***************************************
How to pop up a window with only the status bar?
<html>
<head>
<title>open() close()</title>
<script language=javascript type=text/javascript>
<!--
function openWin()
{
var newWin=open(,,menubar=1,height=200);
newWin.document.write(<form>);
newWin.document.write (click the following button to close the window: <p>);
newWin.document.write(<input type=button value='close' onclick=window.close()>);
newWin.document.write(</form>);
}
</script></head>
<body>
<div align=center>
<h2>Click the following button to display a new window...</h2>
<form name=form1>
<input type=button value=New window 1[only display address bar] onclick=window.open('','new1','location=1')>
<input type=button value=New window 2[Show status bar only] onclick=window.open('','','status=1')>
<input type=button value=New window 3[Display toolbar only] onclick=window.open('','new2','toolbar=1,height=200,width=450')>
<input type=button value=New window 4[only display menu bar] onclick=openWin()>
<input type=button value=new window 5[one is not one] onclick=window.open('','new5')>
<input type=button value=New window 6 [Bald but adjustable size] onclick=window.open('https://www.VeVb.com/forumdisplay.php?forumid=32#thread','new6','resizable=1')>
</form>
</div>
</body>
</html>
Previous page 1 2 3 Next page Read the full text