Hallo zusammen,
ich nutze die neuste Webspell-Clan-Version und habe den Featured Contont Slider installiert.
Das Design meiner Seite hat mir damals jemand zerlegt und an Webspell angepasst, inkl. dem Slider.
Leider wurden damals die Next/Prev Buttons nicht mit rein genommen und Sie sind ohne Funktion.
Kann mir evtl. jemand sagen wie die Zeile aussehen muss um diese Buttons zu benutzen?
Kurze Info wenn ihr noch was benötigt und ich kümmere mich schnellst möglich darum.
Code:
<?php
// important data include
include("_mysql.php");
include("_settings.php");
include("_functions.php");
$_language->read_module('index');
$index_language = $_language->module;
// end important data include
?>
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Clanpage using webSPELL 4 CMS" />
<meta name="author" content="webspell.org" />
<meta name="keywords" content="webspell, webspell4, clan, cms" />
<meta name="copyright" content="Copyright © 2005 - 2011 by webspell.org" />
<meta name="generator" content="webSPELL" />
<title><?php echo PAGETITLE; ?></title>
<link href="_stylesheet.css" rel="stylesheet" type="text/css" />
<link href="navigation.css" rel="stylesheet" type="text/css" />
<link href="layout.css" rel="stylesheet" type="text/css" />
<link href="contentslider.css" rel="stylesheet" type="text/css" />
<script src="js/bbcode.js" language="JavaScript" type="text/javascript"></script>
<script type="text/javascript" src="js/contentslider.js"></script>
</head>
<body>
<div id="communityjoinbanner">
<a href="index.php?site=register"><img src="layout/069.png" alt="Registriert euch jetzt!" /></a>
</div>
<div id="footer-background"></div>
<div class="wapper">
<div class="login"><?php include("login.php"); ?></div>
<div style="background-image:url(layout/follow.png); width:81px; height:85px; position:fixed; background-attachment:scroll; float:right;
right:0px; top:150px; background-color:transparent;">
<div style="margin-top:10px; height:20px;"></div>
<div style="margin-top:15px; height:20px;"></div></div>
<div class="logo"></div>
<div class="slider">
<div id="slider">
<div id="slidepic">
<?php include("features.php"); ?>
</div>
<div style="float:left">
<div id="paginate-slider1" class="pagination">
<?php
$ergebnis=safe_query("SELECT * FROM ".PREFIX."features ORDER BY sort");
if(mysql_num_rows($ergebnis)) {
$n = 1;
while($db=mysql_fetch_array($ergebnis)) {
$url = $db['url'];
$title = $db['title'];
$text = $db['text'];
eval ("\$features_content2 = \"".gettemplate("features_content2")."\";");
echo $features_content2;
$n ++;
}
}
?>
<a href="javascript:void(0);" class="prev" style="padding-right:40px; padding-bottom:30px; position:relative; top:0px;
left:550px;"></a> <a href="#" class="next" style="padding-right:40px; padding-bottom:30px; position:relative;top:0px; left:555px;"></a>
</div>
</div>
<div class="clear"></div>
</div><!-- Slider End -->
<script type="text/javascript">
featuredcontentslider.init({
id: "slider1", //id of main slider DIV
contentsource: ["inline", ""], //Valid values: ["inline", ""] or ["ajax", "path_to_file"]
toc: "markup", //Valid values: "#increment", "markup", ["label1", "label2", etc]
nextprev: ["prev", "next"], //labels for "prev" and "next" links. Set to "" to hide.
enablefade: [true, 0.2], //[true/false, fadedegree]
autorotate: [true, 3000], //[true/false, pausetime]
onChange: function(previndex, curindex){ //event handler fired whenever script changes slide
//previndex holds index of last slide viewed b4 current (1=1st slide, 2nd=2nd etc)
//curindex holds index of currently shown slide (1=1st slide, 2nd=2nd etc)
}
})
</script>
</div><div class="slnext"></div> //Hier muss der Link dann rein für Next/Prev
<div class="navibg">
<div class="navi">
<ul id="nav">
<li class="web"><a href="index.php"></a></li>
<li class="web"><a href="index.php?site=news&action=archive"></a></li>
<li class="info">
// Rest der index.php hat nichts damit zutun
Hier ist der Link zur Seite:
http://www.schmutz-guild.de
Wäre super wenn mir wer helfen könnte :-)