sebbe hbk
Mapper - Hoster
Hello!
I saw this Slider on a website, MagmaOT - Latest News
But where do i put it into my layout.php? I have tried to put it inside but its just give me errors
Here is the script:
I saw this Slider on a website, MagmaOT - Latest News
But where do i put it into my layout.php? I have tried to put it inside but its just give me errors
Here is the script:
Code:
<link rel="stylesheet" href="ss.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js"></script>
<script src="js/slides.min.jquery.js"></script>
<script>
$(function(){
$('#slides').slides({
preload: true,
preloadImage: 'img/loading.gif',
play: 5000,
pause: 2500,
hoverPause: true
});
});
</script>
<div id="container">
<div id="example">
<div id="slides">
<div class="slides_container">
<div id="slidediv"><img src="ss/sc1.png" width="484" height="356" alt="Slide 1"><div id="slidediv_text">Tasks (miniquests) keep you busy!</div></div>
<div id="slidediv"><img src="ss/sc2.png" width="484" height="356" alt="Slide 2"><div id="slidediv_text">Let's play snake!</div></div>
<div id="slidediv"><img src="ss/sc3.png" width="484" height="356" alt="Slide 3"><div id="slidediv_text">Pacman!</div></div>
<div id="slidediv"><img src="ss/sc4.png" width="484" height="356" alt="Slide 4"><div id="slidediv_text">Together a game of bomberman.</div></div>
<div id="slidediv"><img src="ss/sc5.png" width="484" height="356" alt="Slide 5"><div id="slidediv_text">Test your luck in our casino.</div></div>
</div>
<a href="#" class="prev"><img src="img/arrow-prev.png" width="24" height="43" alt="Arrow Prev"></a>
<a href="#" class="next"><img src="img/arrow-next.png" width="24" height="43" alt="Arrow Next"></a>
Last edited: