15,116 Topics

Member Avatar for
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
109
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
156
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
238
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
125
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
208
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
103
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
462
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
252
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
297
Member Avatar for JaxsWastedLife

want to load some external content into a hidden iframe. The hidden iframe will function as a buffer from which i can load the content into a <div>. The reason i am attempting this approach is because the external pages are located on a different domain at my company and …

Member Avatar for Eddie Traversa
0
162
Member Avatar for mcricks

Does anyone know if it is possible to place a .swf within a dhtml dropdown. For instance, On click drop down and externally load an swf within the dropdown. Any feedback would be great. Thanks

Member Avatar for Eddie Traversa
0
185
Member Avatar for jman25

I am using javascript to display a dropdown menu on an html page. This menu lists 48 states and is used to calculate shipping costs to each state. I have an onChange() event in the <select> tag that sends the selected state to another function to figure up the shipping …

Member Avatar for shahdhruv
0
429
Member Avatar for Soni_7

Hi , I have a function as : function doCheck(str1,str2) { top.LocalCacheLoadStatus = false; parent.SearchFrame.location.href=str1; g_str_Mode = str2; alert (g_str_Mode); } This has str1 as the name of the jsp file and str2 is the value which i have to pass to the jsp file given in str1.How do i …

Member Avatar for Soni_7
0
113
Member Avatar for d0d0

hey guys i have a problem :S I'm making a site and now im trying to fix the menu, its a rollover menu and it should drop down...it works perfectly now probs there. but the problem now is that i want the menu in a frame. But then the dropdown …

Member Avatar for Demondes
0
148

The End.