Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6812

    Hi,

    I’m trying to use AviaSlider in an ASCX (.NET User Control).

    I do not have access to the Body tag or the Head Tag.

    (All documentation & examples assume I will have access to these. I do not.)

    Can you show how to initiate the Slider without using the HEAD or BODY tags?

    Thanks,

    CM

    #55558

    Hey,

    I’m not sure what you’re trying to achieve. You can include/call resources like css or js files? Or do you want to use inline html code only?

    #55559

    Hi,

    Yes – I can include resources. I have setup a slider using inline script & include tags – however custom.js does not seem to fire as it is not in the HEAD tag. Do i need some sort of document.onload() function?

    #55560

    Yes – you can fire up the slider with:

    $(document).ready(function(){

    //activate the lightbox
    jQuery('a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg]').prettyPhoto({theme: "light_square"});

    $('#fullwidth-fade-slider').aviaSlider();

    });

    And instead of #fullwidth-fade-slider insert your slider element.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘AviaSlider-How to fire it without using the or tag’ is closed to new replies.