15,127 Topics

Member Avatar for
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
330
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
186
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
433
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
150
Member Avatar for Pankaja

Hi All I am hoping someone can help me out since this is driving me nuts. On my ASP.Net page I have DIV areas and one ASP.Net server label control : Code: _DIV area 1_____________________________________________________ Message Center View All Messages| _DIV area2_____________________________________________________ (lblMsgCenter) This is first test message. | | …

0
60
Member Avatar for symoore22

http://ww.bestblanks.co.uk/media.php hi im not sure what im doing wrong with this: have a look at the above url: each product name is suppose to open a small window which will go on to display a description of the product: however when you click on title there is an error and …

Member Avatar for tgreer
0
191
Member Avatar for cssdev

Hi - I'm hoping someone might know of a free or relatively inexpensive solution I can use similar to the "Related Search" box on Yahoo News. It appears to use a combination of Javascript and CSS. Here's an example: [url]http://snipurl.com/fz7l[/url] Click on Sandra O'Connors name to see the box appear. …

Member Avatar for tgreer
0
128
Member Avatar for red_evolve

Greetings. I encountered this little problem and am stuck. I don't know what should I google. I am developing a webpage with Coldfusion and I need to use some Javascript also. I have a component, and onclick of that component, I would like to call a Javascript function and pass …

Member Avatar for alpha_foobar
0
129
Member Avatar for zoned

Hi all, I have spent a long time trying to get this sorted. I have searched high and low to get an answer. I hope one of you experts can help :mrgreen: I have a gif on a webpage (a chinese flag). When someone clicks on the gif they are …

0
55
Member Avatar for Ezju

I would like to open a web page with several layers on it to a specific layer depending on the link on the previous page. I know I can do this from within the same page but I would like to do this from an external page. Can I and …

Member Avatar for Ezju
0
522
Member Avatar for bitfiddler

:( I have a website at: [url]http://www.outingsunlimited.com[/url] This site has quite a few "mouseover" images (37 actually) and I need to preload them before I start. When someone goes to the site, while the images are loading.....the screen is just blank and they think there is a problem.....:( HELP !!

Member Avatar for bitfiddler
0
175
Member Avatar for katisco

This is my php page it's have javascript problem so plz tell me what should i do. <?php session_start(); if($permission=="yes"){?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Gallery</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript" type="text/JavaScript"> <!-- function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); var i,j=d.MM_p.length,a=MM_preloadImages.arguments; …

Member Avatar for Troy
0
108
Member Avatar for TedN

I am using setTimeout() to provide a delay between changing images. The images are changed by looping back through a function. clearTimeout() is used to cancel the setTimeout function. The problem is that I would also like the initial image (image1.jpg) to be displayed when I'm finished with the looping. …

Member Avatar for TedN
0
136
Member Avatar for symoore22

hi i am trying to turn this code: strOutput += "<input type=hidden name=\"amount\" value=\""+ moneyFormat((fTotal + fShipping + fTax)) + "\">"; into a html form line: <input type=hidden name="amount" value="??????????"> im not sure what i shud be putting in the value bit. can anybody help thanks simon

Member Avatar for darklordsatan
0
138
Member Avatar for cynch

I have built a site and it looks fine when the screen is full size but cuts off when you make the screen smailler. What can I do to keep it looking the same on different screen sizes?

Member Avatar for cynch
0
235
Member Avatar for akoloff

this seems to be a very simple problem, but i just can't get it done. how do i set a variable which is to display url response? let's say my request is "http://domain.com/datavalue.htm". the request returns some value ( let's say "30.0" ) when i use it with browser. now, …

Member Avatar for Troy
0
196
Member Avatar for ipodgirl

I have a JavaScript to detect between Netscape version 6& below and IE, is there anything to detect Firefox? Basically I have two sets of code I want to display. One set for IE and FireFox, another set for old Netscape. Right now using the code below doesn't work because …

Member Avatar for peter_budo
0
131
Member Avatar for Knoke

[CODE]<script type="text/javascript" language="JavaScript1.2" src="stm31.js"></script> stm_bm(["uueoehr",430,"/new/common/images/","blank.gif",0,"","",0,0,250,0,200,1,0,0,"","",83886089],this); stm_sc(1,["transparent","transparent","","",3,3,0,0,"#fffff7","#000000","up_disabled.gif","up_enabled.gif",-1,-1,0,"down_disabled.gif","down_enabled.gif",-1,-1,0]); stm_bp ...[/CODE]

Member Avatar for hiweb
0
79
Member Avatar for fineline

thank you for entering this page i would like to explain what i should do in my project and my problem: 1- the project for student in the school . 2- every one has an private account and can use it for many things 3- every account has a table …

0
68
Member Avatar for ganesch

Hi there, I really can't see why here: [url]http://www.bswebconsulting.ch/kunde...nn/w_g_main.php[/url] the menu images on the right side show up normally and here: [url]http://195.186.60.100/online/index.php?id=7[/url] they only display after hovering over them. I've studied the source code many times now, but I have to admit that I can't see the error The menus …

Member Avatar for tgreer
0
67
Member Avatar for meggsie

Hey everyone, I've got a recordset of terms in my page. I know the recordset has all the terms from the sql table within it because i can get it to print just fine to screen. I need to put the recordset into an array. That way, a script that …

Member Avatar for tgreer
0
448
Member Avatar for symoore22

hi If you click on the following page [url]http://www.bluetipdvd.co.uk/indexd.php[/url] and the click on the two product links a new window opens which displays some more info. I am trying to make it so the window that opens displays info relevant to the the link that was click e.g clicking on …

Member Avatar for Troy
0
244
Member Avatar for realitypixels

I need to add a layer to a certain position on the page. The problem is that in each different screen resolution the layer appears is s different place. Is there a way to fix that? Thanks

Member Avatar for tgreer
0
114

The End.