20,316 Topics
I am in a slight dilemma at the moment i'm not sure whether to go down the a+/mcse route or whether to take the CIW courses instead. I have been doing some research to try and find out about them I would appreciate any opinions you have on the CIW …
Ive been working on adding an onclick feature to my page. i have a gallery that when you click on a picture it opens to a sized window, what i would like it to then do is close if someone viewing it clicks on the image. Ive tried to artisticly …
hi all I'm having an odd problem with Javascript. I created a table with a single row and a single column (and gave all of them IDs). Then I use onclick events to pick up mouseclicks and call the function `clicked(evt)`. I know this function is getting called, and I …
I've been searching around the web since I don't have my library of books available right now -- but here's my question... can I do a purely javascript session variable without the use of PHP, ASP, or anything else? Any good resource pages on that? I just need to do …
Alright - I'm stumped. I need to get a variable from file1.html to file2.php which is called like this from file1.html: <script src="scripts/file2.php" type="text/javascript"></script> In file1.html I have the variable definition to grab the referring URL - [CODE]<script> if (document.referrer) { var referringURL = document.referrer; } else { var referringURL …
i have a popup window thats got a submit button on it. when it is clicked, i want it to close automatically.. but i dont know how.. anyone please help...
Hi there Im working on a listbox(flash component), where upon click, will display other arrays in a movie( which is also a listbox made from textfield). The second listbox suppose to contain html links, where it will open up a popup upon clicked. The problem is that whenever i click …
Everyone knows yahoo mail. When you just logged on to your account you see on the page "[B]You have 0 unread messages[/B]". I just womdered is there any way how can i find something on the page using javascript and return as variable. So what i've done is: 1. I …
ok, i need to be able to typ in one text box hit a button and the same text appear in the second text box. bu this time with quotes around it. Is this possible. :?:
Hello! I'm new here, and also beginner with php programing. i'm just starting to learn the basics, and I mean very basics. :o I have a little problem, what I want to fix on my homepage. the situation is the following: (photos.php) [URL=http://shclass.fw.hu/demo.gif]http://shclass.fw.hu/demo.gif[/URL] This is the starting point. Now, what …
[CODE] <html> <head> <title></title> <script> if(navigator.userAgent.indexOf("Firefox") != -1) { window.location = "secondLayer/indexFF.htm"; } else if(navigator.userAgent.indexOf("MSIE") != -1) { window.location = "secondLayer/indexIE.htm"; } else if(navigator.userAgent.indexOf("Netscape") != -1) { window.location = "secondLayer/indexNS.htm"; } else { window.location = "secondLayer/indexX.htm"; } </script> </head> <body> <p>Please wait while the browser redirects you...</p> </body> </html> [/CODE] …
I have tried to put a javascript slide show in my site but i cam't seem to get it to work. Here is the code for my page i have checked that all my images and folder names are correct butit still won't work Cheers for any help [CODE]<!DOCTYPE html …
Wasnt sure if this is the right place to post, but here goes anyway. You will need either IE5+, Opera 8, Firefox or a recent version of Mozilla to view this tutorial. Safari should work too, but I am guessing on that, so it would be good if someone can …
hi, im just a newbie web developer. in the page im working on with, there's a textarea and a remove button. :-| the textarea displays the records selected from checkboxes. my problem is this... :sad: i have a remove button and i want it to function this way. wen clicked, …
how can I store the value of a javascript variable in jsp session
Hello, I have a menu.jsp included in all the jsps. When I click a link in the menu it calls the respective page and the menu.jsp is also refreshed. I want to write a java script to highlight the menu link that was clicked. But since the menu jsp is …
I'm familiar with HTML and CSS, and have now started to learn PHP without running into any trouble, but I want to add Javascript to my knowledge. I tried a long time ago, and failed, for the same reason I'm failing now. Code that looks logical to me is not …
Hello! I need a script so that I can drag an object (picture) and drop it in another object (ex: basket). When I do that, I want to run an action. Do anyone know how I can do this... mabye some tutorial or code? Thanks for all answers!!!!!
Hi there... I have a page showing products records and there is a checkbox and textfield to enter order quantity for each record. When i click on the Add btn, it will check for the checked records and take in the selected products details and the order quantity and then …
Hi Is ther any open source code for Spell check in java script or java so we can integrate with html or jsp pages for spell check of TextArea on the form Thanks & Regards Prasanna
Is there a way using javascript to change the display of a form after it as been rendered? I won’t to remove a checkbox on a form if a certain condition is true. Since this case is not the norm, the default rendering displays the checkbox even though it’s not …
I wrote this little code segment to illustrate the idea of what I want. I'd like to be able to automatically scroll the DIV to the bottom when you add stuff to it. [code] <html> <head> <title>Auto Scrolling Div</title> <head> <script type="text/javascript"> <!-- function addStuff() { var stuff = document.getElementById('foo').value; …
I am validating a html form. On submit I have a functions like the one below. I have seen examples like this, which is why I tried using “with
I have a popup calendar on my page. The calendar works fine on Windows IE and Netscape. It even works fine on Mac Netscape browser. But it fails on MAC IE 5.2. The error I get is "this.element.style" is not an object. I am attaching the js file. Can anyone …
Hello, I have this code: [code]<select name="product" class="buy"> <option value="products.php" selected>Select Term</option> <option value="products.php?item=1&term=1">2 Month</option> <option value="products.php?item=1&term=3">3 Months</option> <option value="products.php?item=1&term=6">4 Months</option> <option value="products.php?item=1&term=12">5 Months </option> </select>[/code] I need to make it so as soon as you click that select box, it loads the url (value)... if anyone can help me …
I have created a progress bar .The Progress bar works fine. The only issue is that it flickers. I am not able to find out why that is happeneing. Can anyone tell me what is wrong in my code.Below is my code. <html> <script> var secondWindow = false; function ProgressBar(sLength) …
Hi to all, There is a problem with the datagrid in Mozilla. Datagrid is showing images in Internet Explorer but not in Mozilla. I dont know why. Can anybody give a solution to this problem as soon as possible.
Hello everyone. I have a page that echos success on a successful login, and I want it to then sleep(2); and then redirect to another page. Unfortunately and obviously, the headers are already sent if I'm in the body of the page. So, is there a way (with any language, …
HI Problem with cookies i create a cookie HttpCookie OneCookie= new HttpCookie("A") OneCookie.Values.Add OneCookie.Values.Add("Email",Request.QueryString["email"]); OneCookie.Domain="MyDomain"; DateTime dtNow = DateTime.Now; OneCookie.Expires=dtNow.AddYears(2); Response.Cookies.Add(OneCookie); if (Request.Cookies["a"] != null) lbErrorMessage.Text=Request.Cookies["a"].Value; else lbErrorMessage.Text="Error"; and to check in the client <script language=javascript> var favorite = getCookie('a'); function getCookie (name) { var dcookie = document.cookie; var cname …
I have a code to open new window and display a progress bar .The code works fine in I.E and Netscape4.7 but in Netscape 7.2 it opens a new window and displays nothing in it . Below is my code. Can you please tell me what is wrong in my …
Can anyone tell me why I keep getting this error when I try to open this page in Internet Explorer. It is an Intranet, so I can't actually give the site to view, but here is the code. The error keeps referring to line 20, I have looked through for …
Hello, I have a javascript code (a part of it is in php) that populates a pull-down menu. It works perfectly well with Explorer, Netscape and Firefox under Windows. But impossible to make it work with Explorer or Safari under Mac!!! Is javascript different between windows and mac? Here's the …
How can i get the floating layer to stop scrolling at a certain point on the page so that it does not 'run into' my other elements on the top and bottom of the page. If you will look at my page: [url]http://increased-online-traffic.com/Big-Search-Engine-List-A.asp[/url] , you can see exactly what i …
hi, 1) how can a user close a tab page including the tab after viewing it?? 2) how do i disallow the user from opening the 2 or more of the tab page? (my tab page is opened by button click) i dont want to disable the button after opening …
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <title>Verses Inc.</title> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function Login(){ var done=0; var username=document.login.username.value; username=username.toLowerCase(); var password=document.login.password.value; password=password.toLowerCase(); if (username=="username" && password=="password") { window.location="page1.html"; done=1; } if (username=="member2" && password=="password2") { window.location="page2.html"; done=1; } if (username=="member3" && password=="password3") { window.location="page3.html"; done=1; } if …
Hello, I have a javascript code (a part of it is in php) that populates a pull-down menu. It works perfectly well with Explorer, Netscape and Firefox under Windows. But impossible to make it work with Explorer or Safari under Mac!!! Is javascript different between windows and mac? Here's the …
Well i should say i dont even kno JS and want to learn it. Can some one tell me some good books to learn JS for a newb person who you can take as a compleatly new to coding even thought i know some PHP. I have looked at some …
ok, after i got thelp with keypresses it is time to go one step further. i am ,making a very simple hangman game. the user will guess letters like you mormally do in hangman. what i want to be able to do is if he cant remember what he has …
Ok I am making an admin part of the website and what I need to do is to be able to change the item detail while able to see the result on the fly. What I am really trying to do is to store my item detail into one columm …
I am having hard time figuring out how do I go about displaying HTML on a form as well having the funtionality of editing it. I am basically getting a text field called "Description" from a database (the text is either in HTML or plain text format). I want to …
Im looking for a way to password protect pages on my site. ive found a few asp scripts only i cannot run asp through my host. is there an html or simple java solution? and also i want to disable the tool bars in ie. im going to have a …
We have a funny problem In a PHP page we have used following code: onmouseover="window.status='hello'" I runned the page on two diffrenet machines both runnig win XP and both with the same IE version (6.0.29). In my surprise, on one of them, there is no status bar. But on the …
Hi, In a project I'm working on, Im supposed to display 20 track names (its a music database). Currently, Im adding the links to the tracks like so: <a href="music/<%=rs1("artist") %>/<%=rs1("album") %>/<%=rs1("tno1") %>%20<%=rs1("Track1") %>.<%=rs1("ext") %>"><%=rs1("Track1") %></a><br> This same line is repeated 20 times, with the number1 being replaced by 2, …
i have 2 asp pages, one is an index that when you click the submit button, a pop-up window will appear. this popup window is an ASP Page that connects to a database.. how can i make this a pop-window? any help would be gratly be appreciated.. thanks
Hi there Gurus. I seem to have a problem in FIREFOX which does not appear in IE. Basically, I am trying to validate a form has only 10 numbers entred into the field (no spaces or any other characters). The following script works perfectly in IE but no dice in …
Hi I am trying to disable a dropdownlist in an asp.net web application whenever the selected index is changed. I have the following javascript in my web app but whenever it gets to the disabled = true line it is falling over. What I want to know is that the …
Hi all, I am new to Web programming, most of the time have done GUI development in C++/MFC and played a bit with Java/Swing. I have read about DHTML and its ability to enable interactive Web applications. Before delving into DHTML programming I would like to know what are the …
hi all im trying to add one more row to my table...... this row will have select button,text fields that would also be generated..... the Select list have to take values from variable in jsp page.......... please can anyone tell me how to do that......... i have also attached a …
Maybe this should go in the "Site Feedback" forum, I don't know. Wow, I really don't like this style. Most of the navigational elements are WAY TOO SMALL. Where did the JavaScript/DHTML forum go? I can't seem to find it anymore. It should be under Web Development. So... I guess …
Im not sure what is going here. I stared and stared, but nothing. I would appreciate any help in advance. Im working on lukemeaux.com. If you click on sports, or one of the other links, wait for the page to load, then mouse over wild thigns...you will see the error …
The End.