15,127 Topics
| |
Hi I got in a bit of a muddle here. Basically say you have this html: ... <a href="javascript:void(0)"> <img alt="" data-name="myCar" data-family="ferrari" data-type="Fast Family" src="images/ferrari.png" style="left: 193.291px; opacity: 0.5; cursor: default;"> </a> <a href="javascript:void(0)"> <img alt="" data-name="yourCar" data-family="aston" data-type="Fast Family" src="images/aston.png" style="left: 293.291px; opacity: 0.5; cursor: default;"> </a> ... … | |
Hi all. I am a beginner in Zend and I am wondering if there is any good book or tutorial for developing applications with Zend Framework, using json for data encoding and decoding and how to use jquery with Zend. Thanks. | |
| Hi! So I have two "tabs" implemented using radio buttons as shown in the code (visibility is controled by CSS). There is one control in each tab contained in the div. I hope the code is clear enough. Now, I am inside a javascript function where I have the control … |
I have a slider that load all of my content at once. Into a div. Like so: external page.php $get_users = mysql_query("SELECT * FROM user WHERE id!='$user_id'"); while ($rows = mysql_fetch_assoc($get_users)) { $id = $rows['id']; $firstname = $rows['firstname']; $display_info .= ' <div class="f_outer" id="' . $id . '"> <div class="f_name … | |
Hi friends. I am currently developing the website that I do want its contents (pictures & texts) to be prevented from being copied. I have tried googling but I got no solution on this, some of the people on the internet suggested the way on avoiding copying, they suggested disabling … | |
Hi guys... i want to delete data from datagrid in mysql...i have also done update query using same datagrid... but i m not able to delete data... my code is <script type="text/javascript"> $(document).ready(function () { // prepare the data var data = {}; var theme = 'classic'; var source = … | |
Hello guys.. i am developing a "College" website for my college project. I want to use validator as are in www.techrepublic.com on the input fields. please help me by providing guidelines. | |
Hello I want to remove this: > As you see it is a blank but the regular variable.replace(/\s+/g,''); does not work. I generate this character with Alt+0160 The best way would be its ascii code so how do I do it? | |
Hi, I cannot load a URL into a DIV tag using javascript and ajax, all that occurs is the original div text remains in place: <html> <head> <title>Ajax Example</title> </head> <body> <center /> <h1>Loading a web page into a DIV</h1> <div id='info'>This sentence will be replaced</div> <script> params = "url=google.com" … | |
Dear admins..!! i am sorry for my previous post, but, now i am asking you this because i am poor in JS scripting.... i have seen a [website](http://max.jsrhost.com/ajaxify/demo.php). Here the menu and content are displayed in two different DIVs, but, i cant understand how to use that, i have concerned … | |
I'm trying to get the colors to show on my table. I'm not sure how to even start. I was told to make 3 different css classes and work with that, but still not understanding how to do it. Table on the left is the example. Table on the right … | |
HI Im looking for a javascript game to download for free so I can give my users on my website a way to get points. so the points that they get in a javascript game would be added to the mysql database to add the points into their account. does … | |
Evening all. I am using nivoSlider, and have come across an issue with ow i'd like it to work. Here is a sample of the slider: http://gavdev.roundthebend.info/index2.html This is what i would like it to do: http://www.directenergypurchasing.com/ This is the HTML: <link rel="stylesheet" href="nivo-slider/nivo-slider.css" type="text/css" media="screen" /> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script … | |
I'm making a contact form. I need it to display the label of a selected check box in a message produced in my JavaScript and validation that makes sure at least one box is checked. I thought this would be simple, but poking my eyes seems like it would suit … | |
Hi everyone, here in this code i have inserted javascript form validation and it is working as well, but when i click the submit button for empty fileds it mentions that the filed is empty but at the same time it adds the empty record.. i have checked my code … | |
Tell me the regular expression used to validate letters,dot(.),slash(/),underscore(_) in JQUERY | |
Hi, Our site (www.iloho.com) works fine on FF, Chrome and Safari but on IE it seems to freeze on the home page after signing in. We've been trying to resolve this for a week and sadly there's no meaningful progress. Is anyone able to point out which areas we should … | |
Hello! This is the most annoying thing to me, I need redirections with Javascript often but `window.location` Doesn't work in chrome? I could swear it used to because I have just noticed this problem. Here is what I do `window.location = "http://mywebsite.com";` Works in Firefox, but not chrome? (I don't … | |
Hi Here is my webpage: http://dgssi.com/barton/directory.html I need to find a tooltip script that when you mouseover a store name in the right frame it will display at a specified location on the map on the left side. I am totally stuck on how to go about doing this and … | |
Hi, I have a json_encoded array that comes out like this `{"y":33,"customTooltip":"BOK"},{"y":61,"customTooltip":"DRFlytt"},`... I need it to come out without the quotes surrounding the y and the customTooltip and singlequotes around the last value like this `{y:33,customTooltip:'BOK'},{y:61,customTooltip:'DR'},` Is this possible or should I find another approach? I derive the array like … | |
Could someone please explain to me how to fix the callout issues where they do not hide again after the mouse hover is moved away from the icons on the home page? Thanks. This is part of the js code in the head section <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.core.js"></script> <script src="http://jquery-ui.googlecode.com/svn/tags/latest/ui/jquery.effects.slide.js"></script> … | |
Hi i have a page say test.jsp It has some href links which redirect to the same page with some unique attributes depending on the link Now depending on the link clicked the page will be reloaded(as it redirects to itself) with new data. Now i want to take an … | |
I could probably/def read a text file with javascript by embedding some ruby in there but I want to know how to do it with javascript. My code follows: [CODE] <HTML> <HEAD> <TITLE>"Text File"</TITLE> <SCRIPT LANGUAGE = JAVASCRIPT> function handleFile() { var myFile = document.getElementById('txtF') var fileContents = System.IO.File.ReadAllLines(myFile); document.form1.textfield.value=fileContents; … | |
Hai everybody, i have following error. user click dialogbox ok button.the above error was comming. what is the problrm in my code var c,pCrop,crop_api,rotate = false; var temp,tempZIndex; var imgCount = 0,imgList = new Array(); var fileSizeOption = ""; $(document).ready(function() { // $('#btnUploadPlanPicture').bind("mouseup", function() $('#btnUploadPlanPicture').mouseup(function() { var id =$('#btnUploadPlanPicture').attr('id'); if(id=='btnUploadPlanPicture') … | |
| i added the draggable functionality to one of my divs using the jquery-ui draggable like in their example here http://jqueryui.com/draggable/ so if the draggable div has text inside it `<div id="draggable" class="ui-widget-content"> Drag me around</div>` how can i enable the option of being able to select the "drag me around" … |
I was wondering how I make this actually work, without the ternary operator it works perfectly fine. Is it even possible to use a ternary operator in this type of situation? $("#link").html("website" + $("#search").val() + "" + t.games.check==true ? "?games=true" : "?games=false"); Also I will need to do multiple ternary … | |
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Untitled Document</title> <style type="text/css"> label { display:block; } </style> <script type="text/javascript"> function goTo() { var city = document.forms[0].city.value; var state = document.forms[0].state.value; window.parent.location.href=url+'?city='+city+'&state='+state; return false; } </script> </head> <body> <form action="" method="get" onsubmit="return goTo()"> <label for="city">Enter the city: <input type="text" name="city" id="city"> </label> <label … | |
Hello ! I m an engg. final year student and have been preparing for my final project. I have selected a topic to develop a web OS (Online Desktop) using HTML,JS,PHP. I require ur suggation whether my topic is good.Help me with some suggation and any tutorial or source code … | |
protected void btnOkay_Click(object sender, EventArgs e) { Boolean blBill = checkBill(); if (blBill == true) { SqlCommand cmdRegistrationID = new SqlCommand("SELECT RegistrationID FROM Registration WHERE RegistrationID = @id", conOOC); cmdRegistrationID.Parameters.AddWithValue("@id", txtRegistrationID.Text); conOOC.Open(); SqlDataReader dtrRegistrationID = cmdRegistrationID.ExecuteReader(); if (dtrRegistrationID.HasRows) { while (dtrRegistrationID.Read()) { Server.Transfer("Make Payment.aspx", true); } } else { Response.Write("<script>alert('Record … | |
I have it set up so that onclick (on a picure) calls the following function: function nxtimg(country){ document.getElementById("imgcont").src="images",country,"/",imgs[i],".jpg"; i++; } When I click on the image however, accorfing to firebug, the src of the image is; "images". It should have been changed to something like: "images/a/flag". Where did I mess … |
The End.