14,055 Topics
| |
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 | |
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; … | |
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 … | |
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 … | |
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] … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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. | | … | |
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. … | |
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 … | |
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 … | |
:( 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 !! | |
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; … | |
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. … | |
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? | |
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, … | |
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 … | |
[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] | |
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 … | |
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 … | |
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 | |
I'm going to be using Java next year in AP Comp. Sci. and seince my summer assignment has me researching a little bit on it, I thuoght I might get a jump on it this summer. Does anyone know any sites that teach the basics? Like HTMLGOODIES.COM teaches HTML and … | |
Hi all, My page utilizes a few javascript files for my navigation bar and also a few other palces... My problems is this - I want to call to a page within the site as in the script below, but I wish it to be a separate WINDOW al-together. If … | |
Hi i was wondering how do i make a TXT play music because i was searching for a song site and ended up at a Music Code site but the thing is that on the URL its like this [url]http://kassierae.myknet.org/chevypr.txt[/url] but it still plays a song in Windows Media Player … | |
Hello: I'm looking for some assistance with a third-party script I'm using that incorporates onmouseover popups. If the content of the popup is too large to appear within the visible window just below the onmouseover spot, two different behaviours occur in firefox and IE 6: IE 6 will elongate the … | |
I'm trying to create a hover box that appears over an entire table cell when onmouseover. I want to know if there is a way to have it go to another URL with onClick. If so, does it have to be done in the p tag or elsewhere. Here's the … |
The End.