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
Author: Subject: Style Sheet question
esm
Member

Posts: 39
Registered: 1/7/2004
Member Is Offline
posted on 12/10/2004 at 06:24 PM Reply With Quote
Style Sheet question


If I understand it correctly, each scroller instance requires its own indexed style sheet. Is it possible to run a multitude of scollers (one at a time) off the same style sheet?
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 12/13/2004 at 08:58 AM Reply With Quote

if you open scroll.html you'll find where css file is defined:
document.write("<script language='javascript' src='scroll.tpl" + n_id + ".js'></script><link rel='stylesheet' href='scroll" + n_id + ".css'>")
You could use your own logic to select stylesheet (using n_id, or not, or other logic). Note n_id - index of the scroller.
View User's Profile View All Posts By User U2U Member
esm
Member

Posts: 39
Registered: 1/7/2004
Member Is Offline
posted on 12/13/2004 at 02:39 PM Reply With Quote

Sounds good, I'll try that.

Thanks
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos:
Multiple vertical scrolling
Horizontal scrolling
Free Download Free Download
Product Documentation Documentation:
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
   

Go To Top


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