The property is read only. It depends also on how you invoke your method after you have crafted it. A function rewritten to be compatible with NS6 too is: ...
I want to ensure that a picture is a particular width or height before it is displayed. I have set up a slideshow and second and third pictures are resized but...
set the style of the image to display:none <img src="foo.gif" width="100" height="200" style="display: none" id="im"> then with a function you perform the...
Does anyone have an example of a function that can be assigned to multiple elements onclick event that will return that elements id. I want to use one funtion...
I would pass in a reference to the calling element (this) when you call the function. <SCRIPT type="text/javascript"> function clickMe(obj) { var objID =...
here is another way you can do it pgsetp = myelementToPlaceImageWithin pgsetp = document.getElementById(pgsetp) pglight = document.createElement('IMG'); ...
... for a windows-based, comd-line, JS file (or batch) that will modifiy the System Enviornmental Variables. Below is what I need created. Path needs to be...
does anyone know of any performance gain or loss when multiple .js files are used as upposed using one .js file or placing all javascript within the html file...
hey guys i have a .js file neigher of the following seem to work in firefox. what am i doing wrong?? <script language=javascript src=file.js></script> <script...
This is a server issue question. It all depends on the setup and con fig of your server. How often are these files accessed? And in relation to other files? Is...
Hi, Basically, here is what happens. when you click on "link", and hidden div appears. Great so far. What is supposed to happen is when I move my cursor over...
At a guess, I'd say that the link is capturing the mouse event, so the div thinks the mouse has left. I'd try adding showlayer() as the onmouseover property of...
Hi Hassan, Thanks for the info. I'm learning more with your suggestion. I've seen what you describe in other code and never fully understood it, but have a...
This java script seems to be working fine in Netscape 7.2 but does nothing in IE 6.0. can somebody help me out? I also have a very big doubt: If i develop a...
can someone help me with a resize window function? I own a traffic exchange and want to check the window size and if it is less than 640 x 800 to increase it...
The code that you wrote is not the way it is done in IE I worked on fixing it some but I fear that the ip will be hard to get however alot of severs offer a...
(I never thought i would see the day) I have this code. It works perfectly in firefox but it doesnt work with MSIE. Allow me to describe it. i have a create a...
... Chandu, I had a quick look around and found out that the code you posted will only ever work for Netscape. Given the percentage of Netscape users is very...
I am having 2 problems. Firstly, I am loading an array with details from a database via .asp/vbscript that generates the following; "..... var regarray = new...
Pete, ... You will need to find a way to replace the line breaks with some other character, or escape them "\n" on the server. In javascript the line break is...
Roger, You may be right, as there was an error, it being Layer14 rather than layer14. However, having corrected this, both problems still exist! Regards Pete ...
Hi Michael, Here are a couple of things that might be helpful. 1. Try "screen.availHeight" and "screen.availWidth" to get the demantions you may be looking...
Hi you mite try html goodies for the code in NS so you what to open a new window I think it will help. Mark Wheeler <musicarr@...> wrote: Hi Michael, ...
Hi, Here is the link I was thinking about. http://www.howtocreate.co.uk/tutorials/index.php?tut=0&part=16 I hope it's helpful. Mark On Oct 13, 2004, at 9:06...