15,121 Topics

Member Avatar for
Member Avatar for cppforlife

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 …

Member Avatar for tgreer
0
95
Member Avatar for squirrelj

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 …

Member Avatar for cppforlife
0
191
Member Avatar for muktidaniweb
Member Avatar for muktidaniweb

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 …

Member Avatar for muktidaniweb
0
74
Member Avatar for Kamex

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 …

Member Avatar for tgreer
0
205
Member Avatar for oi@Sorenso

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!!!!!

Member Avatar for alpha_foobar
0
175
Member Avatar for Sailor_Jerry

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 …

Member Avatar for Sailor_Jerry
0
110
Member Avatar for Philz

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 …

Member Avatar for tgreer
0
246
Member Avatar for n2ads

I am stuck. For some reason, my external css will only affect my links on my site. The color and hover color will change when i change it in the css. What is weird is the links are even coming from a php file <? require_once("NavigationTemplate.php");?> The problem is that …

Member Avatar for BinaryMayhem
0
95
Member Avatar for muktidaniweb

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) …

Member Avatar for madmital
0
157
Member Avatar for gaston

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 …

Member Avatar for alpha_foobar
0
240
Member Avatar for xbob

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 …

Member Avatar for xbob
0
126
Member Avatar for gaston

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 …

Member Avatar for Dani
0
162
Member Avatar for ashneet

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 …

Member Avatar for ashneet
0
233
Member Avatar for nspireing

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 …

Member Avatar for nspireing
0
405
Member Avatar for balor

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

Member Avatar for balor
0
184
Member Avatar for hotdale

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 …

Member Avatar for tgreer
0
105
Member Avatar for iloveorangesoda

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 …

Member Avatar for alpha_foobar
0
284
Member Avatar for sergiu

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 …

Member Avatar for sergiu
0
229
Member Avatar for ankur_md

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 …

Member Avatar for alpha_foobar
0
466
Member Avatar for server_crash
Member Avatar for goldeagle2005

Hi all If I create a link that opens a new window, how do i make it such that when I click a link on this page in the new window, that link should open in the original window? I was guessing its using javascript. Any idea how? Thanks

Member Avatar for tgreer
0
88
Member Avatar for samhengon

Hello, I've been experiencing a big problem. When I log in to my yahoo mail and click on the 'empty' beside the 'bulk' button, it appears nth. I can clearly remember that it will show a text box showing a confirmation whether you are to empty the bulk folder, but …

Member Avatar for alpha_foobar
0
326
Member Avatar for roza

Hi, I am not familiar with JavaScript very well, but despite the fact that where it says "enable" in "internet options" I checked the box, most of the sites still don't work. What could be the problem and how to fix it? THANKS in advance, -Roza

Member Avatar for tgreer
0
286
Member Avatar for DivX

this is what i got: function roll(id,h){ //menu = document.getElementById(id); cont+=1; document.getElementById(id).style.height = cont; t=setTimeout("roll('"+id+"',"+h+")",100); if (cont > h){ cont=1; stop(); } } this should resize a layer's height like an animated dropdown menu ... but it simply won't assign the new height.tryied also: function roll(id,h){ menu = document.getElementById(id); cont+=1; …

Member Avatar for DivX
0
399
Member Avatar for server_crash

I'm trying to make a simple calculator and whenever I want to add text to the textfield(say a number) it will show up, then will dissapear. [Code] function display(number) { var x = document.form1.displayText; x.value = number; } [/Code] This is how I'm doing it, but why is the text …

Member Avatar for server_crash
0
240
Member Avatar for shahdhruv

Hi everyone, I was trying to achieve a functionality for drop down box to remember its selected value if the page reloads. I saw some code on this forum using onload method. Title of the thread is "Javascript generated drop down menu " within the last two weeks. Problem is …

Member Avatar for shahdhruv
0
255
Member Avatar for arstein

Hi, I've been beating my head against my inability to force Safari to dynamicall y load an external Javascript file, and was wondering if anyone has any advi ce. My current code works fine in Firefox and IE: [FONT=Courier New] var e = document.createElement("script"); e.src = url; e.type="text/javascript"; document.getElementsByTagName("head")[0].appendChild(e); [/FONT] …

Member Avatar for alpha_foobar
0
111
Member Avatar for RobRet

I have this code that I am using in C# calling a Response.Write to call another aspx page within a frame. [B]Response.Write("<script language=javascript>parent.Frame.location.href('detail_search.aspx?NameOrCat=1&strFor="+strName+"&catDesc="+strCategory+"&clickedButton=0&Where="+this.WhereSelect.SelectedValue+"&searchOption="+this.rbtnStartsContains.SelectedValue.ToString()+"&section_id="+this.ddwnSection.SelectedValue.ToString()+"');</script>");[/B] This logic works on explore 6.0 but I can not figure out why it does not work on explore 5.0 and explore mac. Does anyone know how …

Member Avatar for RobRet
0
120
Member Avatar for server_crash

I was wondering if someone could point me to some good online tutorials and exercises. I most importantly would like a site with some exercises to help me learn further. I have a book called "JavaScript in 24 hours" and I have to admit, this book is terrible. It teaches …

Member Avatar for shahdhruv
0
323

The End.