How do I determine the screen width so I can make an image the same size? Because I have an image that I want to go all the way across the screen, end to end, no extra space.
if the effect you wanna get is like a bar in the left you just have to make an image longer than the screen width, for example 1300px<br><br>it worked?
Here is how you get the values from the user's system:<br><br><script language="JavaScript"><br><!--<br>function Getvalues(){<br>if (screen.availLeft) var l = window.screen.availLeft;<br>if (screen.availTop) var t = window.screen.availTop;<br>if (screen.availWidth) var w = window.screen.availWidth;<br>if (screen.availHeight) var h = window.screen.availHeight;<br><br>...CODE TO RESIZE THE WINDOW OR THE IMAGE.<br><br>}<br><br>l,t,w and h are variables that are assigned the values of the user's screen. availLeft and availTop are usually 0 and 0 unless the user has an Office bar in the right side.<br><br>I assume that since you are a programmer, you can write the code to resize your objects.<br><br>Have fun./ <p>Fernando Regueiro<br><a href=mailto:ferhelping@yahoo.com>ferhelping@yahoo.com</a><br><a href= > </a><br>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.