15,120 Topics
| |
Hi Im trying to re-make one of those image galleries where you click the thumbnail and the whole browser window is blacked out with the larger image displayed in the middle. Ive gotten as far as finding a script to hide this black layer and reveal it onMouseClick... but if … | |
hi everyone, I got one javascript error which is coming when i am writing javascript code for numeric value. It is showing "Invalid Character" error . Why this error is coming ? Please tell me the reason of this coming error. So i can solve this problem. Thanks Gagan | |
hi guys, today i found out that there is a free javascript multithreading library at : [url]http://www.infoq.com/articles/js_multithread[/url] it is under GNU license and free to use. It is a great and very easy to use tool. | |
I have a small elearning app and I want to check against the DB for the start and end dates (from mysql) and if they meet the criteria, good, else location.redirect to expired.php?? It doesn't redirect, any suggestions? Here's an example below... [code] function Timebomb() { var StartDate = <?php … | |
I want to check if the user had selected a node from a treeview or not using javascript. I'm using VS.NET 2.0. Thanks In Advance. | |
Hi I have a form on which I run some validation, if any of the conditions fail I show an alert. For example for the name field [CODE]<input type="text" name="name" id="name">[/CODE] [CODE] if(trim(cname.value) == '') { alert('Enter a Name'); cname.focus(); return false; }[/CODE] This is called when a user clicks … | |
Firstly, can I just say. I know this is really badly written but its to the best of my ability. Right, on index.php it makes a query which should go to search.php. Search.php handles everything. It makes a request to ajax.php which makes the request from the database. The problem … | |
Im using vBulletin and Im making a little script which needs to integrate with it. But due to vBulletins lack of PHP plugin support I have to use a client side language to make it work. So I have this script, its queries a database and has pagination. I want … | |
Hello, I have a script which uses a colorpicker in which the user can select a color, and in the preview section the color of one div is changed to this color value. This is done by a javascript function of the color picker. called setcolor. The code for this … | |
There is a text box in html page in that we type any id (i.e string) then automatically it show a drop down list bellow the text box. And that list having ids those r retrieving from Mysql database table. (Totally it is like igoogle search box and button) please … | |
Ok guys, I need some help with this one. I've been beating my head for a day now trying to get this code to work and have gotten nowhere. Let me give you an idea how this web app works: What this does is create a ticket with a date … | |
what am i doing wrong, it does not echo "hello"......ths page is unt.php [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> var ht=false; if(navigator.appName=="Microsoft Internet Explorer") { ht=new ActivxObject("Microsoft.XMLHTTP"); } else { ht=new XMLHttpRequest(); } function chkLogin() { … | |
Page is Served successfully but showing error in the status bar.. of the browser... Purpose of the Script is to load an Gif image before page Loads.. Here is the Script.. [code=html]<script type="text/javascript" language="javascript"> /// To load the gif before page servers.. while delaying.. if(document.getElementById) { // IE 5 and … | |
i want something like timer that we see in rapidshare free usage that makes user to wait for sometime before the download link appears please give me some code eg | |
Compared to javascript's power, i think xslt is so weak. i prefer parsing xml document to whatever html representation using javascript and i cant see any use of using xslt for that matter. What do you think? | |
Hi, On a rollover I am looking to change an image AND have a sound play. I was hoping to do this with javascript. The image is done but the sound - I have been looking into it (sound with javascript) and it seems like this is a thing of … | |
Hi to all I'm trying to get an iframe and call a function that is define inside the iframe, every thing is working OK in IE and Safari, when I try to do the same in Firefox is not working. The followoing is the code I'm using, any ideas, how … | |
I created a prototype.js/window.js "Window" pseudo window div with another page from the same directory loaded in its iframe I could not put a button/link on the iframe doc that would close it by calling functions in the parent window I used "window.parent" "parent" alone "top" but the only thing … | |
Hello friends!! Please help me to remove this error from my webpage. Actually i have downloaded a javascript scrolling images code from a website. This code works fine when i used it alone in a webpage. But when i insert this code in my webpage, it works fine , but … | |
hey, I want to write a small snipet which will first prompt the user to input a javascript command, and then execute that command on the current page. Is there any way to do it?? say the prompt is like: [CODE=javascript]javascript: prompt();[/CODE] (its working) and the command is : [CODE=javascript]javascript: … | |
Hey Everyone! I have come across a very interesting problem that seems to be impossible to solve. Basically a web application that I am working on relies on a JavaScript function called go to change the input named view to the page name and submit the form. This form's type … | |
I am using some code I found on the internet to make all my external links in a new window. Also, I want to make these links gray. I think I once heard you coulden't change link colors at all once a page was loaded, but I may be wrong. … | |
is it possible to load xml from local file system using ActiveXObject("Microsoft.XMLDOM") ? | |
I have a simple calculator written using javascript and html. I would like to make it such that when a link to the calculator is clicked, a pop up window with this calculator appears rather than referring a user to anew page. Thanks | |
Hi, I have a textarea with 2 information in (bmw, mercedes). When i click on bmw, it will be transfered into other texarea. How can i do it? Thanks | |
[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript"> function doSomething() { alert("works"); } window.onload = function() { var btn = document.createElement("input"); btn.type = "button"; btn.value = "click"; btn.onclick = "doSomething();"; document.body.appendChild(btn); } </script> </head> <body> </body> </html>[/CODE] What is the problem? | |
hi, I want to build a popup window that should not be minimized and maxmized. that should be always on top. when other window is opened then the pop up window should not be minimized. Please help meeeeee thanks in advance | |
HI, I am currently creating a personal website which i uses Dreamweaver build in rollover image for buttons, and at the same time i am using Shadowbox for the gallery, but i realise that the auto generated code for the rollover is interfering the Shadowbox from working properly, is there … | |
Hi to all, I have the follwoing challenge: I need to set floating elements in a document and its position should be relative to another element in the document. I'll explain, lets says I have the below document, an html page with an image, I need to set the position … | |
I am working on a really simple website, and each page has a clickable header that displays a different paragraph of text (ex: ABOUT US/ OUR STAFF.. 'ABOUT US' displays about paragraph, 'OUR STAFF' displays short descriptions of the staff in a paragraph). What is the best way to go … |
The End.