a {text-decoration:underline;}
a:link {color:black;}
a:visited {color:black;}
a:hover {color:blue;}
a:active {color:red;}
You can change red one , orange , yellow one , lime one , and aqua one if you want.
But remember never change other ones!!!
HOPE YOU MAKE A NICE WEBSITE USING HTML!!!
PLEASE GIVE ME COMMENTS!!!
COMMENT IS VERY HELPFUL FOR ME.
PLEASE ADD 'How 2 Code' TO YOUR FAVORITE!!!.
AdSense
2016년 7월 20일 수요일
2016년 7월 19일 화요일
MARQUEE UP/LEFT/RIGHT/DOWN BUTTON.
| | |
<script language="JavaScript">
function function1(){
document.all.myMarquee.direction = "up";
}
function function2(){
document.all.myMarquee.direction = "left";
}
function function3(){
document.all.myMarquee.direction = "right";
}
function function4(){
document.all.myMarquee.direction = "down";
}
</script>
<marquee id="myMarquee">Click The Buttons!!!</marquee>
<br />
<button onclick="function1();" onmouseout="this.style.backgroundColor='transparent';return true;" onmouseover="this.style.backgroundColor='#FAF4C0';return true;" style="background-color: transparent; border-color: purple; border-radius: 5px;">Up</button>
|
<button onclick="function2();" onmouseout="this.style.backgroundColor='transparent';return true;" onmouseover="this.style.backgroundColor='#FAF4C0';return true;" style="background-color: transparent; border-color: purple; border-radius: 5px;">Left</button>
|
<button onclick="function3();" onmouseout="this.style.backgroundColor='transparent';return true;" onmouseover="this.style.backgroundColor='#FAF4C0';return true;" style="background-color: transparent; border-color: purple; border-radius: 5px;">Right</button>
|
<button onclick="function4();" onmouseout="this.style.backgroundColor='transparent';return true;" onmouseover="this.style.backgroundColor='#FAF4C0';return true;" style="background-color: transparent; border-color: purple; border-radius: 5px;">Down</button>
HOPE YOU MAKE A NICE WEBSITE USING HTML!!!
PLEASE GIVE ME COMMENTS!!!
COMMENT IS VERY HELPFUL FOR ME.
PLEASE ADD 'How 2 Code' TO YOUR FAVORITE!!!.
MARQUEE STOP/START BUTTON.
|
<marquee id="myMarquee">Click the buttons!!!</marquee>
<br />
<input onclick="document.getElementById('myMarquee').stop();" onmouseout="this.style.backgroundColor='transparent';return true;" onmouseover="this.style.backgroundColor='#FFD8D8';return true;" style="background-color: transparent; border-color: blue; border-radius: 5px;" type="button" value="Stop" />
|
<input onclick="document.getElementById('myMarquee').start();" onmouseout="this.style.backgroundColor='transparent';return true;" onmouseover="this.style.backgroundColor='#FFD8D8';return true;" style="background-color: transparent; border-color: blue; border-radius: 5px;" type="button" value="Start" />
HOPE YOU MAKE A NICE WEBSITE USING HTML!!!
PLEASE GIVE ME COMMENTS!!!
COMMENT IS VERY HELPFUL FOR ME.
PLEASE ADD 'How 2 Code' TO YOUR FAVORITE!!!.
how to pause marquee
In this post I will post the code that makes marquee pause!!!
<marquee onmouseover="this.stop()" onmouseout="this.start()">Marquee</marquee>
In next post I will post about some buttons for marquee!!
HOPE YOU MAKE A NICE WEBSITE USING HTML!!!
PLEASE GIVE ME COMMENTS!!!
COMMENT IS VERY HELPFUL FOR ME.
PLEASE ADD 'How 2 Code' TO YOUR FAVORITE!!!.
피드 구독하기:
글 (Atom)