please correct me if im wrong
I downloaded a supersize plugin somewhere on the net then I try to put it into a page containing a slider plugin, I try to resize the whole 4 images in the slider to fit the page using lines below:
should i write it like this ?
- <script type="text/javascript">
- $(document).ready(function() {
- $('div.slide').get().supersize();
- </script>
or like this ?
-
- <script type="text/javascript">
- $(document).ready(function() {
- $('div.slide.supersize()').get();
- </script>
it works when I test it - but I noticed the 100% width + 100% height overlapping the page and not working correctly,
please correct me