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: Adding ITEMS in scroll.tp10.js causes whole script to fail
msdsrx
Junior Member

Posts: 2
Registered: 4/29/2006
Member Is Offline
posted on 4/29/2006 at 11:33 PM Reply With Quote
Adding ITEMS in scroll.tp10.js causes whole script to fail


Scroller works fine, but when I try to add ITEMS (new HTML files located in ts_files) in scroll.tp10.js by copying and pasting the code chunk and just changing the external filename the whole script fails (scroller disappears). I carefully checked syntax after c/p'ing and it looks right. When I delete my additions it works again!

This works:
ITEMS = [
{
'file': '../s0_data/cont2.html',
'content': '',
'pause_b': 2,
'pause_a': 1
},
{
'file': '../s0_data/cont1.html',
'content': '',
'pause_b': 2,
'pause_a': 1
}
]

This doesn't:
ITEMS = [
{
'file': '../s0_data/cont2.html',
'content': '',
'pause_b': 2,
'pause_a': 1
},
{
'file': '../s0_data/cont1.html',
'content': '',
'pause_b': 2,
'pause_a': 1
},
{
'file': '../s0_data/cont3.html',
'content': '',
'pause_b': 2,
'pause_a': 1
}
]
View User's Profile View All Posts By User U2U Member
msdsrx
Junior Member

Posts: 2
Registered: 4/29/2006
Member Is Offline
posted on 5/7/2006 at 09:50 AM Reply With Quote

Issue now resolved (bad filename) and scroller working fine.

http://mindplace.com/
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Scroller
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
   
Tigra Scroller PRO
Product Demonstrations Live Demos
Vertical automatic scrolling
Horizontal manual scrolling
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


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