15,688 Topics
![]() | |
Hi I have the following CSS menu, which uses a js to create the menu on Mouseover... I want to add a delay onMouseOut... I have tried the setTimeout function, but am having some trouble getting it to work... the submenu just stays out... [code=javascript] var menuids=new Array("verticalmenu") //Enter id(s) … | |
i want to have a big hidden table, then i will have a div and that div will be located on that table, only the intersection of the div and the table will be visible. is that possible? | |
hi guys, i have one main page with two iframe elements, these two iframe elements is assigned same source file as follows : mainpage.htm : [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>Untitled Page</title> </head> <body> <table> <tr> <td> <iframe id="leftPane" src="iframepage.htm" width="300" height="800"></iframe> </td> <td> … | |
Hi I had a form validation script with me. that is [ICODE]<head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false;} else {return true} } } function validate_form(contact) { with (contact) { if (validate_required(username,"Userame must be filled out!")==false) {username.focus();return false;} } } </script> </head> <body> <form action="password_process.php" … | |
Hi!! i want to validate a list box onthe onblur event and if no value is selected , display a message on the left using <span> and innerHTML here's what i have written [code] <html> <head> <script type="text/javascript"> function validateCB() { if(document.rec.loc.options.selectedIndex = = 0) { alert(" hi"); return false; … | |
Hello! I have a small script which dynamically creates select tags (they are placed within divs). Each select has a [B]+[/B] and [B]-[/B] sign next to it, and if you click the [B]+[/B] it adds another select below that one, or if you click the [B]-[/B], it removes that current … | |
Hi All, I was wondering if anyone could help me with this one. If you want to see what I have at the moment goto [url]http://www.personally-yours.co.uk/indev/test/state_dropdown.php[/url] This page has two drop downs, the bottom one is populated depending on what is selected in the top one. What I want to … | |
Hi, I'm not much more than a[I] jquery cut and paste - change a simple user definition[/I], guy. I can't write javascript... So, I was trying to marry two jquery "animation effects" in one page and apparently have a conflict. The two things work separately but it seems that there … | |
hii !! i am using the onblur event for form validation to validate that a field should not be empty i am using the following function [code] <scirpt type="text/javascript"> function isEmpty(field) { if ( field.("<name from form>").value = ' '); alert("empty field"); } </scirpt> [/code] the problem is the event … | |
Hi, I want to display a java script confirmation box before browser session is timeout with message as "Your session is going to timeout in 2 mins. Do you want to extend session?", if user is clicked on "Ok" button within the session timeout period, session should be extend. If … | |
Hey all! Pretty simple I hope :D I have a website that absolutely requires JavaScript to be enabled for it to work. How can I make it so that if a user with JavaScript disabled tries to view my site they are redirected to an error message? Thanks! | |
I have a form that sends the value of my input box to search.php where I cature it using POST: [code]<form method="post" name="boxsearchform" action="search.php"> <input name="INPUT" id="INPUT" type="text" value="" /> <input type="image" name="search" src="searchboxgo.gif" /> <select name="choosevar"> <option value="title">Title</option> <option value="colour">Colour</option> </select> </form>[/code] What I would like is to use … | |
hi my page contains a button with a javascript click event. when i click the button i want to check if the page is valid, and if the answer is yes, to perform the event function. if the page is not valid i want the error message to show in … | |
I have recently changed my page so my date that is held in a textbox is in the European Format, ie DD/MM/YYYY The problem is all of my other javascript functions expect it in the 'normal' format. Is there a way I can change the format I now have it … | |
I am using the following to set up a textarea for the input of the body of an email. [code] <td valign="top"><textarea name="zbody" id = "zbody" class="stylefont_textarea" tabindex = "3" onfocus="gotostart()" cols="40" rows="10"><?php echo $sig?></textarea></td> [/code] the php inserts a "signature" into the textarea. When I tab to it, the … | |
is there anyway of distinguishing between whether the button is clicked directly by a mouse or its click event has been triggered logically? [code]<input type="button" id="someID" value="dene" onclick="alert('something');" /> <input type="button" value="dene2" id ="someID2" onclick="document.getElementById('someID').click()" />[/code] now guys i want some kind of thing : when you directly click on … | |
Hello, this may not be the correct forum but I'll start here. I have a system that retrieves information from a database. I want to have some of that information hidden until a user checks a box to display it. The script is here: [code] <script type="text/javascript" language="JavaScript"> function HidePart(d) … | |
here i have small issue. pls sort it out 4 me soon n be thankful 4 u [code=html]<div id="div1"> <input type="radio" name="radio" id="radio" value="150" onclick="return displayCost(this.value);" /> </div> <div id="div2"> <select name="select2" size="1" id="select2" onchange="return calculateCost(this.value);"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> </select>Pages </div>[/code] here there is no submit button or form. … | |
I have a javascript calendar, It is working fine, I have set all the styles, but have now realised that it displays in american date format ie Month Day Year I want it to display in European Format ie Day Month Year I was hoping there would be a way … | |
Hi all, I'm not overly proficient at Javascript, but have fumbled my way through some tutorials to come up with the following code to create a tab mechanism. It works perfectly in Firefox, Safari, Chrome and IE8. However, in IE6 and IE7 it fails to operate as of the 'for … | |
Hello Daniweb Community, I recently visited the Runescape.com website as per requested by a friend, and noticed there advertisements. They have a small box with a ? that once clicked opens a new window specifying the ad number. How do you do this? Sorry, if it isn't created with javascript. … | |
I am a new JavaScript user. My teacher told me to display my name using javaScript i solvd it using (document.write) command. and then saving it in(.HTML) format.Now my teacher told me to do the above problm using an external .js file. Plz someone help me to solv this problem. … | |
hi guys, i have a javascript application which compares two xml files, to show that comparison i load two files on two iframes and when user click on node(i rendered the nodes to span elements) i run a comparison function, the problem is i want to disable onclick event of … | |
Hi I built a html page with a single button which suppose to open new window which shows XML file... I want to disable right click mouse in the "new window" which is being opened after button hit... I do know how to disable the right click inside an ordinary … | |
Hi, One of our customer has following requirement: When user login to web site, some key should be added to client side registry and when he logs off, then that key should be deleted from registry. I know that editing client side registry from server side is not safe but … | |
Hi. I am just learning javascript and am making a website for my friend's photography. I've got a working slide show now where you can click next or previous to display image after image in sequence. I followed this tutorial: [url]http://www.webmonkey.com/tutorial/Make_a_JavaScript_Slideshow[/url] Now I would like to also display a caption … | |
Hi, i'm trying to use the divviewer image viewer as found here - [url]http://www.javascriptkit.com/script/script2/divviewer.shtml[/url] but i cant seem to get it to work properly, as seen here - [url]www.ryanscarry.com/port_digiart/photo_retouch/models/rebecca_burgess/Copy_of_portfolio_photo_rebeccaburgess.htm[/url] any ideas please? Thanks | |
I have this gallery that loops through images in a folder. But you have to set what images. Is there a way that I can make it loop though as many images that are in this folder maybe using a for loop or something. [code] var mygallery = new simpleGallery({ … | |
Hi I have made a page thats makes an AJAX call to the server gets the time and displays it. In the OPEN method i have set req.open("GET","/timerProg.cgi?param1="+new date(),false); I have set the last parameter as false as i am expecting a synchronous request so that time displayed should be … | |
I am designing a site with a javascript login that leads you to a flash actionscript site. What language would I be looking at for a database? Mysql? I can use any feedback. |
The End.