Results 1 to 9 of 9

Thread: Simple Controls Gallery Tweaks

  1. #1
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Simple Controls Gallery Tweaks

    1) Script Title: Simple Controls Gallery 1.3

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...plegallery.htm

    3) Describe problem: Instead of having the navbar at the bottom display only on mouseover, I'd like it to display 100% of the time.

    Also, how would I go about adding buttons at the bottom (say, 1-4) that will automatically load a given image.

  2. #2
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Hi!
    I searched the forum for your question and found this link: http://www.dynamicdrive.com/forums/showthread.php?t=40876&highlight=simple+controls+visible.
    I tried the fix and i think it works as you want. You need to open the simplegallery.js file and replace these two lines:

    setting.$wrapperdiv.bind('mouseenter', function(){slideshow.showhidenavpanel('show')})
    setting.$wrapperdiv.bind('mouseleave', function(){slideshow.showhidenavpanel('hide')})

    With only one line like this:

    slideshow.showhidenavpanel('show')

    Try it out. It should work.
    Regarding your last question i wouldn`t know how to do it, but maybe you can figure it out if you look here

  3. #3
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    No dice, just results in a blank screen.

  4. #4
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Ok i uploaded the edited version here , and you can grab the simplegallery.js that is being used on that page here.

  5. #5
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Awesome. All I need now is a way to remove the 1/4, 2/4, etc text, as it is causing issues with IE (firefox doesn't space out the left/right images all funky, whereas IE does).

  6. #6
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    Hi! i changed the visibility of the numbers so they cannot be seen. You can see the result here . and the js here. Iīm not sure if that is what you are after. I have to warn you though: i basically donīt know what i am doing and you may run into trouble if you use scripts that i have tinkered with. There is obviously a better way to do it, so it might be better to take advice from someone who understands this stuff. Good luck
    Last edited by azoomer; 10-20-2009 at 08:24 PM.

  7. #7
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    What'd you modify?

  8. #8
    Join Date
    Oct 2009
    Posts
    845
    Thanks
    14
    Thanked 189 Times in 188 Posts

    Default

    This line is about 30 lines up if you count from the bottom of the script:

    interfaceHTML+='<div class="gallerystatus" style="visibility:hidden">' + (setting.curimage+1) + '/' + setting.imagearray.length + '</div>'

    I wrote : style="visibility:hidden" instead of: style="margin-top:1px". But i guess this is not really removing the numbers only hiding them (cheating).

  9. #9
    Join Date
    Oct 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Alright, I really need to be able to add additional images in the nav panel, show with the ability to toggle between 1st, 2nd, 3rd, and 4th slides. Would be happy to compensate somebody who can help me with this.

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
  •