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 3 of 3
  1. #1
    Senior Coder crmpicco's Avatar
    Join Date
    Jan 2005
    Location
    Mauchline, Scotland
    Posts
    1,096
    Thanks
    15
    Thanked 1 Time in 1 Post

    Question javascript image gallery styling/positioning issues

    Hi All,

    I am having an issue with the integration of a JavaScript image gallery that I a using from HERE - it's an excellet piece of code from the author.

    http://www.crmpicco.co.uk/directions.php

    However, as you'll probably see there is a problem with the positioning of the gallery. The main image always seems to overlap the thumbnail.

    Stand-alone demo: http://www.monc.se/kitchen/stew/gallery/

    Is there some styling/positioning that I am missing?

    Cheers,
    Picco

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,854
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Try
    Code:
    #jgal {/*directions.php (line 26)*/
    ...
    position:relative;
    width:200px;
    }
    #jgal li img {/*gallery (line 18)*/
    left:220px;
    position:absolute;
    top:20px;
    }
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    Senior Coder crmpicco's Avatar
    Join Date
    Jan 2005
    Location
    Mauchline, Scotland
    Posts
    1,096
    Thanks
    15
    Thanked 1 Time in 1 Post
    thanks very much for that, working now nicely: http://www.crmpicco.co.uk/directions.php

    BR.


  •  

    Posting Permissions

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