Javascript Reference
Categories: layer

javascript layer src

@June 30, 2008, 3:37 p.m.
src NN |4| IE n/a Chrome/Safari/DOM n/a  

 

Read/Write  

Indicates the URL of the external content file loaded into the current element. To change the content, assign a new URL to the property.

Assigning a new URL to this property does not work with inline layers (ilayer elements) in Navigator 4. Instead the current source document is removed, and other page elements can be obscured. Avoid setting this property for inline layers. The same goes for the load( ) method.

 
Example
 
document.myIlayer.src = "swap2.html";
 
Value

Complete or relative URL as a string.

 
Default

None.


Powered by Linode.