View Full Version : Simple Controls Gallery v1.3 Image Numbers & Nav one line

05-27-2009, 02:17 PM
Script Title: Simple Controls Gallery v1.3

Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/simplegallery.htm

Thank you in advance. I was able to have controls constantly show by searching the forums (thanks!). What I was hoping to do is have the controls and the image numbers all on one line. At present it is the controls, then directly under it displays the 1/20. Is there a way that I can have it show in the following order all on one line:

1/20 - *nav buttons here*

Thank you again.

05-28-2009, 05:06 AM
Try the following modified .js file, which does this. Note that the status portion (ie: 1/2o) is wrapped inside the span with CSS class "gallerystatus". In your CSS, you may want to style it so it aligns better with the nav images to the right of it, something like:

position: relative;
top: -6px;

Be sure to also shorten the height of the controls div:

panel: {height:'30px', opacity:0.5, paddingTop:'5px', fontStyle:'bold 11px Verdana'}, //customize nav panel container

05-28-2009, 12:24 PM
Thanks for the fast response!

This worked perfectly! :)

Thank you again.

12-16-2009, 11:29 PM
I am trying to get my nav on one line, and aligned to the right. I'm not sure what I need to do to get this to work.
Any Suggestions?