i have an aspx page that uses jquery's AJAX methods to populate a div at the bottom of the page. i created a user control for the tigra slider. this
user control (along with many others) is rendered into the contents of said div (that's populated using AJAX). when i make this AJAX call, the slider
renders, but it's totally by itself. there is absolutely nothing else on the page except for the slider. all other contents of the page are
lost...including the stuff above the div. it's very strange and i'm not sure how to fix it. i've used the slider directly on an aspx page and it
can anyone help with some suggestions?
The slider is designed to be initialized during the page loading. When called in loaded page document.write(..) method the slider uses to generate the HTML can cause the effect you described. The script has to be rewritten to utilize innerHTML property of the div or to use another technique to make it compatible with your application.
thank you for responding. i'm still a little confused as to how to fix the situation. you said that i have to rewrite the slider.js script to utilize
the innerHTML property of the DIV. do you mean the DIV that is the slider? or the DIV that is going to contain the rendered slider? i see on line 33
of slider.js is where the document.write() method is called...is this what i'm supposed to be modifying?
thanks for your help!
You'll be modifying the innerHTML of the div containing the slider. There may be other issues, but it is doable.