Everything posted by WWE Zone
-
Help In Javascript
I'm making a small game using very simple codes of html/css and Javascript. but i have a problem, i want to make "score" when i hit the button, the score = "current score" + 1 this is my code: <script type="text/javascript"> function scorePlus(){ var score = 0; score = score + 1; } </script> <body> <div " id="score" onclick="scorePlus()"></div> </body> now the score is 1...when i click again on the button it doesn't do like this "score = 1; score = score + 1" so it could be 2.
-
MXML Help
I Don't Know If This Is The Right Forum...Sorry If It's Wrong. However I Need Help In Learning The MXML Language. Especially This Thing: In The Code, We Create Some Elements Like This <s:Image... <s:Label... Etc....... I Just Need A Code So I Could Put An HTML Page On The Web! I Need Something Like This(PS The Following Code Is NOT Valid): <s:WebBrowser src="#"... This Was An Example Of What I Want. And Also If There Is Any Reference To Know ALL The Components Of MXML EX: <s:... That Would Be Very Good Thank You And Sorry Again If It's The WRONG FORUM
-
Javascript Variable Help!
Thank You, I Got It I Was Just Super-Stupid Last Night Thank You It Helped Me Soooo Much
-
Javascript Variable Help!
:'( I Have Another Error :'( Everything Is Working Fine, The "Next" Button Is Working Perfectly, But The Previous Button Isn't I Don't Know Why, It's Says Undefined. Here Is My Code <body> <script type="text/javascript"> var images = [ '<img src="http://wwesre.ucoz.com/News/Flair.jpg" />', '<img src="http://wwesre.ucoz.com/News/Cena.jpg" />', '<img src="http://wwesre.ucoz.com/News/Orton.jpg" />', '<img src="http://wwesre.ucoz.com/News/Undertaker.jpg" />' ]; var x = 0; window.setInterval(function(){ x++; if(x >= 4){ x = 0; } document.getElementById("images").innerHTML = (images[x]) }, 5000); function next(){ x = x + 1; if(x >= 4){ x = 0; } document.getElementById("images").innerHTML = (images[x]) } function previous(){ x = x - 1; if(x <= 0){ x = 4; } document.getElementById("images").innerHTML = (images[x]) } </script> <div id="images"><img src="http://wwesre.ucoz.com/News/Flair.jpg" /></div> <button onclick="previous()">Previous</button> <button onclick="next()">Next</button> </body>
-
Javascript Variable Help!
Wow It Worked Thank You Sooooo Much, You've Save My Life! And Thank You, I Wrote Another Code To Make It "Change" Not Repeat Thank You <body> <script type="text/javascript"> var images = [ '<img src="/image0.jpg" />', '<img src="/image1.jpg" />', '<img src="/image2.jpg" />', '<img src="/image3.jpg" />' ]; var x = 0; window.setInterval(function(){ x++; if(x >= 4){ x = 0; } document.getElementById("images").innerHTML = (images[x]) }, 3000); </script> <div id="images"><img src="/image0.jpg" /> </body>
-
Javascript Variable Help!
Not Working! I Have An Array Which Have Four Images, I Need These Images To Change Each 3 Seconds, So I've Made A Var Which Is x = 0 After Three Seconds I Want That X To Be = 1, So The Array Number Will Change So The Image Will Change! Sorry I Know My Explanation Is Sooo Bad, Here Is My Code This May Help More <script type="text/javascript"> var images = [ '<img src="/image0.jpg" />', '<img src="/image1.jpg" />', '<img src="/image2.jpg" />', '<img src="/image3.jpg" />' ]; var x = 0; window.setInterval(function(){ ++x; if(x >= 2){ x = 0; } }, 3000); document.write(images[x]) </script> Thanks For Replying Me
-
Javascript Variable Help!
I Have A Variable Which is "X = 0", I Want That Variable To Change Each 3 Seconds!. Here Is What I Mean Var X = 0 After 3 Seconds This "X" Is = 1 After Another 3 Seconds This X Is = 2 Then, When X = 2, The Variable Goes Back To X = 0 Then Start Again Counting 3 Seconds And X = 1 Etc.... Thanks For Your Help
-
jQuery Carousel Help
Thank You ALL! I Will Try Both
-
jQuery Carousel Help
Hey, I Want A Step By Step jQuery Carousel Tutorial. I Need A Carousel, I Have Tried To Do My Own But I Always Fail :'( I Have Problem In Timing Options And Looping :S
-
CSS3 Slideshow ?
Any Simple Code Of A CSS3 Slideshow ? I Want To Make A News Slideshow Using CSS3..I Want To Learn Not Something Already Ready To Use..
-
Javascript Slideshow Help
Look, I Don't Need A Ready One, I Want To Learn HOW TO DO IT.
-
Javascript Slideshow Help
Hi All, I Need Your Help To STEP BY STEP Write A Full JS/HTML/CSS News Slideshow, I Know There Are Many Of Them On Google But I Want To Learn Well My Problem Is The JS Codes... :'( I Perfect In CSS/HTML. Here Is What I Want, I Want A Slideshow With Thumbnails, And Picture With Links And I Should Be Able To Customize The Design Using CSS. I Tried To Learn From Different Sites Like W3Schools..But It's All About Numbers. I Posted Here A Post Where I Wanted Help To Make A CSS Dropdown Menu, And Someone Posted Me The CSS Of What I Want Including Comments To Make Me Understand What's Written In Front Of Me That's Exactly What I Want Thanks
-
ULTRA Simple Dropdown Menu Using CSS
Thank You Very Much, I Need This
-
ULTRA Simple Dropdown Menu Using CSS
Thank You It's Very Useful!
-
ULTRA Simple Dropdown Menu Using CSS
I Need A Very Very Very Very Simple Dropdown Menu Using HTML And CSS I Know How To Make The HTML Code Of A Menu, But The CSS Is My Biggest Problem. Also I Need To Place That Menu, Inside A Div <div id="nav">THE HTML CODE</div>
-
Javascript Slideshow Help
Thank You Sooo Much! I Need To Learn
-
Javascript Slideshow Help
Thank You All, I Appreciate That Thank You Soooo Much
-
Javascript Slideshow Help
I Want To Do An HTML/CSS/JavaScript News Slideshow I Can Perfectly Make The CSS/HTML My Problem Is Javascript. I Just Want A Code So I Could Make This Ex: <div id="slideshow"> <img id="1" src="#" /> <img id="2" src="#" /> <img id="3" src="#" /> </div> I Want The Script That Will Make Image One Hide After ex: 5 Seconds Then Image Two Appear.... I Know Some Javascript Basics..I'M NOT A PRO. Any Help ?
-
Help Dropdown Menu
This Was Really Helpful Thanks Man!! You Saved My Life!
-
Help Dropdown Menu
This Is My HTML Code For My CSS Dropdown Menu. <li class="Home"><a href="#" title="Home"><span>Home</span></a> <ul> <li><a href="#" title="Sub Item 1">Sub Item 1</a></li> <li><a href="#" title="Sub Item 2">Sub Item 2</a></li> </ul> </li> <li class="Home2"><a href="#">Home 2</a></li> <ul><li><a href="#">Sub Item 1</a></li></ul> Now I Want The CSS Code That's Gonna Be Applied To .Home Or .Home2 To Make The Dropdown Menu Of Sub Item 1/Sub Item 2