20,316 Topics
Hi All. Now I am really stuck here. I am trying to develop a calendar which hilights the days date (which I have done) but now I am on to the really tricky bit (for me). I need the calendar to change each month and because the different months have …
Hi there, Just working on this page - [url]http://www.rjt-online.com/photos_titletest.php[/url] In Opera, the dynamic resize of the iframe isn't working correctly. As you can see in the code, I have set a minimum height of 200px so the iFrame should always be a minimum height but if the content requires it …
Hi ,I have following javva script [code] test.AddQuestion( new Question ("com.scorm.golfsamples.interactions.handicap_1", "Which formula is used to calculate the 'course handicap'?", QUESTION_TYPE_CHOICE, new Array("Course Handicap = Handicap index + number of holes * number of lost balls in last round", "Course Handicap = Number of years experience / annual equipment spending", …
Hi I'm new to JavaScript. Looking to get some pointers and some discussion going. I'm making a simple JavaScript code where if you click some text it will make it the same as the other text in both cases. Apparently I am doing something wrong or my logic is flawed. …
Hi All, I may be trying to achieve the impossible, but I'm trying to populate 2 iframes with PHP generated variables via a javascript function. I all seemed do simple to begin with but trying to mix client side action with server side data I seem to be going round …
Below you will find my code for a web program that takes in changes and will change the last area. I am wondering if i need to make the last box a textarea? Also any help with the javascript will be greatly appreciated and any other ways to make it …
I'm having problems with some JS I'm working with. I'm trying to make a dynamic coverage calculator. Here is the URL of the JS engine I'm using: [url]http://www.lutanho.net/diagram/diagram.js[/url] Here is the code for the input frame: [CODE]<SCRIPT Language="JavaScript"> function Draw() { parent.rd=document.inputform.rd.value; parent.frames[1].location.href="db_display.html"; parent.thrw=document.inputform.product.value; } </SCRIPT>[/CODE] Now here is the …
What I want to achieve is getting below url through submission. [url]http://www.example.com/team1-vs-team2.html[/url] For that, I need two drop down list. Both for team (team1, team2) Both team1 and team2 are fetched from single field of table database. i.e. there is no difference between any drop down list. Now, once user …
Hi Wondering if someone could kindly help me with this small problem. I'm quite new to Javascript so not quite sure how to do this. I'm creating a live search functionality on a site which is all working fine. As I enter the letters it displays the search results as …
Im looking for a code like the one below that automatically resizes posted images to desired size while at the same time the resized images are clickable for full size which opens in another window. The one below does not work on my forum software, Im looking for a work …
Hi there, hoping you can help me with a conundrum I have... What ive made so far is a page header image with 4 buttons to the side of that, which when clicked will change to a diff image (sprite image, triggered by some javascript I found on the net …
I'm trying to make a javascript game which counts mouse click for ten seconds. The problem is that the script ignores the onclick event somehow.Here is the code. [CODE] <html> <head> <script type="text/javascript"> var c=0; var t; var timer_is_on=0; function timedCount() { document.getElementById('but').value=c; c=c+1; t=setTimeout("timedCount()",1000); if (c>10) {alert('over'); c=0;} } …
Hello everyone, I have a Joomla website which are using VirtueMart. I want to watch the submit of a product (which is using AJAX) and when the request is succesful and complete then send a new XHR request to upload another part of the website. How do you think I …
Hey guys, what I want to do is have a page that only displays if javascript is enabled(or similar) in the sense that it tells users that js is not enabled and how to enable, what were doing is creating web forms and would only like them viewable if js …
hi, i m facing problem whil making a submission form. i want to update the value of datetimepicker when a value in month's passed to it by the help of textbox. suppose dtpicker showing a date 07/07/2010 when i pass the value 20(in month), it will update the value in …
This is a PHP script that allows javascript clients to request content they otherwise would not be able to. With the popularity of AJAX (using the XmlHttpRequest object in the browser), many developers are becoming aware of the cross-domain scripting limitation. This is a security feature that prevents client-side scripts …
Hi all, I have a code that will fetch out the data from database OnMouseOver. But it is working fine if don't add table on the div which will come OnMouseOver. If i try to show the fetched data in table then the code doesn't work. Please someone help me …
A simple progress bar that you can addUp with some common events' like redirecting the user to another source. And while they wait let this progress bar do some work for them...
I want to use java Script Variable in PHP Code. For Ex... Var a=10; <?php Use JavaScript Variable.How ???? ?> How can I use this variale in php ??????????
Is there a module in python that i can use to parse javascript??? I finding a module that parse out the error message like what the cssutils do when checking on css script. Thanks
Hi, I've an XML document and I am creating another XML using XSL. I need to check some specific conditions and for that I want to use Javascript in my XSL. I tried it, however, couldn't get the desired result. As I could not change the XSL variables frequiently so …
Hi all I am really new to javascript and I need to make a calendar which hilight the days date green. e.g. today 25/07/10 will be hilighted green. This is probably really easy but I am really new to JavaScript and would really appreciate the help. Here is the code. …
Hi, on my website, I have a drop down jquery menu with links and a image slide show with links. When I mouse over on the drop down menu, the drop down menu links go behind the image slide show, any way to fix this? Website: [URL="http://www.invincible-performance.com/index.html"]http://www.invincible-performance.com/index.html[/URL] Thanks.
Sorry, this should be in the AJAX section--- Hi all, I've seen sites that use some kind of AJAX validation when typing in an address. On top of this when the address is typed it runs a search and then asks if I meant the found address or the one …
How could I do this? I have a radiobuttonlist with a yes and a no.. Then if click yes, the three textbox that are disabled will be enable..
I have made my three textbox disable in code behind [CODE]if(!ispostback) { textbox1.enabled = false; textbox2.enabled = false; textbox3.enabled = false; }[/CODE] then I have three checkboxes that corresponds with the three textboxes, chkbox1 for txtbox1, chkbox2 for txtbox2 and so on. How to do enable it using javascript? i've …
Hello, I have done how to find out co ordinate(x and y axis) of a point on an image where a user clicks. But I need the opposite thing now. I need to mark a point on an image when a user gives suitable x axis and y axis co …
I having troublw with uploading images, this is the script that I use along with the function of the process and the display page of the product! [CODE] function copyImage($srcFile, $destFile, $w, $h, $quality = 75) { $tmpSrc = pathinfo(strtolower($srcFile)); $tmpDest = pathinfo(strtolower($destFile)); $size = getimagesize($srcFile); if ($tmpDest['extension'] == "gif" …
Hi, I have a navigation bar with images as the buttons with no text on them. I'm trying to make a simple slide down menu on hover so people know which pages those images will direct them to: eg 'home', 'about', etc... However, I can't seem to get it to …
Title doesn't really give this thread justice ... I have a content div with an image and text included into it. This same div class is being used multiple times. What I want is to be able to click the image, and have the <p> in that div toggle to …
I have a javascript function to toggle a specific id sent to the function [code=javascript] <script type="text/javascript"> function toggle(id) { var localId = document.getElementById(id) if (localId.style.display == 'none') { localId.style.display = 'block' } else { localId.style.display = 'none' } } </script> [/code] I want to do the same in jQuery, …
Hi ... I Need to work with more AJAX Content, So i want a JS Function with Arguments like URL(the url to Ping), Parameters to Send , ctype(Content Type XML,JSON or TEXT). All i need is when i Call the Function with these Arguments , the Function should return the …
Ok so I am trying to setup on my site to have 6 of my recent tweets. I am trying to use the .getJSON method and it is just not working. [CODE] $.getJSON("http://api.twitter.com/1/statuses/user_timeline/jrock2004.json", function(data) { $.each(data, function(){ $('<div></div>') .hide() .append('<span>' + this.text + '</span>') .appendTo('#tweets') .fadeIn(); }); }); [/CODE] Any …
For some reason, Javascript I am trying to execute with php is not working. Below is my code. [CODE] <script type="text/javascript"> function GetIst() { var d = new Date() var gmtHours = -d.getTimezoneOffset(); document.write(+ gmtHours); } </script> <?php $con = mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); …
I am currently trying to store location data into a database and when i display it on a website, the location data is hyperlinked and when i click on it, it will act as a search query to display the location on Google Maps in a iframe. Does anyone know …
I am having a random problem with my website. I am not sure if its just my internet connection that is causing this or if it is a problem with the website it self. [url]www.team188.com/web[/url] The prob is that randomly once in like every 5-6 visits, the website will take …
Hi, I have a javascript array that contains only integers.I need to pass this array via AJAX as a variable. How do I convert a javascript array to a variable so that I can pass it via AJAX. On the receiving php page how do I convert back the var …
I have a textbox in a column of a gridview. Onfocus of the textbox, css implements a background color change. Also, for the edges of the textbox (to be rounded - look nice) I have two divs surrounding my textbox. Onfocus I want these divs to be visible and onblur …
Hello, I was wondering how I could dynamically generate an image via Java/Javascript. Here is what I need: There will be a tiny sprite-like image in the middle. What I want is to have a partial circle around the sprite appear. It will have a drop-down with 3 options, each …
I'm trying to make a Chrome extension that has the ability to download Youtube Videos. What I want to do is when the user clicks the download video icon, my extension uses [document.write(location.href] (javascript) into the form, and when the user clicks download, it opens a new tab and goes …
I am not sure what is going on, for some reason the page will not display at all on ie7 or ie8, Firefox works fine. Please help thanks [URL="http://popnwedlock.com/services.html"]http://popnwedlock.com/services.html[/URL] [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Pop N' Wedlock Services</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="pop_style.css" rel="stylesheet" …
Hi there, Im working on this page - [URL="http://www.rjt-online.com/photos_titletest.php"]http://www.rjt-online.com/photos_titletest.php[/URL] When you click the Filter By buttons it alters the content of the iframe below it. This works fine in ALL browsers. However, when you click the browser "back" button it should return to the previous clicked Filter By button (and …
I have one link in my webpage where user can call to other skype user. [CODE] <a href="skype:skype_username?call">Call me</a> [/CODE] But when user have not skype installed in their pc one notification popup is coming. Is there any way in any manner i can detect is skype is installed or …
Hello i have a stupid problem but dont get to resolve :S i have to put a javascript between labels [CODE]<head></head>[/CODE] inside a part of my web [URL="http://www.lupok.com/veocine"]veocine[/URL] but i dont want the javascript is in all the site. Do you know any way to use different headers in wordpress …
This is my code for multiple file upload. When the user clicks on attach more files link $max_no_img should be incremented but i am not able to figure out how to do it. <!doctype html public "-//w3c//dtd html 3.2//en"> <html> <head> <title></title> <script type="text/javascript"> function increment(){ max_no_img++; return max_no_img; } …
Hello everybody: This is my first thread in here. I readed a lot of good problems and solutions in this webpage. Right now im having troubles with one form submit in IE. Here's the thing. I'm trying to generate a PDF in PHP, i'm using mPDF to show the html …
Hi All, the following code is used to get an update from a database. My question is how can I use this more than once on a page to call two different queries (from different php files)? [code] <html> <head> <script type="text/javascript"> function showHint(str) { if (window.XMLHttpRequest) xmlhttp = new …
Hi there, I'm new to this forum and am trying to find answers to a few issues I've been having. I'm building a website for my music (I'm a novice with web design so bear with me) and I'm having trouble with this page - [URL="http://www.rjt-online.com/photos.php"]www.rjt-online.com/photos.php[/URL] As you can see, …
Hi, I need to do the exact same thing this website <http://abtees1.com/> does when you mouseover one of their shirts. I have absolutely no idea how to do this and I can't seem to find anything on the internet quite like it. Any help is greatly appreciated. Thanks!
Does anyone know if there are any ajax functions that would allow me to pull certain content from one page and display on another in a named <div>? I currently have some code that pulls all the content and works very well. I am looking to enhance this to say …
The End.