Welcome to TalkGraphics.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2001
    Location
    Germany
    Posts
    47

    Default Bottom part of page gets cut off

    Hi,

    I'm trying to integrate a flash picture gallery into my page using the placeholder option for the <body> and the <head> sections.
    My problem is: the page is not scrollable, and thus any content behind the gallery gets cut off.
    I cannot figure out why this happens. I can extend the page height as much as I want it does not make any difference.
    What am I missing?

    Here's the link to the page exported from the attached WD file: http://motoclix.com/xara
    Attached Files Attached Files
    Last edited by Yellosub; 26 March 2009 at 09:25 PM.
    IP

  2. #2

    Default Re: Bottom part of page gets cut off

    Not sure what you mean? It shows here in my browsers.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	cutoff.png 
Views:	234 
Size:	111.0 KB 
ID:	58143  
    IP

  3. #3
    Join Date
    Mar 2005
    Location
    Andover, Massachusetts, USA, Earth, Milky Way, Universe
    Posts
    427

    Default Re: Bottom part of page gets cut off

    You probably have a high resolution on your desktop Steve.

    I'm at 1024x768 and I get no scrollbars and the bottom 3rd of the pic is cut off.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	screenshotbike.jpg 
Views:	240 
Size:	128.4 KB 
ID:	58146  
    -h
    ===============
    (a.k.a.) Bobby Harris
    IP

  4. #4

    Default Re: Bottom part of page gets cut off

    Change the code in the black placeholder from this:

    <script type="text/javascript" src="../galerie/imagevue/javascript/swfobject.js"></script>

    <script type="text/javascript" src="../galerie/imagevue/javascript/swfaddress.js"></script>
    <style type="text/css">
    /* hide from ie on mac \*/
    html {
    height: 100%;
    overflow: hidden;
    }
    #imagevue {
    height: 100%;
    }
    /* end hide */
    body {
    background-color: #222222;
    margin: 0px;
    padding: 0px;
    height: 100%;
    }
    #forAdmin { display: none;}
    </style>

    to this:

    <script type="text/javascript" src="../galerie/imagevue/javascript/swfobject.js"></script>

    <script type="text/javascript" src="../galerie/imagevue/javascript/swfaddress.js"></script>
    <style type="text/css">
    /* hide from ie on mac \*/
    html {
    height: 100%;
    overflow: auto;
    }
    #imagevue {
    height: 100%;
    }
    /* end hide */
    body {
    background-color: #222222;
    margin: 0px;
    padding: 0px;
    height: 100%;
    }
    #forAdmin { display: none;}
    </style>
    IP

  5. #5
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Bottom part of page gets cut off

    Quote Originally Posted by Yellosub View Post
    I cannot figure out why this happens.
    That is happening because in the head placeholder you add a stylesheet that disables page scrollers. Here:
    Code:
    html {
    				height: 100%;
    				overflow: hidden;
    			}
    Simply remove this: "overflow: hidden;" from your head placeholder. Here's the fixed code for your head placeholder:
    Code:
    <script type="text/javascript" src="../galerie/imagevue/javascript/swfobject.js"></script>
    
    		<script type="text/javascript" src="../galerie/imagevue/javascript/swfaddress.js"></script>
    		<style type="text/css">
    			/* hide from ie on mac \*/
    			html {
    				height: 100%;
    			}
    			#imagevue {
    				height: 100%;
    			}
    			/* end hide */
    			body {
    				background-color: #222222;
    				margin: 0px;
    				padding: 0px;
    				height: 100%;
    			}
    			#forAdmin { display: none;}
    		</style>
    John.
    IP

  6. #6

    Default Re: Bottom part of page gets cut off

    There you go Yellowsub - 2 ways to deal with the same thing
    IP

  7. #7
    Join Date
    Aug 2004
    Location
    Ukraine
    Posts
    3,904

    Default Re: Bottom part of page gets cut off

    Arghh... Steve, I had missed your post...
    It's essentially the same solution.
    John.
    IP

  8. #8
    Join Date
    Mar 2001
    Location
    Germany
    Posts
    47

    Default Re: Bottom part of page gets cut off

    Super, problem solved. Thanks a lot for finding my 'bug'!!

    Nothing beats Xara and especially this forum :-)
    IP

 

 

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
  •