17,114 Topics

Member Avatar for
Member Avatar for jonow

This also involves (what i think) advance flash knowledge (or not). Look at this website: [url]http://www.navigaya.com/main.php[/url] you see it has a music player as well as many other things. Can someone make something that is just the music player part? I know it woudl take a while but it woudl …

Member Avatar for jonow
0
89
Member Avatar for gezzalou

Hi, I am having trouble getting some javascript code to work correctly in mozilla. Shows fine in IE but only works in mozilla one something is changed. The code is simple as i am a beginner at this. Please see code below. Thanks in advance [code=JavaScript]<script language="javascript" type="text/javascript"> function ChangeQ2() …

Member Avatar for Airshow
0
131
Member Avatar for servis

i want to validate whether the checkbox is empty or not, if it is empty, the alert box show message, but the following code is not working... [ICODE] function validate(form) { with(form) { if(agreement.value.checked==false) { alert("Please commit the agreement to continue."); agreement.focus(); return false; } } [/ICODE] Secondly, i want …

Member Avatar for servis
0
294
Member Avatar for Dabeam

I want to use a for loop to display * ** *** in javasript does anybody know how?

Member Avatar for Airshow
0
68
Member Avatar for qaokpl

I advertise on the internet and they want me to link my webpage to their webpage with an dhtml code...Then they will list my website on their page..Thanks for all your help.I use geo cities page builder for my webpage.

Member Avatar for Airshow
0
76
Member Avatar for Dabeam

How do i use a function to find the average of the values in an array of numbers passed as argument to a function.(using java script) thank you for your help...

Member Avatar for Airshow
0
106
Member Avatar for STUDENT#101

please help with this program it outputs and stores the last data added into the array(replaces all other data with the last data that was stored in the array). [CODE]<html> <head> <script language="javascript"> function Book() { this.title="not yet selected"; this.isb="" this.copies=0; this.price=0.00; } var obj=new Book(); function begining() { //alert("the …

Member Avatar for Airshow
0
124
Member Avatar for goodluck4287

I've searched around, and the closest I have found is at [URL="http://www.ajaxim.com/"]AJAX IM.[/URL] Seems nice, and has pretty good functionality. I don't know if it has a sitewide setup, and I am wondering if there is a solution that might have the same style as facebook by having a small …

0
57
Member Avatar for thenamenoonehas

Hi everyone, Im very new to the ajax world and have been looking at using jquery for most of my Ajax work. However I am trying figure out how i would poppulate a select box with an ajax call. Would anyone have a super simple function or script that will …

Member Avatar for essential
0
105
Member Avatar for efuzone

hello all users, i hope you all are fine Allah bless you always. i come here for some little help. actually i have made website in html and simple php pages. its ok for me but i want to add there one ajax code which is like before page open …

Member Avatar for jakesee
0
71
Member Avatar for Dabeam

I want to use a for loop to display * ** *** in javasript does anybody know how?

Member Avatar for Airshow
0
93
Member Avatar for zdravim

Hello, I'd like to ask you guys for an advice. Got this function to request some sentences from database (using php file with mysql_query(SELECT *...) stuff, then echoing the result and passing as a parameter to function displaySent(oXHR.responseText, select_sent) - which displays this text using some parsing procedure into the …

0
39
Member Avatar for gagan22

Hi Everyone, I am using javascript code for removing some records. When i am click on delete selected button. I want this should demand one confirm button in which i want if we click OK in confirm box then the record should be removed from database and if i will …

Member Avatar for mail2saion
0
148
Member Avatar for ed7171

I would like to find out how to fix drop down menu over flash when the flash content brought by the java/script below into iframe? You may see what I am talking about here : [url]http://67.220.225.130/~ktaelot/#[/url] Here is the script: [CODE=javascript]<script type="text/javascript"> var fo = new SWFObject("ext/viewer.swf", "viewer", "100%", "100%", …

Member Avatar for ed7171
0
109
Member Avatar for nanna

hi, I have 3 inputs for quantities to be entered by user, then when user enters a quantity , I should get 2 results ; one in the first add-on total input textfield which is the quantity entered by user multiply by the fixed price for the first add-on (eg.3.75). …

Member Avatar for essential
0
126
Member Avatar for nrsbr

Hi I have a problem with my javascript the functions are not working, and I have a little knowledge about JScript. Firstly, the user will select from the list box a designer name, then a flower, and then a cake. The total will come up when the user clicks on …

Member Avatar for essential
0
336
Member Avatar for NinjaLink

I am doing a small program using a function to print out the real root or imaginary root. The problem is, it only prints out what the numbers that the user input. However, it does not print out the rest. For Example: It prints out this: a = 4 b …

Member Avatar for Fungus1487
0
128
Member Avatar for laural4705

Hi there, I found this great code that allows for chained selects with php and ajax. I have 2 boxes working great, and almost 3 - that is where I have a problem. Here is the code: [CODE] var ajax = new Array(); function getAgencyList(sel) { var bargainingUnit = sel.options[sel.selectedIndex].value; …

0
94
Member Avatar for Stefano Mtangoo

Hi all, I have MP3 player from [url]http://www.premiumbeat.com/flash_resources/free_flash_music_player/multiple_tracks_mp3_player_menu.php[/url] and I want to put it in my page. I want it to appear in every page. I'm pretty new to many PHP stuffs and with PHP page I judt do simple include statement. How do I do that? Here is their …

Member Avatar for Stefano Mtangoo
0
110
Member Avatar for sivak

i am using javascript for validations purpose...i want to know all the functions in javascript ... can any one tell me is there any link to free download javascript book....

Member Avatar for peter_budo
0
89
Member Avatar for kurraboy

Hi there, I have a problem in FireFox, whereby a Javascript function only works if I make the first line of code an alert() statement. If I take out the alert() statement, the following code doesn't work. Any ideas ? The alert() statement I am talking about, is the first …

Member Avatar for essential
0
136
Member Avatar for Rustynails

Hey there everyone, hoping I could get a little insight on my problem. When calling my function friend_list(), I'm getting an error that I do not understand nor know how to fix. Here is the code.. [code] function AsyncRequest(){ this.check=function(){ var xmlHttp=null; try{xmlHttp=new XMLHttpRequest();} catch(e){ try{xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");} catch(e){xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");} } …

Member Avatar for ShawnCplus
0
107
Member Avatar for veledrom

Hi, When try to validate the textbox generated by innerHTML, it returns "Undefined" for the textbox. Therefore, i cannot validate it. Thanks [code] <html> <head> <script type="text/javascript"> function validateForm () { if (document.form1.textContactname.value.length == 0) { alert ("ERROR"); return false; } return true; } function createInvoice () { document.getElementById("hiddenPayment").innerHTML = …

Member Avatar for veledrom
0
131
Member Avatar for yassar

Hi, I am trying to create a playlist using JCarousel. I am trying to create playlists changing with tabs. When the page loads for the first time playlist works correctly, but when I click on a tab and change the contents of the playlist when i scroll playlist goes out …

0
76
Member Avatar for mansterdom

I'm attempting to read in a user's weightlifting history from a database using a php file(viewworkout.php) to first run the query and then a js file to get the results from the query. the script below is all i have so far, and it [code] <script type="text/javascript"> <?php include("viewworkout.php"); echo …

Member Avatar for essential
0
103
Member Avatar for h2onet

I am trying to display/hide different div tags when a checkbox is checked and when a California is selected as a drop-down value. I have it working when the check-box is selected and choosing the drop-down value, but not when the drop-down is selected and clicking the check-box. I hope …

Member Avatar for h2onet
0
108
Member Avatar for sivak

i am using javascript for validations......i want to know all the function in javascript ...can any one tell me the link for free download javascript book plz

Member Avatar for Ramy Mahrous
0
55
Member Avatar for Capsi

Hi, I am using prefunction attribute of autocomplete. The javascript gets executed at the time of page load. But the requirement is to get executed just before displaying the values retrieved from ajax autocomplete. Plz reply..

Member Avatar for wireless2007
0
68
Member Avatar for millsy007

I have a menu div that I have styled so that is always visible on my page. When a user clicks a menu item they are taken to that section of that page using an anchor withing the page but the menu remains visible/constant to the left of the screen …

Member Avatar for essential
0
163
Member Avatar for HonorPC

Hello, I am looking for a user.js file to use with Opera to fix a YouTube issue. When you log into YouTube and click the yellow "Upload" button, you are brought to [url]http://www.youtube.com/my_videos_upload[/url], where the "Upload Video" button is nonfunctional in Opera unless the page is scrolled or reloaded. If …

0
47
Member Avatar for dnsoft

Hi, I use a code to display the counter result and to refresh that value I actually refresh all the page, I'd like to refresh the script only without refreshing the full page but I don't know how to modify the code to make it work. Here's the actual code …

Member Avatar for hitdrumhard
0
113
Member Avatar for jonpb

Hello, I looked all over the forums here but couldn't find anything on this: I'd like to have a js random image (1 out of 4) load each time a user visits my page. Along with that image, I'd like a specific quote and sub heading (text) to appear -the …

Member Avatar for essential
0
284
Member Avatar for EJM

Hi... Can some one point out as to why my code does not work? I've created some cookies like this: [code] var gotCookies = get_cookie(cookie_name); var exdate = new Date(); exdate.setDate(exdate.getDate()+10); if(gotCookies != null) { //var gotCookie = document.cookie.split("; "); //var old_selection = gotCookie[0].split(", "); var new_selection = cbId; document.cookie …

Member Avatar for essential
0
84
Member Avatar for rajeesh_rsn

Hi I had 2 div layers in my php page. One of them is dragable ( suppose div B ). I need to fade out all the items except div B. Because of that I can view the div A clearly inside div B. Please help me with an advise …

0
64
Member Avatar for praveen_dusari

hi all, when i want delete items i will show a alert to users like are you sure you want delete .now i want a X symbol or danger symbol in that alert box ,i dont have any idea how to do this any ideas! thank you

Member Avatar for praveen_dusari
0
64
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
114
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
145
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
45
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
90
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
166
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
71
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
123
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
440
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
164
Member Avatar for cobalt-rose

Hello all, i am having great difficulty in trying to get the job_id variable from the table that is displayed that will be passed into the next page and profile page information will be selected where he job_id (from previous page) is equal to the job_id of the profile. In …

Member Avatar for BzzBee
0
131
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
274
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
101
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
50
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
148
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
72

The End.