خرید بک لینک

Vote count: 0

I would like to find the ierWidth and ierHeight of the screen via Javascript, and then place the values into the width and height variables of the body class in the style area (css) of html. For example:

style
body { background-image: url("images/hello.jpg"); background-repeat: no-repeat; background-color: brown; width: valueW; height: valueH;}
style

where valueW is the returned value of the pixels of the ierWidth of the screen, and valueH for ierHeight. The "px" pixels value would need to follow the returned number of course.
Is this possible?
Thanks for any input.

asked 40 secs ago

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 22 شهريور 1395 ساعت: 17:10

صفحه بندی