DeathEaters Darling
Wäre super wenn mir das jemand machen könnte.. ich fange bald an zu weinen :/
DeathEaters Darling
DJ Fotoart
Guest
DeathEaters Darling
DJ Fotoart
Guest
DeathEaters Darling
DJ Fotoart
Guest
In jede Seite in den Head Bereich auf der eine Galerie erscheinen soll.muss ich die js scripte in die index.php eintragen oder in die css file?
DeathEaters Darling
DeathEaters Darling
<b class="error">Konzert-Galerie</b>
<script type="text/javascript" src="/hailiedesign/js/prototype.js"></script>
<script type="text/javascript" src="/hailiedesign/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="/hailiedesign/js/lightbox.js"></script>
<link rel="stylesheet" href="/hailiedesign/css/lightbox.css" type="text/css" media="screen" />
<a href="/hailiedesign/images/image-1.jpg" rel="lightbox" title="hailiedesign/images">image #1</a>
<?php
$defaultpage="frontpage";
if(isset($_GET['page']))
{$page=$_GET['page'];}
else
{$page=$defaultpage;}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Hailie design</title>
<link href="styles/phoenix.css" rel="stylesheet" type="text/css" />
<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.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
//-->
</script>
<script type="text/javascript" src="hailiedesign/js/prototype.js"></script>
<script type="text/javascript" src="hailiedesign/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="hailiedesign/js/lightbox.js"></script>
<link rel="stylesheet" href="hailiedesign/css/lightbox.css" type="text/css" media="screen" />
</head>
<body onload="MM_preloadImages('c_img/nav/about_over.jpg','c_img/nav/blog_over.jpg','c_img/nav/contact_over.jpg','c_img/nav/dates_over.jpg','c_img/nav/effect_over.jpg','c_img/nav/forum_over.jpg','c_img/nav/gallery_over.jpg','c_img/nav/home_over.jpg','c_img/nav/interviews_over.jpg','c_img/nav/join_over.jpg','c_img/nav/links_over.jpg','c_img/nav/media_over.jpg','c_img/nav/st_over.jpg','c_img/nav/team_over.jpg','c_img/nav/videos_over.jpg','c_img/nav/vote_over.jpg')">
<div id="wrapper">
<div id="header"></div>
<div id="content">
<div id="navigation">
<div id="navtop"></div>
<a href="?page=frontpage" class="home"></a>
<a href="?page=about" class="about"></a>
<a href="?page=effect" class="effect"></a>
<a href="?page=dates" class="dates"></a>
<a href="?page=interviews" class="interviews"></a>
<a href="?page=media" class="media"></a>
<a href="?page=illu" class="illu"></a>
<a href="?page=vote" class="vote"></a>
<a href="?page=vid" class="videos"></a>
<a href="?page=gallery" class="gallery"></a>
<a href="?page=team" class="team"></a>
<a href="?page=st2" class="st2" target="_blank"></a>
<img src="c_img/nav/nav_bot.jpg" border="0"/>
<a href="?page=join" class="join"></a>
</div>
<div id="mainarea">
<?
if(file_exists("pages/$page.php"))
{include("pages/$page.php");}
else{include("pages/404.php");}
?>
</div>
<?php
if($page=="frontpage" OR $page=="news")
{include"pages/latestnews.php";}
?>
<div id="clearer"></div>
</div>
<div id="footer"></div>
</div>
</body>
</html>
DJ Fotoart
Guest
dauni
Guest
<script type="text/javascript" src="/hailiedesign/js/prototype.js"></script>
<script type="text/javascript" src="/hailiedesign/js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="/hailiedesign/js/lightbox.js"></script>
<link rel="stylesheet" href="/hailiedesign/css/lightbox.css" type="text/css" media="screen" />
DeathEaters Darling
DeathEaters Darling
Außerdem solltest du nur im head-Bereich auf die *.js verweisen.
Das
lässt du nur in der index.php, da sie scheinbar für alle Seiten zuständig ist und dann nur die Inhalte lädt.HTML:<script type="text/javascript" src="/hailiedesign/js/prototype.js"></script> <script type="text/javascript" src="/hailiedesign/js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="/hailiedesign/js/lightbox.js"></script> <link rel="stylesheet" href="/hailiedesign/css/lightbox.css" type="text/css" media="screen" />
Desweiteren musst du entweder absolut auf "/hailiedesign/js/lightbox.js" oder relativ auf "js/lightbox.js" - so wie es Bahamut bereits angemerkt hat
dauni
Guest
<?php
$defaultpage="frontpage";
if(isset($_GET['page']))
{$page=$_GET['page'];}
else
{$page=$defaultpage;}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Hailie design</title>
<link href="styles/phoenix.css" rel="stylesheet" type="text/css" />
<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];}}
}
//-->
</script>
<script type="text/javascript" src="js/prototype.js"></script>
<script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />
</head>
DeathEaters Darling
DeathEaters Darling
DeathEaters Darling
Willkommen auf PSD-Tutorials.de
In unseren Foren vernetzt du dich mit anderen Personen, um dich rund um die Themen Fotografie, Grafik, Gestaltung, Bildbearbeitung und 3D auszutauschen. Außerdem schalten wir für dich regelmäßig kostenlose Inhalte frei. Liebe Grüße senden dir die PSD-Gründer Stefan und Matthias Petri aus Waren an der Müritz. Hier erfährst du mehr über uns.
Nächster neuer Gratisinhalt
Statistik des Forums