15,127 Topics
| |
Hi there, I am doing some jquery exercises and I was redoing a small script I saw onto this video (very very good jquery resource by the way) [url]http://blog.themeforest.net/tutorials/jquery-for-absolute-beginners-day-8/[/url] and there is something I am not quite clear about. I copied that onto my test area so I can post … | |
In my quest towards becoming a guru in [B]Web Development[/B] led me to start learning [B]Scripting[/B] few weeks ago and i started with [B]Javascript[/B] there is this video tutorial that i have on my drive which was putting me through, the going was good but i got stuck when some … | |
Hi all, I have region which initially needs to be fixed in a certain position. After data is returned to the page and the user scrolls down to the bottom instead of remaining in its fixed postion I want my region to float to the top of the page, if … | |
Hi :) I'm trying to create a small javascript menu. I have 4 images which serves as menuitems. [code]<div class="myMenuButton"><img goes here /> <div class="myMenuContent"> Random content1 here <br /> Random content2 here <br /> </div> </div> <div class="myMenuButton"><img goes here /> <div class="myMenuContent"> Random content1 here <br /> Random … | |
I have a problem - I need some help. I am having trouble with some coding. I have created a drop down list with the months of the year. Next to this I have created a button. What I want to do is when the user selects a month from … | |
I have the following html file [CODE]<!DOCTYPE hmtl> <html> <head> <title> Minimum Spec Test </title> <script src="Compatability.js"></script> <script type="text/javascript"> var can, ctx; var img = new Image(); function Init() { can = document.getElementById('canvas'); can.width = 100; can.height = 400; ctx = can.getContext('2d'); img.src = 'Images/_test.bmp'; ctx.drawImage(img, 0, 0); } </script> … | |
I have a page with a slideshow which doesn't look too great in IE8 or lower. Is there a way to display different content for these browsers? | |
DW has written some js code for me and it works just like I want it to in FF but IE .... not so much. [CODE]<div id="menu"><p onclick="MM_openBrWindow('sitemap.php','SiteMap','width=640,height=480');return document.MM_return false"><a href="sitemap.php">Site Map</a></p> <p onclick="MM_openBrWindow('policy.php','Policy','width=640,height=480');return document.MM_returnValue"><a href="policy.php">Policy</a></p> <p onclick="MM_openBrWindow('send_mail03.cfm','EmalMe','width=300,height=370');return document.MM_returnValue"><a href="send_mail03.cfm">E-Mail Us</a></p></div> </div>[/CODE] The questions of course: Why not? and "What … | |
(If you are familiar with Memcached, better) can take a look at the img. on the third column (named 'Value'), I need to put a 'button/link' that when clicked it will display/hide the content of the cell. In a sort of javascript 'toggle' function. (i'm not sure which to use: … | |
I'm making a little script using jQuery to send a sentence to a textarea by clicking on the text. It does this fine however, if I edit the textarea to remove a sentence manually, I can no longer click on the sentences to send them to the textarea. Don't know … | |
I am looking for a good tutorial on how to do a simple photo gallery. I want to photo gallery to transition by using arrows to go back and forth. I found a few tutorials but none that explain it in detail. I am familiar with jquery but not too … | |
Hai guys, I'm developing a web Geo locator application.. Basically, mysql server push the data to map script and determine the long,lat position.... Well, I set refresh time between 10 secs - 20 secs... I would love to add route line between the markers.. I believe this is possible to … | |
HAVE CLIENT-SIDE FORM COOKIE GET AND SET FUNCTIONS IN THE SECOND WINDOW DOCUMENT EXTERNAL JS.FILE OF A DUMY TEST SITE FOLDER ON MYCOMPUTER. IE8 THROWS 'SYNTAX ERROR' ON THE 'WINDOW.LOAD=FUNCTION, FIRST COOKIE FUNCTION HIGHLIGHTED'. CAN I ACTUALLY TEST COOKIES ON A TEST SITE ON MY COMPUTER WITHOUT THE SERVER (MYCOMPUTER) … | |
Hi....Friend i have to make this task...... create a time clock that display on the status bar and keep on changing every after 1 second. Kindly keep the format as given in the picture. i have created code but i dont know how to put on status bar... my code … | |
Hey guys, I'm hoping this isn't anything complicated. I don't know any javascript, but I think it can be done with it. Basically what I need is on select option to change the value of another selection option. More specifically: when a user selects a time from the first option, … | |
Hello. I don't know if this is the right forum for this. I have resently downloaded a custom jQuery UI Pack, only using core and tab widget. On the examples in the index.html file, everything loads fine. Then I copy the files to my website directory, (all locally) and the … | |
hi i made a tutorial for appearing default text in text fields [snipped blog promotion] | |
[IMG]http://img26.imageshack.us/img26/5063/ddddqk.jpg[/IMG] [CODE] <style> div#back{ width:1000px; height:1000px; margin-left: auto; margin-right: auto; background-color:#096; } div#topmenu{ width:400px; height:35px; position:relative; top:5px; left:595px; background-color:#9F0; } div#logopart{ width:950px; height:70px; position:relative; top:0px; left:50px; background-color:#0FF; } div#leftmenu{ width:100px; height:400px; position:relative; top:0px; left:0px; background-color:#999; } div#cont{ width:900px; height:500px; position:relative; top:0px; left:0px; background-color:#FF6; } </style> ... <div id=back> <div id="topmenu">topmenu</div> … | |
I have found a fairly generic script for refreshing the content of a div without refreshing the whole page and although it works fine, there are a few things I would like to improve on if they are possible. [CODE]<script src="http://code.jquery.com/jquery-latest.js"></script> <script> $(document).ready(function() { $("#refreshdiv").load("activity.php"); var refreshId = setInterval(function() { … | |
Hi experts, im new to coding and i really need help for this. i have done a shopping cart calculation using javascript my question now is, HOW TO SEND JAVASCRIPT VALUE INTO DATABASE (MYSQL) ?? [CODE] <?php require_once 'library/config.php'; require_once 'library/cart-functions.php'; $action = (isset($_GET['action']) && $_GET['action'] != '') ? $_GET['action'] … | |
Good Day All i have a Jquery code defined like this [CODE] // Let's add it to textarea this time $(".cnt").focus(function() { // Check for the change if(this.value == this.defaultValue){ this.select(); } }); [/CODE] and i am creating a textbox on fly and after creating it i bind data to … | |
Hey Dean here again, I've been assigned to make an earnings calculator with user input I'm just having trouble in making the final sum work I just get NaN for an answer [CODE] function getValue() { var values = new Array(239.99, 129.75, 99.95, 350.89); var name = prompt("Enter your name: … | |
I really need help on this,I know nothing about ajax.. and I really need this to include in my page this is the original code : - [CODE]<html> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <head> <meta http-equiv="content-type" content="text/html; charset=windows-1250"> <meta name="generator" content="Andy Moore: http://locationdetection.mobi/"> <title>TEST1</title> </head> <body> <div id="geo" … | |
Question Get cells by className to equal innerHTML of cell id 'subtotal' I'm trying to grab all the cells created with insertrow function and the className 'rowtotal' and get their innerHTML to equal that of a cell with id 'subtotal'. This is a simplified html code of single cell inserted … | |
I have created a home page with a division in which 2 other JSP pages are to load. The validations fire properly when I lauch those 2 pages seperately. The problem is, validations arent working when they load within the first page. How can I solve this? Should i write … | |
Hi there, I'm currently adding in a recaptcha to a contact form that I didn't create in the first place, so I've been tentatively working my way around it. For some reason though, every time I complete my form, no matter whether the captcha I entered was right or not, … | |
i want to get #value into the url to without refreshing the page ?? i tried window.location.hash to get the #value but it return blank.. the url is index.php?page=contact-us#email plz help to resolve the problem >> | |
hi i have created a php file which calls a php function and echos the results. i dont want to display the results i want to use them in a jquery function. [CODE] jQuery('body').prepend("<div id='target'></div>"); gMap.gmap3({ action: 'init', onces: { bounds_changed: function() { var number = 0; jQuery(this).gmap3({ action: 'getBounds', … | |
Hi Friends, Please check this code where i was did wrong ? thanks in advance. [CODE]<button type="button" onclick='showData()'>Edit</button>[/CODE] [CODE] <script type="text/javascript"> function showData() { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 … | |
Hello. I'm working on a website that has pages with variable height. However, the footer is one of my main problems. When the page can be scrolled, the footer needs to be [icode]position: relative[/icode]. When the window height is greater that the page content height (no scrollbar), the footer needs … |
The End.