Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Images in Javascript with http:// l
Name: Spinal Date: June 9, 2004 at 11:23:18 Pacific OS: Win2K CPU/Ram: 1Gb/1Ghz
Comment:
Hello! Im trying to insert an image using javascript. My problem is, i cant use the standard: document.images["image_name"] This is because the image is in a totally different folder. I have a variable: var url = "http://www.myserver.com/"+"imagename" this is because the var imagename changes daily. Does anyone know how to retrieve an image from a string var which stores the url. THanx, Michele
Summary: When i use an event handler in javascript, i will be able to get the name of the image by using event.srcElement. But this method does not work in firefox. What is the alternate method to get the name...
Summary: I've created a page of thumbnails that when clicked load the relevant image in a new pop up window. Im using this code: Code This works fine but the one thing I want to do is stop the main pictures.ht...
Summary: can anyone tell me how can I display an image in my XML document using DTD and CSS. I tried to do like this: <xmlns:html="http://www.w3.org/TR/REC-html40"> <html:img src="some.gif"/> and in DTD ...