jquery sliderc mod

Hi friends

to make that work at the index file of template below the line template.css

Add this below lines

<?php
$view = JRequest::getVar(‘view’);
if($view == ‘frontpage’) {
?>
<script language=”javascript” type=”text/javascript” src=”https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js”></script&gt;
<script language=”javascript” type=”text/javascript” src=”http://gsgd.co.uk/sandbox/jquery/easing/jquery.easing.1.3.js”></script&gt;
<script language=”javascript” type=”text/javascript” src=”<?php echo JUri::root(); ?>modules/mod_sliderc/js/slides.min.jquery.js”></script>
<script>
$(function(){
$(‘#slides’).slides({
preload: true,
play: 5000,
pause: 2500,
hoverPause: true
});
});
</script>
<?php
} ?>

Advertisements
  1. I’m not that much of a online reader to be honest but
    your sites really nice, keep it up! I’ll go ahead and bookmark your website to come back later. All the best

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Advertisements
%d bloggers like this: