Board Logo

Working in IE NOT in FireFox (Keeps original data in scroll.tpl0.js)
lou-in-usa - 1/29/2009 at 04:06 PM

I changed the 'content' in the scroll.tpl0.js file which shows the new data in IE but FireFox still scrolls the original 'content' data. Is this some sort of caching problem?

Also I have found that I cannot put more than 4 'content' sections or else it does not scroll anything in IE.
Thanks...


tigra - 1/29/2009 at 07:44 PM

Most likely this is the result of the syntax error in the configuration. Watch commas: all scroller items must be separated by commas, there should be no comma after the last item.


lou-in-usa - 1/30/2009 at 12:31 AM

OK here is my code. Why would this work in IE but it still scrolls the sample content in Firefox?
ADDENDUM:
Today after I uploaded a site "flavicon" the new scroll data appeared in FireFox. I can only think it is a FF caching issue. This is a little disconcerting as changes to the scroll may not be updated to all visitors. If anybody knows what is going on please post.

var LOOK = {
// scroller box size: [width, height]
'size': [300, 72]
},

BEHAVE = {
// autoscroll - true, on-demand - false
'auto': true,
// vertical - true, horizontal - false
'vertical': true,
// scrolling speed, pixels per 40 milliseconds;
// for auto mode use negative value to reverse scrolling direction
'speed': 5
},

// 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': '',
'content': '<b>Play today!</b>',
'pause_b': 7,
'pause_a': 0
},
{
'file': '',
'content' : '<b>Play with friends</b>',
'pause_b': 7,
'pause_a': 0
},
{
'file': '',
'content' : '<b>Keep it now and tommorow</b>',
'pause_b': 7,
'pause_a': 0
},

{
'file': '',
// note: image path is relative to the ts_files directory
'content' : '<b>be honest</b>',
'pause_b': 7,
'pause_a': 0
}
// add as many items here as you need.
// don't forget to separate them with commas, make sure there is no comma after the last item
]


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/