Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: Image Box

  1. #11
    Junior Member
    Join Date
    Apr 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry for the long reply, had a busy weekend out on the town ... :P

    i had a look at your sites code but it showed it up as a jumble so i gave up haha.
    i put in the viewer or how i thought i put it in but it managed to screw up my div tags so i had to go back and remove half of it and re do it.. fun times.

    will give it another bash just now. this is it just now, still the same

    WSZ Joinery | Home

    thanks

  2. #12
    Moderator Corrosive's Avatar
    Join Date
    May 2010
    Location
    Bristol, UK
    Posts
    980
    Thanks
    18
    Thanked 27 Times in 20 Posts
    OK, cool.

    First up you need to close your unordered list;

    Code:
    <div id="slider"> 
    			<ul>				
    				<li><a href="http://templatica.com/preview/30"><img src="images/01.jpg" alt="Css Template Preview" /></a></li> </ul>
    Then you need to link to the correct javascript files in your head tags (obviously making sure the are pointed to the right place);

    Code:
    <script type="text/javascript" src="js/jquery.js"></script>
    
    <script type="text/javascript" src="js/easySlider1.5.js"></script>
    
    <script type="text/javascript">
    
    	$(document).ready(function(){	
    
    		$("#slider").easySlider();
    
    	});	
    
    </script>
    The link references above show the javascript files sat in a folder called 'js' in the root of your website. Which is how I generally arrange javascript files for sites.

    Then copy the CSS styles;

    Code:
    /* Easy Slider */
    
    
    
    	#slider ul, #slider li{
    
    		margin:0;
    
    		padding:0;
    
    		list-style:none;
    
    		}
    
    	#slider li{ 
    
    		/* 
    
    			define width and height of list item (slide)
    
    			entire slider area will adjust according to the parameters provided here
    
    		*/ 
    
    		width:696px;
    
    		height:241px;
    
    		overflow:hidden; 
    
    		}
    
    	span#prevBtn{}
    
    	span#nextBtn{}					
    
    
    
    /* // Easy Slider */
    Into your stylesheet and alter to suit.

    Come back when you've done all that and let me know if it is working.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Image needed
    By chrisbbm in forum Tenders & Services Required Forum:
    Replies: 1
    Last Post: 06-06-2010, 06:55 PM
  2. Modyfying an image
    By marikatech in forum Graphic Design Forum:
    Replies: 1
    Last Post: 02-04-2010, 02:36 PM
  3. has image manipulation gone to far?
    By zoe_andrews in forum Graphic Design Forum:
    Replies: 5
    Last Post: 01-11-2010, 05:10 PM
  4. Help....Saved pdf image not the same!
    By suzy@cystem in forum Adobe Forum:
    Replies: 4
    Last Post: 06-24-2009, 10:52 AM
  5. Photoshop Tutorials > How to put one image inside another image
    By Boss Hog in forum Graphic Design Resources:
    Replies: 0
    Last Post: 08-31-2008, 01:08 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •