15,120 Topics
| |
Hi. I'm trying to add event listeners to multiple elements of the same class. The DOM is something like this: [CODE] <body> .... ....... .......... <ul class="x"> <li class="a"> .... ... <span class="someclass"> [ <a href="http://someurl/x1>link text</a> ] </span> </li> <li class="b> .... ..... <span class="someclass> [ <a href="http://someurl/x1>link text</a> … | |
I'm trying to writer a timer to demonstrate how long it takes to load a web page and all its content. I want to repeat the load throughout the day to demonstrate slowdown at times of peak usage. I know there are tools like HTTP Watch and HTTP Analyzer that … | |
I just wrote a code for a hover animation for a button based of Dragon Interactive tutorial. The problem is that when I first load the page and hover over the button it doesn't animate. But consecutive hovers animate fine. The first hover works just like a CSS :hover. I … | |
I need help with my form page. I have almost everything working the way i want it to. now the question i have is what is the code needed in order to process the form? the requirements are -All user input must come from input fields in a single form … | |
Hi all, I have a map made of 4 img elements that I want to conditionally add mouse click listeners to. The map, and all this functionality is loaded up through an Ajax.Updater, which is called by a mouse click event. So you basically click a link which calls the … | |
How do i create a phone number form box in javascript using no inner html . there must be at least one dash in it. this is my div for the phone number <body> <div id="wrapper" class="grid_12"> <div id="header" class="grid_8"> Take a Survey </div> <div class="clear"></div> <form method="post" name="myform"> <fieldset … | |
Hello friends! I'm just beginning with JavaScript (and Ajax). My loginscript now works with Ajax - that is; the script is sending a request to the servers PHP script to check username and password, but I wonder what that script should return - and how to use that response. Either … | |
i have 10 button on click of button the colou change red ,blue alternatively . There is also an array initialised with zero ,by default buttons are red in colour. these are implemented but there is problem on click of each button the php corresponding array variable must changed to … | |
Hey Ive been trying to make a login script using ajax, the thing is I cant get the php script am calling with ajax to set session variables. Is it even possible? Should I use Cookies becouse I know I can set them with javascript or should I just skip … | |
How to use Ajax for thumbnails navigation.The thumbnails have been genereted by PHP. | |
is there any command or ajax that Javascript is checked repeatedly to one or two variables without any command and without reloading the page...??? following example: [CODE] <html> <body> <!--- This section is repeated or changes automatically if the data is changed --> My ID: 100 MyPhone: 123456 <!-- End … | |
I am in need of some assistance. I am trying to create a form page where users must input a phone number and email address. Using the coding that i have now and NO inner html how do i create the codes for a phone number and email address. I … | |
Hi, I'm doing embedding Windows Media Player with the HTML but I can not run the script through a different page. The following script that I made: [B]file : player.html[/B] [CODE]<html> <OBJECT id="VIDEO" width="640" height="480" style="position:relatif; left:0;top:0;" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" type="application/x-oleobject"> <PARAM NAME="URL" VALUE="file_name.mpg"> <PARAM NAME="SendPlayStateChangeEvents" VALUE="true"> <PARAM NAME="AutoStart" VALUE="true"> <PARAM name="uiMode" … | |
Hi all, please, help me with jquery - I'm totally amateur in javascript. I use script to assign the value to item selected from html select box. The second script adds row into my form. The first row works o.k. but if I´m adding another rows, only value from the … | |
hi.. i want to know how we can attach a ext. javascript to server controls like buttons or Imagebuttons. cause in my app. im using few image buttons. i want to change the image of image button on mouseover event, but when i try to write properties in my source … | |
Hi, i am trying to use Dreamweavers Spry menu tool to create a horizontal menu. The structure and links all work fine but in the submenu dropdown box the background colour only extends as far as the text within and the rest is left white (using IE 6). This doesn't … | |
Hi All, I need to track the number of times a link is clicked/file downloaded & capture this info in the database. please advise urgently.. | |
Hi all. :icon_smile:I am having problems with my form validation and getting it to run. I also have been unable to get the last page update to display at the bottom of the screen:icon_redface:. Is anyone able to help me to get these things to work - I am getting … | |
Hello! Below is a part of an html document where I need to save myself time in having to manually put in the number in the p class="ArtNumbers" section. Thank you very much, I'm grateful for your time.[code]<td><p><img src="Food2/SF_Food_01.jpg"></p> <p class="ArtNumbers">1</p></td> <td><p><img src="Food2/SF_Food_02.jpg"></p> <p class="ArtNumbers">2</p></td> <td><p><img src="Food2/SF_Food_03.jpg"></p> <p class="ArtNumbers">3</p></td> <td><p><img … | |
[CODE=javascript]clock(); function clock(){ var d=new Date(); var hour = d.getHours(); var minute = d.getMinutes(); $('#hr1').css('text-indent', '-'+hour.charAt(hour.length-2)*50+'px'); $('#hr2').css('text-indent', '-'+hour.charAt(hour.length-1)*50+'px'); $('#min1').css('text-indent', '-'+minute.charAt(minute.length-2)*50+'px'); $('#min2').css('text-indent', '-'+minute.charAt(minute.length-1)*50+'px'); clock(); }[/CODE] I need help updating my jQuery clock. setInterval and looping the function doesn't seem to work. The variables are updating well but the css properties are … | |
Ok so I have this script and I cant figure out how to add multiple star ratings to one page. [CODE]<? require "config.php" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" /> <meta name="author" content="SMARTREVIEWSCRIPT.COM" /> <title>Add Your Review</title> <link rel="stylesheet" href="style.css" type="text/css" … | |
Hi Developers Most of the time I'm free, I off the internet. I would like to learn Ajax and JQuery offline. Can someone point me good offline tutorial/free legal book for download? I have googled a lot and downloaded many PDF which are confusing to the beginner at best, and … | |
I have no idea on AJAX, Can anyone please advise on any reference material as am a beginner? | |
I have firebug installed in my firefox browser, but I can't get console.log, console.debug or console.trace to work. My console window remains empty despite all my efforts. For example I have some code which throws up an alert box ([CODE]alert ('here is an alert')[/CODE] so I know 100% that it … | |
I am very new at javascript and programming in general. I am using the following function and 9 more labeled "doAjax1" through "doAjax10" respectively. I have an html file called "ch2_xhrMockServer.htm" that I am calling 10 sets of json data from with the name of each being "response1" through "response10". … | |
Hi everyone I'm more than a little stuck and would appreciate a hint. I'm struggling to read files in a folder and then pass the variable to the following: </body> <OBJECT ID="MediaPlayer" width=320 height=310 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject"> <PARAM NAME="FileName" VALUE="video/RC Radio Controlled Model Airplane [from].wmv"> <PARAM NAME="AutoStart" Value="false"> <PARAM NAME="ShowControls" VALUE="true"> … | |
hi i am trying to make a div move but i want to make a loop so i can move more than one. I put the variables into the funtion, it works fine with the destination variables but when put x and y in the function it returned get elementById … | |
It is not hard to convert your design into validate CSS/HTML/XHTML markup, but what makes the difference is how well you are able to do it! Because at last, it is the "quality" of your coding which brings out the performance of the web page, and the reason for which … | |
Design ideas don't have to be hard to find. For you out there that have specific ideas which are ready to be implemented, you just need someone with the technical know-how to turn them into web reality. Get ideas about the latest web design trends and communications concepts by looking … | |
Hi, I am trying to load dynamically a consolidated view of different pages. I am using prototype.js to do the ajax loading. In one of my page there is an option button to change the option. and this component should be embedded inside a form to work. As I am … |
The End.