ok si i tried different ways of the above code with the
if( $j('#SpeakerDIV').length ) but i can not seem to figure out how to
get it to work.

On Jul 26, 2:05 pm, Aaron <[EMAIL PROTECTED]> wrote:
> 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 -- Hide quoted text -
>
> - Show quoted text -

Reply via email to