JavaScript - Any Idea?
i want to ask about something..
i made a software using php , ajax and javscript.. now as any product i want to make updates on my software, when any updates is available, i want to let the user knows that there is a new update with a new version so the user can download it.... Example: like the update of mccafe, windows....etc.......... my idea is to use the webservice and let the software when loggin-in uses the webservice to check if there is any updates and tell the user with a message the version is updated,please download new version but till now i can not make this webservice.. Any idea of using webservice or any other idea??????? Similar TutorialsIN a tetxt based RPG im making the weapons they are coded in Javascript arrays and i was wondering is there any way to code who wins other then using javascript if statments?
hi everyone, I want to create a photo album with 3 images like these: I hide two of them and make them little smaller then main one: + added two arrows to both sides. the thing is that I want those images to change when someone pushes the arrows. What is more, I want changing style to be something like spinning around the circle. The thing is that I want to save the image on which user was last and when he comes back - it will show his last image. I also would like to use image or other content like some HTML script. is it possible to do it with JavaScript only? Maybe there is something like that already created. I do not think that it is cery hard, just need deeper knowledge than mine. Kind regards... i have a great idea about a website where people make a profile and then make a music playlists based on there moods. but i cant find how to make user accounts. i have a code for the sign up and login sheets, but they lead to nothing. I am a a really new beginner at coding, so any help would be very thankful. This is the code for the sign up sheets: PHP Code: <form id='login' action='login.php' method='post' accept-charset='UTF-8'> <fieldset > <legend>Login</legend> <input type='hidden' name='submitted' id='submitted' value='1'/> <label for='username' >UserName*:</label> <input type='text' name='username' id='username' maxlength="50" /> <label for='password' >Password*:</label> <input type='password' name='password' id='password' maxlength="50" /> <input type='submit' name='Submit' value='Submit' /> </fieldset> </form> AND THIS IS the code for the log in sheet: PHP Code: <form id='register' action='register.php' method='post' accept-charset='UTF-8'> <fieldset > <legend>Register</legend> <input type='hidden' name='submitted' id='submitted' value='1'/> <label for='name' >Your Full Name*: </label> <input type='text' name='name' id='name' maxlength="50" /> <label for='email' >Email Address*:</label> <input type='text' name='email' id='email' maxlength="50" /> <label for='username' >UserName*:</label> <input type='text' name='username' id='username' maxlength="50" /> <label for='password' >Password*:</label> <input type='password' name='password' id='password' maxlength="50" /> <input type='submit' name='Submit' value='Submit' /> </fieldset> </form> Hello everyone I have this grand idea of creating a website and on it would be a large cube that, when one clicks and drags a corner, the cube would rotate in correspondence to the direction one drags his/her mouse and displays the other sides of the cube. I'm a total beginner in Javascript so I don't know where to start out! Should I first make the cube in a 3-D model rendering program such as Blender? Or Photoshop? Etc. All help is appreciated. Hello All, I have made the below code but i want to add something extra to it. I have tried to do it several times already but the code just seems to stop working What i need it to do is to keep asking the user to enter the CD Title and CD Cost repeatedly and to total all the CD Costs together. <html> <body> <script language='JavaScript'> //set the language a=(prompt('please enter the CD Title:',0)); // enter the cd title promt b=parseFloat(prompt('please enter the CD Cost:',0)); // enter the cd cost promt document.writeln(' your CD Title is: <b>' + a + '</b>'); //write the cd title to the screen in bold document.writeln(' your CD Cost is: <b>' + b + '</b>'); //write the cd cost to the screen </script> </body> </html> E.g. Customer wants to buy X CD's. The prompt will appear X times untill the customer has no more CD's they want to buy All the CD Titles & CD Costs should be written to the screen With Total End Product: your CD Title is: RnB Classic Vol 1 your CD Cost is: 1.00 your CD Title is: RnB Classic Vol 2 your CD Cost is: 1.00 your CD Title is: RnB Classic Vol 3 your CD Cost is: 1.00 Total Cost 3.00 Can anyone help? [CODE]<script type="text/javascript" language="Javascript"> <!-- Hide script from older browsers function toggleMenu(currMenu) { if (document.getElementById) { thisMenu = document.getElementById(currMenu).style if (thisMenu.display == "block") { thisMenu.display = "none" } else { thisMenu.display = "block" } return false } else { return true } } // End hiding script --> </script> [CODE] [CODE]<a href="javascript:void(0);" onclick="return toggleMenu('menu3')">Title</a>[CODE] It freezes in Internet Explorer; but works fine in Chrome. Hi, Ive been days searching posting, trying to find a solution to my pure css hover menu that works perfect, except in toucscreens. Ive been today to apples shop to test, and yes sometimes it opens on click other it wont open, something strange. So the best is to serve another menu to toucsreens such as smartphones and tablets, or make the menu work on both. I have tried my menu (Peterneds whateverhover) but cant manage, also have no touchscreen to do tests on. Searching I found Suckerfish Dropdowns and the dropdown have a script for ie6 as ie6 does not support hover. This is the script: Code: <script type="text/javascript"><!--//--><![CDATA[//><!-- sfHover = function() { var sfEls = document.getElementById("nav").getElementsByTagName("LI"); for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); } } } if (window.attachEvent) window.attachEvent("onload", sfHover); //--><!]]></script> I wonder, isnt it posible to change the onmouseover and onmouseout to touchstart and touchend? I imagine that sounds just to easy, suppose if that were the case it would already been done, however I read that touchstart is for iphone etc... Any help please, I do understand javascript when I read it, but am not able to do my own functions. Thanks Helen Hey there. I'm creating my web-site now. I'm planing to have some slide/object change by itself. I know Java Script perform this task. I have get the code and apply to the image I want. It works. My idea is each of my image upper left corner have the representative number of the slide. When the slide1 go to slide 2 automatically, the number will change colour from 1 to 2. When the user click the number, the slide will change according to the number. Let said I have 3 slide. Each slide and have no 1 ,2 ,3 move forward, move backward icon on the upper left corner. I have slide1 ,slide2, slide3 change by itself within 2.5 second. When the user go thru slide 1, slide 2 and till slide3, user find out he/she interested on slide 1 and by clicking 1 on the upper left corner, the slide will change back to slide 1. Something like showing on the home page at www.easyjet.com.EN or http://www.thomascook.com/ . Both home page show a slide. This is what exactly I want. I learn HTML code before but not Java Script. I have borrow many Java Script reference book. but no idea how to inside the number on the upper left corner on each slide and how the number work accordingly with the slide. So sorry if you can't understand what I was talking about. But, anyone who understand me or have any idea how can I mortify the Java script to what I want. Just answer or email me to trista_soo@yahoo.com or facebook me on sym107@hotmail.com. Thanks for your time and efforts. Your help I really appreciate. Cheers! |