December 30, 201015 yr Hi guys, does anybody know how to re-create this effect? It is the first time i have seen it done like this. Basically super-imposing a large picture as a website background, so that no matter how you resize the screen the picture retains itself as much as possible. Is it done using CSS? I have a large 22inch monitor and the picture covers it corner to corner. The link is here http://www.groupon.co.uk/sites/www.groupon.co.uk/lp/lp/013/restaurant.php?timg=sushi1&CID=UK_SEM_3_405_1000_4163&plac=www.wikihow.com&crea=6778952059&gclid=CP2WrOumlKYCFQJO4QodyUqrZw The standard groupon.co.uk does not replicate this effect so you need the link above to see it. I am aware of CSS backgrounds but when i right click on the large picture of the sushi and mug it does not say "View Background Image" (im using firefox) which leads me to think maybe this is not using CSS but something else? Because in CSS you can almost always check the background picture by right clicking and > view background image. It is using at least 2 background (one for the large gray box and the second for the logo on top of the box, but the main background i am interested in does not seem to be using it) Any ideas? I am a little bit of a newbie to web design
December 30, 201015 yr Looks like it is Javascript on the Page source code: I dont know Javascript myself but i think this is a part of it here: <script type="text/javascript"> var FullscreenrOptions = { width: /* $("#bgimg").width() */ 1289, height: /* $("#bgimg").height() */ 779, bgID: "#bgimg" }; jQuery.fn.fullscreenr(FullscreenrOptions); </script> Hope this helps
January 6, 201115 yr Looks like they have put the image into the page like normal but then layered everything else on top, I'm no expert myself but there is a CSS div class within the tag for the image.
January 7, 201115 yr ya can do this with the help of java script ------------------------- [links removed] Edited January 7, 201115 yr by Wickham
Create an account or sign in to comment