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: vertical scroll direction quirky
hyperhappy
Junior Member

Posts: 3
Registered: 9/14/2005
Member Is Offline
posted on 9/14/2005 at 02:01 AM Reply With Quote
vertical scroll direction quirky


hey guys,

I just installed the scroller but it seems that i can't get the scrolling direction to work. The up arrow sometimes makes the content go down and the down arrow sometimes makes the content go up. Sometimes it works and sometimes it doesn't. Not sure what i have done wrong. I have tried using "-" numbers for the speed also. I AM CONFUSED, please help. The scroll is located here:
http://www.chromeimaging.com/scroll/scroll.html

The only code i changed was on the scroll.tpl1.js page:

var LOOK = {
// scroller box size: [width, height]
'size' : [300, 225],
// for on-demand mode: path to image for scrolling items backward
// if relative than to Tscroll_path_to_files
'up' : 'aup.gif',
// for on-demand mode: path to image for scrolling items forward
// if relative than to Tscroll_path_to_files
'dn' : 'adn.gif'
},
BEHAVE = {
// if scrolling mode is auto (true / false);
'auto' : false,
// if scrolling direction is vertical (true / false, false means horisontal)
'vertical' : true,
// scrolling speed, pixels per 40 miliseconds;
// for auto mode use negative value to reverse scrolling direction
'speed' : -8
},
// a data to build scroll window content
ITEMS = [
{ // file to get content for item from; if is set 'content' property doesn't matter
// only body of HTML document is taken to become scroller item content
// note: external files require time for loading
// it is RECOMMENDED to use content property to speed loading up
// please, DON'T forget to set ALL IMAGE SIZES
// in either external file or in 'content' string for scroller script
// to be able to estimate item sizes
'file': '../s0_data/cont1.html',
'content': '',
'pause_b': 2,
'pause_a': 1
}
}
]

Not sure what I am doing wrong. Please help.

Cheers!
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 9/14/2005 at 07:23 AM Reply With Quote

You have syntax error in the code, a correct syntax is:
ITEMS = [
{
.....
'pause_a': 1
}
]
View User's Profile View All Posts By User U2U Member
hyperhappy
Junior Member

Posts: 3
Registered: 9/14/2005
Member Is Offline
posted on 9/14/2005 at 09:00 PM Reply With Quote

Hey Rock,

Thanks for the swift reply.

I changed the code, still seems a bit finnicky. Sometimes it works, sometimes it doesn't. The new link is:

http://www.mindaxial.com/chrome/scroll/scroll.html

I've attached the code to just so you can see.

Thanks for your help, I really appreciate it.

Attachment: scroll.zip (14.5kb)
This file has been downloaded 923 times
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