15,127 Topics

Member Avatar for
Member Avatar for Designer_101

Hi I have this login box that drops down once clicked. I would like it so if the user doesnt click one of the fields within lets say 8 seconds then the box minimizes automatically. Here is what I have: [CODE] <script language="javascript"> function makevisible() { document.getElementById("dropform").style.display="block"; setTimeout("minimize()",4000); } function …

Member Avatar for Designer_101
0
112
Member Avatar for newboi

Hello, I have a form inside a form. The problem is that IE does not submit the parent form for some reason... It works very well in FF and chrome see [url="http://www.daniweb.com/forums/thread110758.html"]same problem[/url] Any help appreciated.

Member Avatar for ~s.o.s~
0
143
Member Avatar for lolodede

i have external javascript [code=JavaScript]var titles = new Array(); titles[0] = "Mr"; titles[1] = "Mrs"; titles[2] = "Miss"; titles[3] = "Ms"; titles[4] = "Dr"; var courseNum = new Array(); //this array is in parallel with the courseName array. courseNum[0] = "3503"; courseNum[1] = "3508"; courseNum[2] = "3633"; courseNum[3] = "3639"; …

0
44
Member Avatar for danielpataki

Hi Everyone! I want to make a nice floating bar at the bottom of the screen, which hovers about 15px from the bottom. I am doing this to make a site look good in small and big resolutions. The minimum height for the bar to hover is 600px about, if …

Member Avatar for essential
0
87
Member Avatar for konczuras

Hello, I'm new to javascript, and need some help, why the following code refuses to do anything. [CODE]<html> <head> <style type="text/css"> .btn { background:URL("elemer.jpg"); width:200px; height:100px; display:block; } .btn.sfhover, .btn:hover { background-image:none; } </style> <script type="text/javascript"> sfHover = function() { var sfEls = document.getElementById(„btn”); sfEls.onmouseover=function() { this.className+=” sfhover”; sfEls.onmouseout=function() { …

Member Avatar for konczuras
0
162
Member Avatar for Theeba

Hi Everyone, I am using javascript to validate a form: [url]http://www.cultureisaweapon.org/pals/hospital/contract.html[/url] the errors show up as necessary; however, when someone does not enter a required field, and the errors show up; the form displays itself at the middle - is there any way, a function I can use, to display …

Member Avatar for essential
0
69
Member Avatar for inartistic

Hi, I have a site which lists the basic information of CDs and allows the user to click a link to see detailed information regarding each CD. I've been doing that for a long time by just putting the detailed information in a DIV and using a script to toggle …

Member Avatar for essential
0
120
Member Avatar for lordx78

[code=html] <html> <head> <script type="text/javascript"> function validateFloat() { var o = document.frmInput.txtInput; switch (isFloat(o.value)) { case true: alert(o.value + " is an float") break; case false: alert(o.value + " is not an float") } } </script> </head> <body> <form name="frmInput"> Enter something: <input name="txtInput" size="4"> <input type="button" value="Validate" onclick="validateFloat()"></input> </form> …

Member Avatar for mail2saion
0
432
Member Avatar for bimaljr

Hi I have a site in Joomla CMS. I want to redirect my old url : [QUOTE][url]http://www.brcreation.com/index.php?/Softwares/Tool-to-Convert-Files?itemid=167&mid=167[/url][/QUOTE] to : [QUOTE][url]http://www.brcreation.com/Softwares/Tool-to-Convert-Files?itemid=167&mid=167[/url][/QUOTE] As you see above, I want to remove "index.php?/" from my site url. I have created a script for this but there are some problems. It doesn't redirect to correct …

Member Avatar for essential
0
163
Member Avatar for vedmack

Hi Im trying to submit a form , which holds another form tags inside (i must do it this way) the problem is that this doesn't work on IE, while it works perfect on Firefox the button seems to have no effect on the page... its like it is not …

Member Avatar for newboi
0
270
Member Avatar for sreya.n

Hi all, i want to do pagination using jquery...I am not good in jquery but i would like to learn...so can u please send me the code... Thanx in advance

Member Avatar for sreya.n
0
99
Member Avatar for rajeesh_rsn

Hi I need to make a layer drag able in my html page. Please any one give me a tutorial for doing that please Thanks Rajeesh

Member Avatar for almostbob
0
48
Member Avatar for veledrom

Hi, Javascript doesn't work if i do this way. How can i solve it? Is that because i echo it. Thanks [code] <?php echo "<html><head> <link type=\"text/css\" rel=\"stylesheet\" href=\"cssFile.css\" /> <script type=\"text/javascript\" src=\"javascriptFile.js\"></script> </head><body>"; ?> <form name="form" action="added.php" method="post" onsubmit="return validateForm();" style="float:left"> <input type="text" name="ID" size="20" tabindex="1" /> <input type="submit" …

Member Avatar for veledrom
0
140
Member Avatar for veledrom

Hi, I have a loading bar gif to be displayed initially, until main image (1MB) is loaded in my web page. How can i do it? Thanks

Member Avatar for veledrom
0
70
Member Avatar for cwarn23

I have being trying to make a javascript code that will show different submenus depending on what was selected on the previous menu. Although my script has no bugs according to Internet Explorer it seems to not work in IE nor Crome. Can anybody see what's wrong with this code …

Member Avatar for cwarn23
0
97
Member Avatar for twistedind

Below is my javascript code. It seems to hanging up at the "var data = transport.responseText.evalJSON();" part. Here is a link to see how my html is made. [URL="http://twisted.visionsminis.com/price/compressors"]http://twisted.visionsminis.com/price/compressors[/URL] [CODE] if (!window.WAUpdater) var WAUpdater = new Object(); WAUpdater.Methods = { options: { redirectOnError: true, baseUrl: "", updateColor:'#666666', mode:"add", removeRow:null }, …

Member Avatar for kvdd
0
412
Member Avatar for amoliski

My router is stupid, and needs to be rebooted a lot. I've simplified the process down to http:192.168.1.1/restart.htm as a shortcut on my desktop. Once open, there is a JS button with the onClick command RebootDevice() If I first load the restart page, then type RebootDevice(), it reboots. Can I …

Member Avatar for almostbob
0
88
Member Avatar for Arumugams

Hi, I have a simple code which works well in I.E ,but it is not working in mozilla firefox 3.0..Why is it so. the code is as follows: [code=html] <!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>Ajax - PHP example</title> </head> …

Member Avatar for essential
0
119
Member Avatar for Andy_nexus

Hey guys, i'm fairly new to ajax, and today discovered that javascript files won't fire within an ajax loader. my problem: i've built a web application using a mixture of javascript, ajax, and html. however this is designed to go on a page that already takes a little time to …

Member Avatar for ejosiah
0
123
Member Avatar for bamboebahr

Hello everyone, i'm an IT student (first year) and i've received a task to make a website for my school (fictional ofcourse). Now i have an idea on how to make it,but after asking my teacher, he said i cant use iFrames but have to use AJAX instead. The code …

Member Avatar for bamboebahr
0
98
Member Avatar for fiorano

Hi, I have the follow script as part of a hover drop down menu : [code]<!-- var timeout = 500; var closetimer = 0; var ddmenuitem = 0; // open hidden layer function mopen(id) { // cancel close timer mcancelclosetime(); // close old layer if(ddmenuitem) ddmenuitem.style.visibility = 'hidden'; // get …

0
46
Member Avatar for sivak

write the javascript code to hide a particular label in c# .net..can any one tel me?

Member Avatar for ddanbe
0
77
Member Avatar for Potato.Head

Hi to all, I have the following problem: I have a page that includes an iframe, this iframe is dynamic (meaning that I don't know what will be its source, user can insert any URL). The problem is that are some URLs that take over all over the site, I …

Member Avatar for samarudge
0
118
Member Avatar for veledrom

Hi, I use onmouseover and out for <td> or <div> to change either backgroung image or color. However, onmouseover and out are not validated for HTML. w3scholls HTML validator doesn't validate them. How can i solve this problem? Thanks

Member Avatar for essential
0
163
Member Avatar for rm_daniweb

Hi All, Some website said the we cannot run php function in javascript because php is on server side and javascript is on client side. My code will help us to run a php function when you type something on the textbox given below. [icode] <?php function myfunction(){ $x="I love …

Member Avatar for Ezzaral
0
12K
Member Avatar for EJM

The is a two part problem, part 1. I have a (primary) DIV tag that contains a FORM inside which I have among other things checkboxes - an unspecified number. Their name attribute is the same for all. Their value is set from a DB via VbScript. I have another …

0
53
Member Avatar for vidaj

Hello I'm building my own html parser in python, and have ran into some problems. First off, I'm using python 3, so I can't use the old bundled sgmlparser, or beautiful soup and could not find windows binaries for lxml, so I'm rolling my own. It is for my master …

Member Avatar for vidaj
0
1K
Member Avatar for naash

I have attached an attachment which has drag and drop feature. The elements of rightmost column can be dropped to any of the white cells. My attachment also has NEXT button, when clicked generates next week day and dates. Now here I have added an alert option. When a name …

0
40
Member Avatar for JooClops

Hi! We have a project,to make a website in school, so one of the mandatory things is the registration form. so i can just copy from the example the teacher gave us and add some stuff, but i wanted to practice checking the form, and one of my "missions"(huh i …

Member Avatar for JooClops
0
153
Member Avatar for lolodede

i need to validate textbox to accept only integer and not more than 100 i create this fuction but i dont how to resrict numbers to be lesss than 100 only [code=JavaScript]<script type="text/javascript"> <!-- function checkNum(number) { if (isNaN(number.value) ) { alert(number.value + " is not a number. Please re-enter."); …

Member Avatar for essential
0
93

The End.