20,316 Topics
I would like to create a scrolling combo box. By which I mean. [code] <select> <option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> </select> [/code] Should appear as just 1 option (so maybe size="1') and then once clicked it expands with the options with a scrollbar which only 3 options shown and …
Im using A css rule selection script to change background images. It works but theres an annoying problem. when the user sets the image they want, its changed instantly (dynamically written to the existing stylesheet), however when you reload the page the default background image is shown (the one actually …
I'm building a website for a school project and I designed a cool website that i wanted to integrate a 'feature content glider' like the one from the page below. [URL="http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm"]http://www.dynamicdrive.com/dynamicindex17/featuredcontentglider.htm[/URL] I edited the glider and made it's background transparent. the problem is that if I select more than a …
hi i design websit to view images i want when admin click on the image image will be deleted how i do that ?? this my code [code] <head> <script type="text/javascript" > function vvvv($id,$im) { [COLOR="Red"]if(confirm("are you sure want delet this imagej?")); $b=true if($b) { <?php mysql_connect ('localhost', 'root'); mysql_select_db("pickapic"); …
Hi I was using PHP sessions to create a sticky form but a button was needed to reload the page. I am new to Java and I have decided to do away with the button. Using onChange="javascript:OnChange(this) to cause the page to reload once a selection is made from a …
Dear all, First of all, apologize me for asking you this very dumb question. i am totally newcomer to javascripts and have no prior knowledge on it at all. but i am keen to learn. This is my problem : i have created my external javascripts named image.js and save …
Voting Server provides remotely-hosted interactive services/widgets which can be added to your website by any webmaster (no server-side installation required, no matter which hosting plan or server software is used). Voting Server powerful toolbox allows upgrading your web pages by simple cut-and-pasting small JS/CSS code snippets. Voting Server provides following …
Could Somebody Please Write Me a cookie For the following code? I tried several Times But Nothing worked, I just dont understand cookie functions. I want a users selection to remain indefinately until they change it, at which point a new cookie is written. Please share your skill? <!-- Background …
Hi everyone, I am using the for loop function. I feel that my code is correct but something is wrong. I check for brackets and semicolon and they are in the right places and the right amount. Can someone look at my code and let me know why it is …
I am trying to write a piece of code that will search an existing array of usernames and see if the name entered by a user (which will be in a prompt box) is in that array of user names and if so then ask them for their password. I'm …
I have two selectboxes which are driven from database both select boxes references the same table, the table has three columns id, from, to ;selectboxes work ok what i want is to get the id of the selected record without refreshing the page.
Hello, I have completed a chat application using php/xml/ajax: [url]http://www.banditssoftball.org/chat/[/url] I had a function to submit messages after hitting enter. the only problem was it only worked in IE. I need one that will working in FF ect. I have tried everything i can think of and nothing works. Also, …
Hi I'm having problem with some radiobuttons. On this page I have two groups of radiobuttons and four textboxes. The code works fine with the first set of radiobuttons, but when I try to add code for the second group it doesn't work.... Here's the code. [code]<!DOCTYPE html PUBLIC "-//W3C//DTD …
Please clear your browser cache to force a redownload of the JavaScript that powers the dropdown menu. A bunch of changes were made.
Hi again. I'm trying to recreate the digital timer in Minesweeper: Top right ----- [url]http://www.uberreview.com/wp-content/uploads/506x363-minesweeper.jpg[/url] 000 -> 002 -> ... -> 009 -> 010 -> etc... I couldn't think of an easier way to do it except to create an Icon for each number and match it to it's corresponding …
Hi, I'm a PHP ultra newbie. I downloaded a nice little script that uses PHP and an external javascript file to create a "pop-up" dynamic layer in a web page. The way it's configured, all the info sits in the main page in a <div> layer that's hidden until called …
Hey guys, I am trying to make a drop down menu that gives options such as (right, left, center) so that I can choose one of those and align the text in one of my layers. I am having trouble figuring out how to make this work so if someone …
I'm having a bit of a problem getting the digital traditional flash and contact info to show when i click on the animated slide menu.... i think its my style's and body and how im calling them from the java script, in the body tag... a little guidance would be …
I have a normal html document with an iframe pointed to a .php document (with links to other php documents). I would like the iframe height an/or width to change when page in the iframe changes. For example the initial page would generate an iframe height/width of 800/600. When you …
Ok so I used Adobe Photoshop to generate my Photo Gallery Code, the default index.html page it creates works fine when i upload it to my site but as soon as I add my sites layout around the code it does not seem to work, can anyone please help me. …
in my add form when open the form first move control to the first text box in my form for that iam using the following one. <body OnLoad="document.forms[0].elements[0].focus();"> but if in my form first is listbox how to move control to the list box
I have one that seems to be hard to find info on (with good reason). I want to hook into Firefox and IE and detect when a user inputs a password and username, prompt the user, and then get that username/password combination, and the url of the website that it …
Hi, is there anyone whose familiar with ePerformance page in PeopleSoft? I need to make the left navigation and header fixed when scrolling up or down. Is there a javascript or some sort of a code that is applicable in PeopleSoft to make this functionality possible? Thanks....
Hi, I'm currently applying the autosave code i've got on the internet unfortunately I can't make it work. Below is the error encountered as well as the code being used. Error Encountered: Line: 4568 Char: 21 Error: Object Expected Code being used: [code] <script type="text/javascript"> pollingInterval = 5000; threadLock = …
Any help would be appreciated.
Hi all! I need a code,that would recognize a specific word within a string and,for example,an alert would be displayed,could you help me,please
Hello, I'm stuck and would really like some help. I have a horizontal tab structure with subtabs. Right now the main tabs are activated onclick and they show their respective subtabs. I would like to add the same functionality to the subtabs so that when they are clicked, the style …
Hello, I created two classes, one extends JButton and the other extends JPanel. In both cases, both overrides the paint method. Basically I'm extending JPanel so I can place an image as the back ground. The issue I'm having is that every time the button is drawn, if it's drawn …
Hi this is scorpionz The reason of this thread is that: I am making a Drag Div by mouse, and showing its position to the browser in (x,y ) coordinates, like when user click the box and drag it to some other place, then it shows the position of that …
hi all i want to know how to print some thing which is beyond the boundaries of a page. for example i have a page in php which generates identity cards of certain number of students what i want is restrict the number of ids in one page to 4 …
Since no one is able to help me textfield validation in firefox. I will start again from my roots and hopefully come up with a solution! Now there are several ways of validating text fields using javascript. I would like to know ALL of them and ill test which work …
I keep getting sent back and forth between the java and php forums so I'm not sure which language would be best for this anymore... Here's my original question: "I have a normal html document with an iframe pointed to a .php document (with links to other php documents). I …
Hi I am working on array and made some good improvement into my code. Now I am just having one problem. I want the number to display in my text box area starting from 0 to 1000 I know how to do it for alert but not to display in …
I am using html and javascript for a simple application. I made a dropdown list on one page say "homepage.html" I want that the value selected from the dropdown be passed to a new page say "newpage.html" and appear in a text area there. I don't want to use php …
I have deisgned a site. [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/home.html[/url] and am trying to get my google map sorted. [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/index.php[/url]. All the markers have disserpeared after i played about with my java script functions file [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/map_functions.js[/url] and the php database [url]http://intweb.tech.bcuc.ac.uk/~20318219/project/map_data.php[/url]. Im sure its something really simple like i have left pout a comma …
i am new to ajax technology but i am working with ajax on my site. i am having a problem with a ajax edit form element in place when i try to implement it in asp vbscript. hopefully someone here can help me in detailed. what i need to do …
So, a couple of my pages only work correctly in FF (I don't know about IE), I need it mainly to work in Safari. Please let me know if you spot anything in the script that would be incompatible...I'm new to javascript and Ajax and I didn't initially write this …
i need to write a piece of code so that when the counter reaches 500 hundred the user is directed to a limit hit page. or if it is under 500 hundred it directs the user to the page they wanted to go to. i have used if statement to …
I am a confused student who isn't sure what he should or shouldn't take in university. I love programming from what I have done; i know a good portion of php/html/sql/javascript. I really enjoy it more than other stuff like messing around with hardware, networking, security etc. As of right …
Could someone tell me how to make an iframe resize based on the content without having to refresh the parent frame. I have found some things that require java script in the frame document however i'm not sure how to integrate this, as the document my iframe links to is …
hi i want refresh the jsp page every seconds using AJAX in script. any one have a code for that.
Can anyone help me how to populate dropdown box dynamically. i have two dropdownboxes based on the value which i select in first dropdown the corresponding values in second drop down box has to come. i have to get both dropdown values from database. the first dropdown contains Products assume …
[code=javascript] <script language="JavaScript"> <!-- function cek(){ counter=0; for(i=1;i<10;i++){ // i=1; if(document.getElementById('a'+i).checked==true){ //alert('aaddd'); counter++; } } if(counter==2){ //alert('adadeh'); for(i=1;i<=10;i++){ if(document.getElementById('a'+i).checked==true){ continue; }else{ document.getElementById('a'+i).disabled=true; } } }/* }else{ for(i=1;i<=9;i++){ document.getElementById('a'+i).disabled=false; } }*/ } //--> </script>[/code] [code=html] <pre> <form NAME="formnya" action="script1.html" method="post"> 1.<input type="checkbox" id="a1" name="pilihan[]" value="satu" onclick="cek()">satu 2.<input type="checkbox" id="a2" name="pilihan[]" value="dua" …
Hi everyone I am new to javascript arrays and understand it just a little but need some help. I have created an empty array name Numbers. I will use Numbers for all of my functions, therefore, I made it a global variable. Then I created a function named FillArray. The …
Hi everyone, I am proud of myself, I am finally finish. It took me too weeks working with this day and night, but I am finally finish. The only thing is that I have a bug in my code. I have a getbyelement section that has the visibility to be …
Hey guys, I am making a website where I have a panel of colors to choose from and it allows the user to click on a layer on the page and then click on the color they wish to change that layer to. Everything works fine and the color changes, …
I have done this in IE but unable to in firefox. So can someone generate a simple piece of code using javascript that will allow me to PHYSICALLY ONLY enter Numbers\Letters\Etc. Not a message popping up once the form is submitted stating that I have numbers where letters should be …
how to use pop up menu for giving the msg for confirming del command from user. can u provide me d code
I have a web poll that I would like my visitors to only take once. I think I understand the logic but don't know where to start with the code. Here is what I am thinking: [LIST=1] [*]User clicks on a link to get to the form [*]A cookie is …
I have javascript and ALL of it works in IE but in FF NONE of it works at all. Anything I should be aware of in general? Most are based on onClick events. Thanks, Regards X.
The End.