Jump to content

Recommended Posts

Posted

When i put the following code in, the slideshow works but i get the "no route passed" error when i try to add a bid, can anyone shed some light?

<html lang="en">

<head>

<title>Simplest jQuery Slideshow</title>

<style>

body {font-family:Arial, Helvetica, sans-serif; font-size:12px;}

.fadein {

position:relative; height:250px; width:900px; margin:0 auto;

background: url("slideshow-bg.png") repeat-x scroll left top transparent;

padding: 10px;

}

.fadein img { position:absolute; left:10px; top:10px; }

</style>

<script src="http://ajax.googleap...n.js"></script>

<script>

$(function(){

$('.fadein img:gt(0)').hide();

setInterval(function(){$('.fadein :first-child').fadeOut().next('img').fadeIn().end().appendTo('.fadein');}, 3000);

});

</script>

</head>

<body>

<div class="fadein">

<img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/1.jpg"height="250" width="900">

<img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/2.jpg"height="250" width="900"">

<img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/3.jpg"height="250" width="900"">

<img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/4.jpg"height="250" width="900"">

<img src="<?php echo SITE_URL?>/lib/skins/ObsessBlue/image/5.jpg"height="250" width="900"">

</div>

</body>

</html>

  • Members
Posted

Most posibly jquery incorpatibility or you are loading jquery 2 times have a look at the source code of your site and try to remove the jquery line from your header.tpl

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.

Loading...
×
×
  • Create New...