Loading a URL into a Layer onClick 
Author Message
 Loading a URL into a Layer onClick

I need to load a URL in a layer onClick with IE. Netscape gives me
document.layers[id].load(URL,width), but IE does not support the load()
method. Anybody have any suggestions? My function so far:function
loadLater(id){
        if (ns4) document.layers[id].load('weather.htm',288)
        else if (ie4) document.all[id].??????????????????

Quote:
}

Sent via Deja.com http://www.*-*-*.com/
Before you buy.


Fri, 07 Feb 2003 03:00:00 GMT  
 Loading a URL into a Layer onClick
<html>
<body>
<iframe id="iframe1" src="http://www.microsoft.com">
</iframe>
<form>
<p>
<input type="button" value="Netscape's Home Page"
onclick="iframe1.location.href ='http://www.netscape.com'">
</p>
</form>
</body>
</html>


: I need to load a URL in a layer onClick with IE. Netscape gives me
: document.layers[id].load(URL,width), but IE does not support the
load()
: method. Anybody have any suggestions? My function so far:function
: loadLater(id){
:         if (ns4) document.layers[id].load('weather.htm',288)
:         else if (ie4) document.all[id].??????????????????
: }
:
:
: Sent via Deja.com http://www.deja.com/
: Before you buy.



Sat, 08 Feb 2003 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Loading a URL into a Layer onClick with Jscript

2. Loading a URL into a Layer onClick

3. Onclick, Evt (layers)

4. Image change after layer load in Netscape

5. waiting for all layers load

6. layers.load in JScript???

7. Load an Array OnClick event...

8. loading a URL into a frame with VBscript?

9. Loading URL

10. Loading image to ImageList from URL???

11. Loading a URL into a box.

12. VB6 Web Browser-Loading URL's from a sequential file

 

 
Powered by phpBB® Forum Software