Use Javascript to make Image visible when page opens -


i'm looking javascript fire when page opens , sets image1 visibility true.

thanks

if referencing css visibility property:

window.onload = function() {      document.getelementbyid( 'image1' ).style.visibility = "visible";`  }; 

or display property:

window.onload = function() {      document.getelementbyid( 'image1' ).style.display = "block";  }; 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -