15,127 Topics
| |
I have an svg object on my page, with mouseovers that call a function on the page itself (outside of the svg). This function shows/hides divs on the page by id: onmouseover="top.showit('option28')" When the page is first loaded, the divs hide/show just as they're supposed to. But I have separate … | |
| I'm currently using this code to display a video lightbox on my site. If possible, I'm looking into rendering a disqus comment system under the popup video. Is that possible? Here's the js code. var Videobox = { init: function (options) { // init default options this.options = Object.extend({ resizeDuration: … |
I've got 5 images that I want to display one after the other with a time delay, e.g. image one displayed 0.5 seconds image two displayed 0.5 seconds image three displayed At the moment the HTML looks like this: [CODE]<div id="header"> <img id="headerImage0" src=""> <img id="headerImage1" src=""> <img id="headerImage2" src=""> … | |
Hi guys, I am working on a webpage which holds 2 different html forms. One of them is a radio button form and the other one is a drop down menu. I also have two links on the page. I want to make it so that when someone clicks on … | |
I have a problem with jquery loading because prototype. This is script that I use: <script type="text/javascript" src="prototype.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script> ... .. .. <script language="javascript"> function show(obj,msg){ messageBox.style.top=obj.offsetTop messageBox.style.left=obj.offsetLeft+obj.offsetWidth+5 contents.innerHTML=msg+"<p>"+obj.href messageBox.style.display="block" } </script> Between "..." I have a few more jquery scripts that working without conflict with prototype.js because I … | |
I want am php page which entry the google longtitude and latitude from an google map, want just click the map and in the text box need to show the longtitude and latitude after that a submit button need to click this data will store on a database as varcar(). … | |
I need to get data from a [site][1] programatically using [WebClient][2] in ASP.NET. [This website][3] loads data by sending an `ASP.NET Ajax` request (using `ASP.NET ScriptManager`) to the server. Try selecting an geographical state and then click show on the page. Paging operations are also performed using ASP.NET Ajax. I … | |
I am trying to change the order of the stack using z-index. as my HTML, CSS and javascript function show in the code below. The three tables are all read into the same location, with only the last table being printed on the screen, since all tables use a white … | |
Hello, I have a small problem with my script. The ajax calls php file but it wont finsih successfully. Instead it goes to error: callback. My javascript part: function updateUserlist(){ $.ajax({ type: "POST", url: "process.php", data: {"function": "userList", "n_users": n_users}, dataType: "json", success: function(data){ console.log("Updating..."); $("#users-list ul").append("<li>"+data.text['nickname']+"</li>"); n_users = data.numUsers; … | |
var allchk = document.getElementsByName("contacts") what is "contacts" in above line | |
I found this great tutorial http://bavotasan.com/2009/creating-a-jquery-mouseover-fade-effect/ Its easy to follow but i am getting stuck with the JS because i want to have more than one image on the page. Can someone assist. | |
Hello All, I have list of DropDownList of items fetching from database, all have values of 1,2 and 3... DropDownList1 has a selected value of 1 DropDownList2 has a selected value of 3 DropDownList3 has a selected value of 2 What I want is to swap values. It's urgent please … | |
hi, i am have made a button, and everytime i click it it takes a value from my input box, and it subtracts it and stores it back into the input box value. but what i am trying to do is, store my value into an array or anything everything … | |
I have an HTML page that makes a query to SQL database when clicking on button "OTSI". My problem is that after populating the table with the data, I cant sort it anymore. I am using a standard tablesorter library ([TableSorter](http://tablesorter.com/docs/)). Here is the page making the query: [page with … | |
hi my interface has spry tabbed panels each in its own form, my problem is whenever i submit data on any of the panels in a form, my page reloads with focus on the first panel(index 0). tried javascript all methods. I need to submit on my search button and … | |
Hi all! I have a problem that I've been struggling with for quite sometime. In short I've successfully parsed a xml file from a string. But I can't seem to access the correct elements. The thing is I'm reading the xml file data via javascript but in the xml file … | |
This is the message I get within the document.write output ("document.write(bodytype);") [objectHTMLSelectElement] This is my attempt to get a value from the dropdownbox; var bodytype=document.getElementById("bodytype"); document.getElementById("bodytype").value=bodytype.options[bodytype.selectedIndex].text; This is the dropdown box code that it's meant to come from; <select id="bodytype" name="bodytype"> <option>fat</option> <option>lean</option> <option>slender</option> <option>short</option> <option>tall</option> </select> It's printing what … | |
Hi i am trying to geocode tweets to a google map i have all my code in place but it just isnt loading up my tweets its just showing the map here is my html code can anyone tell me where i am going wrong thanks <!DOCTYPE html PUBLIC "-//W3C//DTD … | |
I'm trying to extract an element's children from an AJAX call, but am having difficulty isolating it. My code is as follows: function AJAXcomplete(data){ var result = $(data).find('#productDetails > *'); jQ('#productDetails').append(result); }; function getDetails(e){ e.preventDefault(); var addy = jQ(this).attr("href"); jQ('body').append('<div id="productDetails"></div>'); jQ('#productDetails').show(); $.get(addy, AJAXcomplete); }; jQ('#slides').on('click', '.slideLink', getDetails); The above … | |
Hey guys. I would like to know, which js library do you prefer when designing websites that implement the parallax effect and why. Which one suits you better and why? I'm new to this effect (it took me quite i while, I know), and I'd like to know your oppinions … | |
I am designing my very own first web page. It's a real estate page where some users will add open house information while others can pull the info out. The code for the database and the web is very good (after two months...) and inserting and getting data is sweet. … | |
hi friends, I have a problem Requirement * Weekends should be disabled. * Disable past days * specific date should be disabled So I used jqueery datepicker **Registerdate is ID of the textbox** <tr> <td> <asp:Label ID="Label7" runat="server" Text="Register date : " Font-Bold="True"> </asp:Label> </td> <td> <asp:TextBox ID="Registerdate" runat="server" Width="150px"></asp:TextBox> … | |
Hello. i load data from a data.json file. each div named content shows contetn[i] from the json file. but i dont want all of this to be shown. i want only the the hovered div to be shown.but this code doesnt work.any help ? $.getJSON('data.json', function(data) { for (var i=0;i<18;i++) … | |
I'm in the end stages of my program and everything is running fine, all i need to do now is create some data validation for my form. I've dabbled around and have figures out how to validate textboxes but am not sure how to validate my drop down boxes. So … | |
hi guys, how are you all? well, i am participating in the google's science fair and my question is: how can we make social networks student friendly? and my aim is to make a social network that can be student friendly and also as professional as other social networks in … | |
Hi, this question is related to http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/189876/populate-text-field-from-drop-down-list Discussions seems to be closed. First of all, thank yor Mr Airshow for the code. With some changes, I could greatly improve my project! Still a few months old in the computer field, but with lots of energy! This question is to whoever … | |
Here's a weird one... I have a toggle for a music file that plays when the site loads. There's a stop/play button on the page as well. On every browser, things work just fine. The music plays, the text says turn off/turn on just as it should. Except Ipad. When … | |
Hi I'm not really sure why this isnt working. Could someone ammend the code so that it is working? cheers <html> <head> <meta name="generator" content="HTML Tidy for Linux (vers 25 March 2009), see www.w3.org"> <title>Limerick Generator</title> <script type="text/javascript"> function display(f) {//code to get data from List boxes var DirectionSelect = … | |
I'm looking for something like this [Click Here](http://screencast.com/t/gTJFzquJ) Lets say I have bucket A of items: * Name * Email * Phone * City * Country * Sex I have another bucket B in which I can put the items of my choice: * Name * Email * Sex I … | |
I want to start by saying, I hope this is the way we can ask questions on this site. If Not I am very sorry! Hi guys!! I have been stuck with this issue for a long long time. I am creating a site. But my Search bar is not … |
The End.