close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Gallery display width issue

Thread began 10/29/2015 10:49 am by Charles | Last modified 2/04/2016 6:29 pm by Ray Borduin | 438 views | 9 replies |

Charles

Gallery display width issue

Using 2 slideshow/blinds galleries on 2 different pages with same theme and css.
On #1> It displays correctly - http://outofchaos.net/gsc/www/
On #2> the width is truncated - http://outofchaos.net/stonecenter/www/index.php
Can't figure out what I'm missing. Your help would be much appreciated.
CSS and slideshow index.php attached

Attached Files
GSChome.css
index.php
Sign in to reply to this post

Ray BorduinWebAssist

I'd have to debug the pages to figure it out. Can I get FTP access to look into it further?

Sign in to reply to this post

Charles

Sure - see PM

Sign in to reply to this post

Ray BorduinWebAssist

You had a different design chosen in the admin for that gallery that had different dimensions. I went in and selected the same gallery and that seems to have corrected the width issue.

Sign in to reply to this post

Charles

Not sure how I missed that. Thanks for the eyes and hands on help. Looks good now.

Sign in to reply to this post

Charles

Just putting the last touches on this site. How can I make the Height of the Gallery Container as you see in the URL below stretchy? It's currently a fixed height of 850px, but if the site manager adds another row of pictures,, they will overlap the bottom nav. Tried making the Height 'auto' in the iframe but that didn't work. Would appreciate your suggestion, Thank you.

Sign in to reply to this post

Ray BorduinWebAssist

Please provide FTP access. Since it comes from another domain I think I'll need to add some javascript to the gallery page itself to resize.

Sign in to reply to this post

Charles

Sure - see PM below

Sign in to reply to this post

Ray BorduinWebAssist

I believe I've fixed this issue by adding this code to the grid_fullsize/index.php:

<script>
if (window.parent.document.getElementById("galleryIframe")) {
var iframe = window.parent.document.getElementById("galleryIframe");
iframe.style.height = (document.body.scrollHeight+40) + 'px';
}
</script>



I've also added an id to the frame: id="galleryIframe"

This should allow the iframe page to resize the iframe window based on the content.

Sign in to reply to this post

Charles

That looks good. Thank you!

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...