Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread Poll:
Author: Subject: slider renders strangely
TuBuGuRL
Junior Member

Posts: 2
Registered: 5/24/2007
Member Is Offline
posted on 5/24/2007 at 08:23 PM Reply With Quote
slider renders strangely


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 renders perfectly.

can anyone help with some suggestions?
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 5/25/2007 at 03:30 PM Reply With Quote

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.
View User's Profile View All Posts By User U2U Member
TuBuGuRL
Junior Member

Posts: 2
Registered: 5/24/2007
Member Is Offline
posted on 5/25/2007 at 05:39 PM Reply With Quote

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!
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 5/25/2007 at 09:59 PM Reply With Quote

You'll be modifying the innerHTML of the div containing the slider. There may be other issues, but it is doable.
View User's Profile View All Posts By User U2U Member
Post new thread Poll:

Related Links:
Product Page
Product Demonstrations Live Demos
Multiple Designs
Equalizer
Free Download Free Download
Product Documentation Documentation:
Documentation Page
Change Log
Support Forum Support Forum

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004