Jump to content

Recommended Posts

hey.

 

i recent downloaded a free gallery from http://tn3gallery.com/. but i got this problem when i click view in full screen i can see my header & footer flash.

 

heres a test page:

http://www.lassejensenbang.dk/kent/gallery.php

 

if you need any more files to be linked, please say so, realy need to fix this  :)

 

Thanks

 

best regards

Lasse

 

header.php

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><?php echo $page_title; ?></title>


<style type="text/css">

#content {width:620px; margin:0px auto;}
#desc {margin:10px; float:left; font-family: Arial, sans-serif; font-size: 12px;}
</style>

<!-- include CSS always before including js -->
<link type="text/css" rel="stylesheet" href="skins/tn3/tn3.css"></link>
<!-- include jQuery library -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<!-- include tn3 plugin -->
<script type="text/javascript" src="js/jquery.tn3lite.min.js"></script>

<!--  initialize the TN3 when the DOM is ready -->
<script type="text/javascript">
$(document).ready(function() {
	//Thumbnailer.config.shaderOpacity = 1;
	var tn1 = $('.mygallery').tn3({
skinDir:"skins",
imageClick:"fullscreen",
image:{
maxZoom:1.5,
crop:false,
clickEvent:"dblclick",
transitions:[{
type:"blinds"
},{
type:"grid"
},{
type:"grid",
duration:460,
easing:"easeInQuad",
gridX:1,
gridY:8,
// flat, diagonal, circle, random
sort:"random",
sortReverse:false,
diagonalStart:"bl",
// fade, scale
method:"scale",
partDuration:360,
partEasing:"easeOutSine",
partDirection:"left"
}]
}
	});
});
</script>

<!-- CSS INCLUDE -->
<link rel="stylesheet" type="text/css" href="style2.css" />
<link href="<?php echo $style; ?>" rel="stylesheet" type="text/css">
<!-- CSS INCLUDE -->


<script type="text/javascript">
<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script type="text/javascript" language="javascript" src="script.js"></script>
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body onload="menuSlider.init('menu','slide')">


<div id="wrapper" style="top:0px;padding-top:0px;margin-top:0px;">

<table align="center" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0">
  <tbody><tr>
    <td>

<div id="sidebarMain">
<div class="colorredtable">
<table align="center" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0">
  <tbody><tr>
    <td>
<div class="menu">


<ul id="menu" id="menu2" >

<li
<?php
if ($page_nav == 1)
{
    echo "value='1'";
} else {
echo "";
}
?>
>
<table height="50" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0"><tbody><tr>
<td valign="middle">
<a href="index.php">Forside</a>
</td></tr></tbody></table>
</li>

<li
<?php
if ($page_nav == 2)
{
    echo "value='1'";
} else {
echo "";
}
?>
>
<table height="50" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0"><tbody><tr>
<td valign="middle">
<a href="omos.php">Om os / Priser</a>
</td></tr></tbody></table>
</li> 

<li
<?php
if ($page_nav == 3)
{
    echo "value='1'";
} else {
echo "";
}
?>
>
<table height="50" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0"><tbody><tr>
<td valign="middle">
<a href="partytime.php">Party Time</a>
</td></tr></tbody></table>
</li> 


<li
<?php
if ($page_nav == 4)
{
    echo "value='1'";
} else {
echo "";
}
?>
>
<table height="50" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0"><tbody><tr>
<td valign="middle">
<a href="gallery.php">Galleri</a>
</td></tr></tbody></table>
</li> 


<li
<?php
if ($page_nav == 5)
{
    echo "value='1'";
} else {
echo "";
}
?>
>
<table height="50" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0"><tbody><tr>
<td valign="middle">
<a href="restaurant.php">Restaurant</a>
</td></tr></tbody></table>
</li> 


<li
<?php
if ($page_nav == 6)
{
    echo "value='1'";
} else {
echo "";
}
?>
>
<table height="50" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0"><tbody><tr>
<td valign="middle">
<a href="kidsklub.php">Kids Klub</a>
</td></tr></tbody></table>
</li>   

<li
<?php
if ($page_nav == 7)
{
    echo "value='1'";
} else {
echo "";
}
?>
>
<table height="50" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0"><tbody><tr>
<td valign="middle">
<a href="contact.php">Kontakt</a>
</td></tr></tbody></table>
</li>      


    </ul>
    <div id="slide"><div id="slideleft"></div><div id="slideright"></div></div>
</div>
</td></tr>
</tbody></table>
</div>

<embed width="801" height="116" src="flash_danish_files/newflash.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash">
  <table align="center" style="border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0">
  <tbody><tr>
    <td>
<div id="sidebarMain_2">

 

 

gallery.php :

<?php
$page_title = "Vizzlegeland.dk Galleri";
$style = "kontakt.css";
$page_nav = 4;
?>

<!-- FOOTER INCLUDE -->
<?php include 'header.php'; ?>
<!-- FOOTER INCLUDE -->





<div id="sideoverskrift">
Galleri
</div>
<div style="padding-top:20px;clear:both;"></div>

    <div id="content">
    <div class="mygallery">
<div class="tn3 album">
    <h4>Fixed Dimensions</h4>
    <div class="tn3 description">gallery with fixed dimensions</div>
    <div class="tn3 thumb">gallery/35x35/1.jpg</div>
    <ol>
	<li>
	    <h4>Hohensalzburg Castle</h4>
	    <div class="tn3 description">Salzburg, Austria</div>
	    <a href="gallery/620x378/1.jpg">
		<img src="gallery/35x35/1.jpg" />
	    </a>
	</li>
	<li>
	    <h4>Isolated sandy cove</h4>
	    <div class="tn3 description">Zakynthos island, Greece</div>
	    <a href="gallery/620x378/2.jpg">
		<img src="gallery/35x35/2.jpg" />
	    </a>
	</li>
	<li>
	    <h4>A view from the Old Town</h4>
	    <div class="tn3 description">Herceg Novi, Montenegro</div>
	    <a href="gallery/620x378/3.jpg">
		<img src="gallery/35x35/3.jpg" />
	    </a>
	</li>
	<li>
	    <h4>Walls of the Old Town</h4>
	    <div class="tn3 description">Kotor, Montenegro</div>
	    <a href="gallery/620x378/4.jpg">
		<img src="gallery/35x35/4.jpg" />
	    </a>
	</li>
	<li>
	    <h4>Boat in the port</h4>
	    <div class="tn3 description">Sousse, Tunis</div>
	    <a href="gallery/620x378/5.jpg">
		<img src="gallery/35x35/5.jpg" />
	    </a>
	</li>
	<li>
	    <h4>Wall of the Jain temple</h4>
	    <div class="tn3 description">Jaisalmer, India</div>
	    <a href="gallery/620x378/6.jpg">
		<img src="gallery/35x35/6.jpg" />
	    </a>
	</li>
	<li>
	    <h4>City park</h4>
	    <div class="tn3 description">Negotin, Serbia</div>
	    <a href="gallery/620x378/7.jpg">
		<img src="gallery/35x35/7.jpg" />
	    </a>
	</li>
	<li>
	    <h4>Taj Mahal mausoleum</h4>
	    <div class="tn3 description">Agra, India</div>
	    <a href="gallery/620x378/8.jpg">
		<img src="gallery/35x35/8.jpg" />
	    </a>
	</li>
	<li>
	    <h4>Zante Port</h4>
	    <div class="tn3 description">Zakynthos, Greece</div>
	    <a href="gallery/620x378/9.jpg">
		<img src="gallery/35x35/9.jpg" />
	    </a>
	</li>
	<li>
	    <h4>Rustovo Monastery</h4>
	    <div class="tn3 description">Budva, Montenegro</div>
	    <a href="gallery/620x378/10.jpg">
		<img src="gallery/35x35/10.jpg" />
	    </a>
	</li>
	<li>
	    <h4>The Mezquita, Cathedral and former Great Mosque</h4>
	    <div class="tn3 description">Cordoba, Spain</div>
	    <a href="gallery/620x378/11.jpg">
		<img src="gallery/35x35/11.jpg" />
	    </a>
	</li>
	<li>
	    <h4>Wine Cellars</h4>
	    <div class="tn3 description">Rajac, Serbia</div>
	    <a href="gallery/620x378/12.jpg">
		<img src="gallery/35x35/12.jpg" />
	    </a>
	</li>
	<li>
	    <h4>test</h4>
	    <div class="tn3 description">test, test</div>
	    <a href="gallery/620x378/8789.jpg">
		<img src="gallery/35x35/8789.jpg" />
	    </a>
	</li>
    </ol>
</div>
    </div>
</div>



<!-- FOOTER INCLUDE -->
<?php include 'footer.php'; ?>
<!-- FOOTER INCLUDE -->

 

footer.php :

</div>
</td>
  </tr>
</tbody></table>
<div class="footer">

<table align="center" style="background-color:#FFFFFF;border-collapse:collapse;border-spacing:0px;" border="0" cellspacing="0" cellpadding="0">
  <tbody><tr>
    <td>

<div style="overflow:hidden;width:800px;float:left;aling:left;">
<embed width="801" height="212" src="flash_danish_files/footerbar.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash">

<div style="clear:both;"></div>
<div class="style11" id="apDiv23">
  <div align="center"><span class="style12"><a href="../danish_home_page.html">Forside:</a> | <a href="dane_about_us.html">Om Os/Priser:</a> | <a href="dane_party_time_at_vizz.html">Party Time:</a> | <a href="dane_events_and_special_offers.html">Begivenheder:</a> | <a href="dane_family_restaurant.html">Restaurant:</a> | <a href="dane_kids_club.html">Kids Klub:</a> | <a href="dane_membership.html">Madlemskab</a></span><a href="dane_membership.html">:</a></div>
</div>

</div>


	</td>
  </tr>
</tbody></table>	
</div>


</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/245870-flash-overlapping-my-gallery/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.