Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* global variables */
- var ratio=screen.width/screen.height;
- function ratio_aspect(var input) {
- ratio = input;
- }
- function ratio_height(var object, var value) {
- value = value * ratio;
- $("#"+object).css("width", value);
- }
- /* events */
- window.onload = cssinject();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement