Search Results

Search found 2 results on 1 pages for 'faxtion'.

Page 1/1 | 1 

  • Jquery hide show list

    - by faxtion
    Having few issues with a jquery hide show item. Got a list of images, want to show the first one but hide the rest and when the user clicks next the current one is hidden and then the next list item is shown. Been banging head against wall for a while, and there is probably a very easy solution but for some reason I am unable to see it. Would be grateful of any advice. $(function() { $('#feat>li:gt(0)').hide(); var $links = $('#feat>li'); var $item = $('#feat>li'); $links.click(function() { var $par = $(this); $par.slideUp(700, function() { var index = $links.index( $par.get(0) ) $item.eq( index ).slideDown(700); }); }); }); <div id="feature"> <ul id="feat"> <li><img src="images/sample.png" /><a href="#">Next</a></li> <li><img src="images/sample2.jpg" /><a href="#">Next</a></li> <li><img src="images/sample.png" /><a href="#">Next</a></li> </ul> </div>

    Read the article

  • rotate and its properties

    - by faxtion
    When using -webkit-transform: rotate(-90deg); -moz-transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);; does its properties rotate with it or do they stay the same, for example does the margin top become the left, or does margin top stay at the top? Think it's me being stupid but having some weird things happing when trying style the elements

    Read the article

1