PDA

View Full Version : My website - apnstudios.com is up, some help needed



neliconcept
04-08-2009, 01:28 PM
ok so my site is up for my photo portfolio, i have two galleries up suing slideshowpro, a plugin for lightroom and i cant figure out how to get my nav and logo closer to the images

example

http://www.apnstudios.com/beauty/beauty.html

see what i mean?

anybody decent with flash who could help me figure out to shorten the height of the actual flash part

Cebby
04-08-2009, 02:20 PM
You are using height: auto. Change to 70px or so to tighten it up. As far the flash window, that's something in Slideshowpro with that large offset on top. I'm sure it can be changed and doubt it is actual flash coding, more than likely CSS associated with it.

If you are using Firefox, download Firebug to diagnose sites.

avstanley
04-08-2009, 02:31 PM
The space on top of images could be associated with the header option in slide show pro. Even though you do not have a header it may have a hieght associated to it.

neliconcept
04-08-2009, 05:12 PM
only css on my page

height="100%" so i may check and see at 70% what that does

well unfortunately that did nothing, that was in the actual CSS

here i may just post the code in a quote


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Gallery title</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Gallery description" />

<!-- Published with SlideShowPro for Lightroom :: http://slideshowpro.net -->

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

<style type="text/css">
body,html {
background:#FFFFFF;
width:100%;
height:100%;
}
</style>

<script language="JavaScript">
<!--
// Permalinks option
function flashPutHref(href) { location.href = href; }

// Expand browser option
var eB = false;
if (eB) {
window.moveTo(0,0);
window.resizeTo (screen.availWidth, screen.availHeight);
}

// swffit sizing
var swf_pad = 20;
function initSwffit(w,h) {
// If you change name of the DIV the SWF is written at,
// change 'flashcontent' to the name of your DIV.
swffit.fit('flashcontent',w+swf_pad,h+swf_pad);
}

// SWFObject embed
var flashvars = {
paramXMLPath: "param.xml",
initialURL: escape(document.location)
}
var params = {
bgcolor: "#FFFFFF",
allowfullscreen: "true"
}
var attributes = {}
swfobject.embedSWF("loader.swf", "flashcontent", "100%", "100%", "9.0.0", "expressInstall.swf", flashvars, params, attributes);
/* below required for google chrome embed issue */
swffit.fit('flashcontent',0,0);
-->
</script>

</head>
<body>
<table width="770" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<th scope="col" width="385"><a href="http://www.apnstudios.com"><img src="logo.jpg" width="391" height="58" /></a></th>
<th scope="col"><table width="363" border="0" cellspacing="1" cellpadding="0">
<tr>
<th scope="col"><a href="beauty.html"><img src="beautylink.jpg" width="58" height="58" /></a></th>
<th scope="col"><a href="http://www.apnstudios.com/fashion/fashion.html"><img src="fashionlink.jpg" width="58" height="58" /></a></th>
<th scope="col"><a href="http://www.apnstudios.com/landscape/landscape.html"><img src="landscapelink.jpg" width="86" height="58" /></a></th>
<th scope="col"><a href="http://www.apnstudios.com/bio.html"><img src="biolink.jpg" width="27" height="58" /></a></th>
<th scope="col"><a href="http://www.apnstudios.com/contact.html"><img src="contactlink.jpg" width="61" height="58" /></a></th>
</tr>
</table>
</th>
</tr>

</table>

<div id="flashcontent">
This SlideShowPro photo gallery requires the Flash Player plugin and a web browser with JavaScript enabled.
</div>

</body>
</html>

garrett
04-08-2009, 10:44 PM
what happens if you delete ",h+swf_pad" from line 38?

or maybe just delete the "+swf_pad" so the "h" is still there.


// swffit sizing
var swf_pad = 20;
function initSwffit(w,h) {
// If you change name of the DIV the SWF is written at,
// change 'flashcontent' to the name of your DIV.
swffit.fit('flashcontent',w+swf_pad,h);
}

neliconcept
04-09-2009, 06:42 AM
let me try that

neliconcept
04-09-2009, 06:45 AM
ok well that didnt seem to do anything.

i have been thinking, about putting another table down and putting the div code for the flash content inside and restricting the height and see if that does anything