Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
SimpleViewer Gallery - how to remove bottom spacing
Old 11-11-2008, 08:11 PM SimpleViewer Gallery - how to remove bottom spacing
Skilled Talker

Posts: 55
Name: Adrian
Trades: 0
Hi,

Here is a link to the gallery in action and you will see that there is an added space for no particulas reason at the bottom of the gallery??

http://tinyurl.com/6qnbmr


I have been playing around with inserting a SimpleViewer Gallery into one of my websites I am doing. The gallery works fine but somehow the SimpleViewer gallery has added additional space at the bottom of the gallery. This looks like an empty space of about 100px in height, I have tried to tweak the styles in the css code from SimpleViewer but I am only able to move the gallery either upwards or make the main picture larger or smaller with the following code:

<script type="text/javascript">
var fo = new SWFObject("./gallery_1/viewer.swf", "viewer", "98%", "60%", "7", "#331c13");
fo.addVariable("xmlDataPath", "./gallery_1/gallery.xml");
//fo.addVariable("firstImageIndex", "5");
//fo.addVariable("langOpenImage", "Open Image in New Window");
//fo.addVariable("langAbout", "About");
fo.addVariable("preloaderColor", "0xffffff");
fo.addParam("quality", "best");
fo.write("flashcontent");
</script>

It appears that these are the only variables you can change for the gallery taken from the above code:

"98%", "60%", "7"


the css styles for it:

#flashcontent {
width: 100%;
height: 590px;
margin-top:20px;

(modifying the height only moves the gallery up and the top of the gallery starts to fade)

Can this blank space be removed or is it just SimpleViewer gallery the way it displays - I doubt it as I have seen galleries been used by SimpleViewer and the layout does appear that it can be changed to fit a custom layout / div container..

Any suggestions much appreciated, thanks..
elv8 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-11-2008, 08:31 PM Re: SimpleViewer Gallery - how to remove bottom spacing
djura's Avatar
Super Talker

Posts: 135
Name: Darko Krsmanovic
Location: Belgrade
Trades: 0
#contentarea2
give height about 550px. That should do it
__________________

Please login or register to view this content. Registration is FREE
||
Please login or register to view this content. Registration is FREE
djura is offline
Reply With Quote
View Public Profile Visit djura's homepage!
 
Old 11-11-2008, 08:41 PM Re: SimpleViewer Gallery - how to remove bottom spacing
Skilled Talker

Posts: 55
Name: Adrian
Trades: 0
Quote:
Originally Posted by djura View Post
#contentarea2
give height about 550px. That should do it

Thanks djura, I so didn't think of that, all I did was make an additional style for the gallery and it works.

Thanks again for your great and fast response.
elv8 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to SimpleViewer Gallery - how to remove bottom spacing
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11773 seconds with 12 queries