Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html variables

<script>var screenWidth = screen.width;</script> 
...
<img src="images/title.png" onload="this.width=screenWidth;" style="margin-top: 3%">
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #html #variables
ADD COMMENT
Topic
Name
4+4 =