[jQuery] Instantiation clash (I think)
Hey guys, no point going into detail yet, but both pieces of code work
independently here, it's just when they're put together it messes
things up. I assume it's an instantiation issue.
Would anyone care to help me experiment? The two function are below:
<!-- display footer logo tabs -->
<link type="text/css" href="<?php bloginfo
('stylesheet_directory'); ?>/scripts/javascript/css/smoothness/jquery-
ui-1.7.1.custom.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
$('#tabs').tabs();
});
</script>
<!-- logo scroller thanks to:
http://logicbox.net/jquery/simplyscroll/horizontal.html -->
<script type="text/javascript" src="<?php bloginfo
('stylesheet_directory'); ?>/scripts/javascript/simplyScroll/
jquery.simplyscroll-1.0.3.js"></script>
<link rel="stylesheet" href="<?php bloginfo
('stylesheet_directory'); ?>/scripts/javascript/simplyScroll/
jquery.simplyscroll-1.0.3.css" media="all"
type="text/css">
<script type="text/javascript">
(function($) {
$(function() {
//on DOM ready
$('#accreditors').simplyScroll({
autoMode: 'loop',
});
});
})(jQuery);
</script>
Cheers guys,
L