Great! Thanks so much for the help! so is this correct for the call then?
var $j = jQuery.noConflict(); $j(document).ready(function() { //Function for the Inner Fade News Ticker $j('.NewsLC').innerfade({ animationtype: 'fade', speed: 700, timeout: 9000, type: 'random', containerheight: '30.0em' }); }); if( $j('#SpeakerDIV').length ) { $j('#SpeakerDIV').Accordion({ showSpeed: 250, hideSpeed: 250, header: '.SpeakerTitle', active: false, alwaysOpen: false, animated: true }); }); Thank you soooo much for your help and patience!!!!!! On Jul 26, 11:15 am, Stephan Beal <[EMAIL PROTECTED]> wrote: > On Jul 26, 4:48 pm, Aaron <[EMAIL PROTECTED]> wrote: > > > Is there a way to have it work if there is an element but if no > > element on the page dont throw an error? > > a) hack the plugin source code > or > b) add a hidden accordion-compatible element to pages which don't > normally have one (that would be an ugly kludge, though). > > Or check for the accordion with something like: > > if( $('#AccordionID').length ) { > ... do accordion stuff ... > > > > }- Hide quoted text - > > - Show quoted text -