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: items[...].height error
tucker
Newbie

Posts: 1
Registered: 1/17/2004
Member Is Offline
posted on 1/17/2004 at 09:58 PM Reply With Quote
items[...].height error


I can't get the scroll to work. I am getting an error saying:

'items[...].height' is null or not an object

I have size set to 500, 35 in scroll.tpl0.js

Any suggestions? Thanks.
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 1/20/2004 at 09:44 AM Reply With Quote

You've probably mistaken at items' definition. Please check your ITEMS var, it should not caontain empty items, e.g.:
{
'file': '',
'content': 'content1',
'pause_b': 1,
'pause_a': 0
},
,
//^ This mean an empty item with no members, and causes scroller error.
{
'file' : '',
'content' : 'content2',
'pause_b' : 1,
'pause_a' : 0
}
View User's Profile View All Posts By User U2U Member
JugglingReferee
Junior Member

Posts: 3
Registered: 4/22/2003
Location: Waterloo, Ontario, Canada
Member Is Offline
posted on 1/25/2004 at 04:42 AM Reply With Quote

Hmm...

I assigned a string to content (= content1). Should it be a specific value?

With 'content'='content1', the script still fails.

Ideas anyone?


Problem solved: remove the last comma in the scroll.tpl0.js file. The file should end with a closing curly brace and a closing bracket.
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