PDA

View Full Version : Can't make these two work together



qwikad.com
07-03-2014, 05:02 PM
They fire fine separately, but will not work together. Is there a way to make them work?



<script>
window.onload = function(){

$('#slider1').lemmonSlider({
infinite: false
});
}
</script>


and



<script>
$(function() {
$(".panel img[title]").tooltip();
});
</script>

jscheuer1
07-04-2014, 05:53 AM
That's not enough information to know for sure what the trouble is. If I had to guess, er um just throw something out there that might work, I would try:


<script>
window.onload = function(){

$('#slider1').lemmonSlider({
infinite: false
});
$(".panel img[title]").tooltip();
}
</script>

If that doesn't take care of it and you want more help, please link to - on your site:

1) A page with just the first code (lemmonSlider) that works.
2) A page with just the second code (tooltip) that works.
3) A page that attempts to combine them but that doesn't work.