Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sec(tmp){
- if(tmp=="btn1"){
- tmp1=document.getElementById("#ids1");
- tmp1.style.borderWidth="1px";
- tmp1=document.getElementById("#ids2");
- tmp1.style.borderWidth="0px";
- tmp1=document.getElementById("#ids3");
- tmp1.style.borderWidth="0px";
- }
- else if(tmp=="btn2"){
- tmp1=document.getElementById("#ids1");
- tmp1.style.borderWidth="0px";
- tmp1=document.getElementById("#ids2");
- tmp1.style.borderWidth="1px";
- tmp1=document.getElementById("#ids3");
- tmp1.style.borderWidth="0px";
- }
- else if(tmp=="btn3"){
- tmp1=document.getElementById("#ids1");
- tmp1.style.borderWidth="0px";
- tmp1=document.getElementById("#ids2");
- tmp1.style.borderWidth="0px";
- tmp1=document.getElementById("#ids3");
- tmp1.style.borderWidth="1px";
- }
- }
- var ar=["You might not think that's cricket, and it's not, it's motor racing.",
- "I think all versions of limited-overs cricket have attracted more people to the game.",
- "The only thing I've ever been interested in teaching anyone in life is cricket.",
- "People throw stones at you and you convert them into milestones.",
- "Don't stop chasing your dreams, because dreams do come true.",
- "As far as the World Cup is concerned, it is a process. We don't want to jump to the 50th floor straight away. We must start on the ground floor."];
- function statement(){
- var tmp0=Math.floor(Math.random()*10);
- tmp0%=ar.length;
- document.getElementById("s3p").innerHTML=ar[tmp0];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement