Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5

Thread: gallery help

  1. #1
    New to the CF scene
    Join Date
    May 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question gallery help

    I am trying to make a portfolio gallery, this is my code/css and it works, but when implimented you have to click and hold to view the larger image, I would like it to click and stay untill I click somewhere else. any ideas?

    Code:
    <a class="gallery slides" href="#nogo"> 
    <span> 
    <img src="gallery/misc/M1large.png" alt="htmlsite1" title="Arts and crafts" />   
    </span> 
    </a>
    Code:
    #imgallery a.slides { 
    		background:url(gallery/misc/M1small.png); 
    		height:100px; 
    		width:150px;
    		margin:10px 5px 10px -1px;

  • #2
    New Coder
    Join Date
    Mar 2012
    Posts
    15
    Thanks
    0
    Thanked 1 Time in 1 Post
    Search jquery light boxes on Google and see if that helps you.

  • #3
    New to the CF scene
    Join Date
    May 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ya, Its for an assignment, Html and Css only. no java. no nothing else/ But thank you!

  • #4
    New Coder
    Join Date
    Mar 2012
    Posts
    15
    Thanks
    0
    Thanked 1 Time in 1 Post
    Are you trying to make the image appear like a pop up?

  • #5
    New to the CF scene
    Join Date
    May 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    nope, Its in a gallery type thing looks like this when nothing is active


    but when i click and hold the img i clicked on showes up in full


    I want it to click and stay, I dont want to have to hold it.


  •  

    Posting Permissions

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