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

Thread: I need icons for Simple Controls Gallery v1.4

  1. #11
    Join Date
    Feb 2013
    Posts
    20
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Default

    Hi, Thanks it getting there!! globalglam.co.uk/Gallery1Weddings.php

    Two more questions:

    1, where do I link the controls ie left, right, play, pause? I have down loaded them and added the to images/ButtonForSlider/ ?

    2, How to make it aline to centre?

    Thanks again,

    Travis

  2. #12
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    2,040
    Thanks
    16
    Thanked 318 Times in 316 Posts
    Blog Entries
    14

    Default

    At the top of the simplegallery.js file there is this block of code where you can define your control images;
    Code:
    var simpleGallery_navpanel={
    loadinggif: 'ajaxload.gif', //full path or URL to loading gif image
    panel: {height:'45px', opacity:0.5, paddingTop:'5px', fontStyle:'bold 11px Verdana'}, //customize nav panel container
    images: [ 'left.gif', 'play.gif', 'right.gif', 'pause.gif'], //nav panel images (in that order)
    imageSpacing: {offsetTop:[-4, 0, -4], spacing:10}, //top offset of left, play, and right images, PLUS spacing between the 3 images
    slideduration: 500 //duration of slide up animation to reveal panel
    }
    so this is where you'll be able to edit the paths to where your actual images are located.

    And to centre the gallery you should be able to add this style to the div;
    Code:
    <div id="simplegallery1" style="margin:0 auto;"></div>
    I *think* that's all that should be needed but I can't test to make sure because I'm on iPhone now. You can move that into the CSS file but I just put it there so you can make an easier association. If that style alone doesn't work, try putting they gallery div inside another div with a style of "text-align:center;"
    Code:
    <div style="text-align:center;"><div id="simplegallery1" style="margin:0 auto;"></div></div>
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. The Following User Says Thank You to Beverleyh For This Useful Post:

    Travlast (02-26-2013)

  4. #13
    Join Date
    Feb 2013
    Posts
    20
    Thanks
    14
    Thanked 0 Times in 0 Posts

    Default

    hi thanks,

    I managed to finnish it and get it all working thank- you. I have a new question but maybe I should post a new topic.

    Thanks,

    Travis

Similar Threads

  1. Simple Controls Gallery v1.3 Problem with not Showing Images or Controls
    By macca85 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 08-13-2009, 05:29 PM
  2. Can I use Simple Controls Gallery in NVU?
    By scriptnewbie in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-24-2009, 09:51 PM
  3. Simple Controls Gallery
    By Myrddin in forum Dynamic Drive scripts help
    Replies: 6
    Last Post: 01-15-2009, 09:12 PM
  4. Resolved Simple Controls Gallery
    By mcreative in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 01-13-2009, 01:40 PM
  5. Simple Controls Gallery - controls outside of images?
    By toolman in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 12-22-2008, 07:26 PM

Bookmarks

Posting Permissions

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