15,121 Topics

Member Avatar for
Member Avatar for PriyalRao

How to add sub menus that should appear on mouse click and should disappear on mouse click. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Blurry Menu</title> <style type="text/css"> body { background: #1a1a1a url(bg.jpg); } #blur { position: relative; top: 50px; …

Member Avatar for AleMonteiro
0
676
Member Avatar for schoolboy2010

I have this script that is supposed to check if a number the user guesses is the same as the randomly generated number. Problem is that the random number generated at the start of the program keeps on changing everytime I click on the "Check if I'm right" button, the …

Member Avatar for schoolboy2010
0
218
Member Avatar for AngelSword

Hi guys I have some questions about this code: This is a contact form “template”, but I’m totally nob on this matter and I want to know how I can activate the button of send to send all the info to my email address and also how can I change …

Member Avatar for pritaeas
0
151
Member Avatar for luweegee

Hello Guys! I'm looking for a javascript that will expand the list and collapsing of this menu... [CODE] <ul id="menu"> <li>Menu Item 1 <ol> <li><a href="#">Sub Item 1.1</a></li> <li><a href="#">Sub Item 1.2</a></li> <li><a href="#">Sub Item 1.3</a></li> </ol> </li> </ul>[/CODE]

Member Avatar for AleMonteiro
0
349
Member Avatar for hindu times

Hi there, I'm working on someone else's site, and I need to add something to their form to make sure that the email address people enter is the correct format (i.e. it has a @ sign and a "."). It currently only checks if there is anything in the field …

Member Avatar for MeSampath
0
151
Member Avatar for domh87

Hi, I am building a site and i need to move the contents from one form to another on a different page. The code i have used worked fine when i was testing, but since i put it on my live site i get syntax errors which i think is …

Member Avatar for Airshow
0
145
Member Avatar for stanley87

Hi,pleasure to meet you all.I wanna to ask how to write a javascript code to connect with php api authentication located at my server(eg. [url]www.mydomain.com/api/index.php[/url]). 1.I wanna put a javascript code to call the api authentication function at my website server so that other people can access through the api …

Member Avatar for Stefano Mtangoo
0
352
Member Avatar for theighost

Hello, I have a huge issue with firefox and some versions of IE. I have a flash embedded into HTML and at some action in the flash, a javascript is called that changes the CSS properties of the div containing the flash (postion, from relative to fixed) the problem is, …

Member Avatar for theighost
0
159
Member Avatar for dennisx

hi this is my first time posting i want to be able to view images using javascript and html the images are being recovered from a folder using a php script and passed on to the javascript unfortunately the image does not display on the html file but it displays …

0
39
Member Avatar for FutureDev86

I am just toying around trying to learn javascript. I find it pretty neat. I am writing this code and I have been racking my brain for a while now. I know it's probably pretty obvious, but what am I doing wrong here? Thanks in advance! [CODE] function chooseGame() { …

Member Avatar for as.bhanuprakash
0
88
Member Avatar for AODfan

Below is my program that I have so far. I am having trouble trying to figure how to get my passcheck function to check and make sure what is entered into the password and password confirmation fields match before it submits the validate function giving an alert. The other thing …

0
64
Member Avatar for Heinz Stapff

OK. My 'logincontainer is hard coded HTML in the index.html page and is shown when a 'placeorder' button is clicked. The client enters their e-mail address in the only input visible and javascript addevent onchange checks to see if it is a valid e-mail or not. Above the input id …

Member Avatar for Heinz Stapff
0
195
Member Avatar for cskinittest

hi Iam using following script for time count, my Quiz project <script type="text/javascript"> var javascript_countdown = function () { var time_left = 10; //number of seconds for countdown var keep_counting = 1; function countdown() { if(time_left < 2) { keep_counting = 0; } time_left = time_left - 1; } function …

Member Avatar for cskinittest
0
161
Member Avatar for jemz

Hi, I need some help in making the login like the daniweb...How am i going to do this that when i click the login it will show the div and the background will turns to gray.just like the daniweb...I am not quite good in javascript i am still studying on …

Member Avatar for jemz
0
99
Member Avatar for tozenter

Hi, I'm using a javascript function to toggle and display only 1 div at a time. In this case, I have 3 divs as toggle buttons and 3 divs to show content (which belong to those 3 buttons). My problem is these 3 divs (divs with class .linkBox) that act …

Member Avatar for MartinRinehart
0
217
Member Avatar for Roancho khan

Hello, I'm wondering if anyone has an example or can guide me on how to position selected item automatically WITHOUT SCROLLING DOWN. Your help is greatly appreciated.

Member Avatar for MartinRinehart
0
66
Member Avatar for Roancho khan

Hello, I'm wondering if anyone has an example or can guide me on how to position selected item automatically WITHOUT SCROLLING DOWN using C# Your help is greatly appreciated.

Member Avatar for MartinRinehart
0
61
Member Avatar for saad_sinpk

can u guys help me out i have make one form and i want that if i click on text around radio it select radio here is my form code [CODE]<form name="myForm" action="join.php" method="post" id="joinPool" name="insert" > <input type="hidden" value="" name="event_id" > <input type="hidden" value="survivor" name="game_type" > <input type="hidden" value="38" …

Member Avatar for super9876
0
113
Member Avatar for thenajsays

I'm having an issue with prototype... I have the following code that I want to execute: [CODE]Event.observe(window, 'load', function(){ $('mesTour1').hide(); $('mesTour2').hide(); $('mesTour3').hide(); $('mesTour4').hide(); $('mesTour1').appear().delay(0.5); $('cancelTour').observe('click', function(){ $('mesTour1').fade(); }); });[/CODE] the very first time it's loaded, it doesn't work, but if the page is refreshed, it works perfectly. is there something …

Member Avatar for super9876
0
103
Member Avatar for itisnot_me

ok so i am using jquery ajax to send post data to the php page to get processed. since im using a textarea with an editor on it i have to call the content like so var content = $('#pagecontent').val(); then post it through to the php page. which works …

Member Avatar for itisnot_me
0
133
Member Avatar for cornedor

Hello I have converted a ogg video to WebM using VLC Player. If i embed my video's it doesnt work in firefox. Firefox tries to use the WebM format. But for some reason it isnt working. The video: [url]http://corne.testingserver.nl/school/weer/ot/assets/weather.webm[/url] My code: [CODE]<video id="vbg_video"> <source src="assets/weather.webm" type="video/webm"> <source src="assets/weather.ogv" type="video/ogg"> <source …

0
105
Member Avatar for Coyx

Hi All, Just a quick one, My code (Below) works in Internet Explorer, but not in Chrome, Safari or Mozilla Firefox. Not sure why, but would it be possible for someone to point me in the right direction? Thanks! Code attached; [CODE=Javascript]<script language="javascript"> function formAction(flag) { switch (flag){ case "create": …

Member Avatar for Coyx
0
452
Member Avatar for stanley87

Hi,morning guys. I want to ask anybody know to write javascript to deal with the authentication API key of the php. My condition is like that: 1. i will provide the key to other site owner which already registed at my website. 2. then i want to write a javascript …

Member Avatar for pritaeas
0
121
Member Avatar for PriyalRao

I have code for moving boxes but it have slider to control speed and tilt of boxes. I want to remove these sliders without stopping auto move effect. Can anybody convert this code to simplest? Please help Thanks in advance. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html …

Member Avatar for PriyalRao
0
258
Member Avatar for dd2308

hello, I m trying to check if user has selected at least one checkbox and give an alert for select atleast one. the checkbox in the forms are dynamics depends up on data received from database for ex. user has to select at least one customer to process ahead . …

Member Avatar for Troy III
0
295
Member Avatar for morrisproject

I am trying to use javascript to validate text boxes on my form. I am currently using this code: [CODE]<script type="text/javascript"> function validate_form (){ var myTextField = document.getElementById('Motor_Temperature'); if(myTextField.value == "") alert("Please fill in Motor Temperature") return false;} else { return true; } </script> </head>[/CODE] But i keep getting an …

Member Avatar for jmichae3
0
146
Member Avatar for louie540

Ok well I have a DIV menu bar that I want to stretch 100% in height. It worked perfectly fine until I added the XHTML doctype. So I tried absolute positioning which worked but then my other divs started overlapping them. So I want to know if there is any …

Member Avatar for Troy III
0
209
Member Avatar for smartness

I found something here, but I'm not good at javascript, and i don't know which part of the code is the right! I need only for Checkboxes! [CODE]http://www.codingforums.com/showthread.php?t=11165[/CODE] I need something like: [B]onclick="check_if_at_least_one_is_selected()"[/B] :P there is only one <form></form> and all checkboxes are same type...

Member Avatar for Troy III
0
3K
Member Avatar for Siberian

When you fill out the [URL="http://www.thecreativesheep.ca/construction/sheepageb.htm"]form field[/URL] in IE 7/8/9 and try to edit a previous form field the cursor flicks between the fields. This problem doesn't appear in any other browser, I hope I was understood.

Member Avatar for Siberian
0
166
Member Avatar for GeekDude

Hi JavaGeeks, i am trying to get context path of my Applcation. But it is showing errors in that. Can you please mention the way how to get context path in javascript functions.

Member Avatar for Troy III
0
5K

The End.