This is for a drpal 7 install.
Is there a way to apply the same function they discuss in this thread
to a whole div instead of a single image? For example, I have a drupal 7 install. I’m using skeleton theme. I have been requested by the client to have a full screen images slider as a the background in the homepage. I have given the images a 1680px Image style and calling the block from a custom template file for the front-page with $ block = module_invoke. That’s aright but, it obviously doesn’t adjust to screen res. If I give the div one of the skeleton’s css classes, the whole layout gets messed up.
I’m trying to find an alternative via custom js.
Is that possible to achieve the same behaviour as in the demo in the link, for the slideview block?
Demo- http://so.devilmaycode.it/height-and-width-of-background-picture-adapt-to-each-screen-size/
If so, please indicate how to add the js to the code, where and how. Thank you!