I am using this bgstretcher jquery plugin to go with my site [URL=“http://shadow.sachistudio.com/”]here.
There seems to be a conflict with the bgstretcher.js file whereby my #nav div can’t display the appropriate text because the .js file contains li elements which is being mistaken by the nav ul li html element.
I don’t know much about jquery and only know enough to use them but not fix them. Does anyone have suggestions on how to get around this issue?
The bulk of code that seems to cause the issue is
$.fn.bgStretcher.pagination = function(){
var l = $(allLIs).length;
var output = ''; var i = 0;
if (l > 0) {
output += '<ul>';
for (i = 0; i < l; i++){
output += '<li><a href="javascript:;">'+(i+1)+'</a></li>';
}
output += '</ul>';
$($.fn.bgStretcher.settings.pagination).html(output);
$($.fn.bgStretcher.settings.pagination).find('LI:first').addClass('showPage');
$($.fn.bgStretcher.settings.pagination).find('A').click(function(){
if ($(this).parent().hasClass('showPage')) return false;
$(allLIs).stop(true, true);
$.fn.bgStretcher._clearTimeout();
$.fn.bgStretcher.slideShow($.fn.bgStretcher.settings.sequenceMode, $($.fn.bgStretcher.settings.pagination).find('A').index($(this)));
return false;
});
}
return false;
Using Firebug, It seems that my code shows up as li class=“showpage”<a href=“javascript”:;">1</a>
rather than li <a href=“#”>Home</a>