Guest nbflint Posted February 27, 2006 Report Share Posted February 27, 2006 Is it possible, and if how, to reduce the amount of space between the boxes on the pedigree view? At Flint Family History I have TNG open in an iFrame and that particlar page is a little too wide so I end up having to scroll horizontally (heaven forbid).Anyone know about this one? Quote Link to comment Share on other sites More sharing options...
Guest nbflint Posted February 27, 2006 Report Share Posted February 27, 2006 I've looked at the Pedigree Settings in the General Settings section before but missed t his setting. If anyone needs it for anything here it is:Box Horizontal Separation: This adjusts the space between the boxes. Quote Link to comment Share on other sites More sharing options...
theKiwi Posted February 27, 2006 Report Share Posted February 27, 2006 Is it possible, and if how, to reduce the amount of space between the boxes on the pedigree view? At Flint Family History I have TNG open in an iFrame and that particlar page is a little too wide so I end up having to scroll horizontally (heaven forbid).Go to the Admin area ------> Setup and Configuration ------> Pedigree settings and there's a load of settings in there. Read the Help so you find what setting you want/need to change. (Box Horizontal Separation)I'm kinda curious though - you're worried about the pedigree charts being too wide, but the very first thing I clicked on your site was an image in the scrolling image area on the right, and that opened with both a horizontal AND vertical scroll bars in the iFrame.Roger Quote Link to comment Share on other sites More sharing options...
Guest nbflint Posted February 27, 2006 Report Share Posted February 27, 2006 Hi Roger, Thanks for the reply. I didn't write the nukeTNG module (used to incorporate phpNuke and TNG on my site) until well after I had added the pictures to my TNG site. The reason for the horizontal and vertical scrolls on the photo page is that the photo is too big to display so nukeTNG resizes the iFrame to fit the page. That way the main site page stays the same but the iFrame content needs to be scrolled. I would very much be interested in a way to display the photo page so that the photo did much the same thing as I do with the resizing of the iFrame. (Hmm, maybe I could make something like that work. . .in answering your post I just had an idea that might work. Perhaps I could change the code on the photo page to have the photo open in an iframe that resizes according to the size of the photo.)Thanks again for the reply, i think you just gave me more work. . . Quote Link to comment Share on other sites More sharing options...
Guest nbflint Posted February 27, 2006 Report Share Posted February 27, 2006 Thanks to Roger for the inspiration for this little Mod. If you have large images like census files from Ancestry.com this may be just what you need. This mod displays the photo on showphoto.php in an iFrame. (In Firefox: The iFrame upon initial load shows a reduced size image that fits completely in the iFrame. Just click the image and it zooms within the iFrame.) If the image is larger then the iFrame it can easily be scrolled. Personally, I've wanted to do something like this for a long time but didn't get the idea until I was responding to an earlier post. To see an example of this click here.To implement this open your showphoto.phpFind: <img src="<?php echo $photosrc; ?>" border="0" <?php echo "$size[3]$mapstr"; ?> alt="<?php echo "$description"; ?>"> at approx line 255. Replace with: <IFRAME NAME="Frame1" SRC="<?php echo $photosrc; ?>" width="700" height="500"> <img src="<?php echo $photosrc; ?>" border="0" <?php echo "$size[3]$mapstr"; ?> alt="<?php echo "$description"; ?>"> </IFRAME> If this page is opened in a browser that does not support iFrames, it will display the page as normally would happen if the iFrame were not in use. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.