Scroller Genie Support Product Page

This topic is locked
This topic was archived

Out of sync

Asked 04 Feb 2004 09:26:58
1
has this question
04 Feb 2004 09:26:58 Celia Durand posted:
Hi,
I'm having a problem with this scroller. It starts fine, but after a few loops it's out of sync. I have tried changing the vertical size of the different layers but it does not fix the problem. Please tell me what I'm doing wrong.
You can see a test page at:
www.raintreeeditors.com/test/test.htm
and
www.raintreeeditors.com/test/test2.htm
Thank you,
Celia

Replies

Replied 04 Feb 2004 10:15:00
04 Feb 2004 10:15:00 Marja Ribbers-de Vroed replied:
Currently, your scroller has 2 content layers, where the last content layer contains the texts for multiple (news?) entries.

Pausing after scrolling an X number of pixels works best with images, because their size is very predictable. But the size of text varies greatly. So when using text it is hard to predict the exact number of pixels to scroll between pauses, with the risk of going out of sync (as you're experiencing now).

So try placing each of those text entries in a separate content layer and set the scroller to pause after each content layer instead of after an X number of pixels.

Hope this helps.

--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 04 Feb 2004 10:31:24
04 Feb 2004 10:31:24 Celia Durand replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Currently, your scroller has 2 content layers, where the last content layer contains the texts for multiple (news?) entries.

Pausing after scrolling an X number of pixels works best with images, because their size is very predictable. But the size of text varies greatly. So when using text it is hard to predict the exact number of pixels to scroll between pauses, with the risk of going out of sync (as you're experiencing now).

So try placing each of those text entries in a separate content layer and set the scroller to pause after each content layer instead of after an X number of pixels.

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Thank you for your answer. To avoid that problem, I'm using cells of equal lenght inside each table in each content layer. Content layer 1 has 2 cells and content layer 2 has 3 cells.
I'll try your suggestion and I also would try with images (converting the text to images) and see if any of those solutions work.
Thank you,
Celia
Replied 04 Feb 2004 10:36:05
04 Feb 2004 10:36:05 Marja Ribbers-de Vroed replied:
Specifying a height attribute for tables and table cell is very unreliable, since not all browsers support this (actually, it is invalid HTML).
And I would avoid using images to replace your texts as well, because that unnecessarily increases page load.

Your best bet really is to define a separate content layer for each (news) entry.

--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 04 Feb 2004 11:14:02
04 Feb 2004 11:14:02 Celia Durand replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Specifying a height attribute for tables and table cell is very unreliable, since not all browsers support this (actually, it is invalid HTML).
And I would avoid using images to replace your texts as well, because that unnecessarily increases page load.

Your best bet really is to define a separate content layer for each (news) entry.

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Marja,
It worked. I'm using as you suggested a content layer for each text item. Thank you for all your help. This is a really very nice script.
Celia
Replied 04 Feb 2004 11:19:59
04 Feb 2004 11:19:59 Marja Ribbers-de Vroed replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>It worked. I'm using as you suggested a content layer for each text item. Thank you for all your help. This is a really very nice script.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Hi Celia,

Glad you've got it working now <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Maybe you can send me a link when your project is finished? I always like to see how people use my extensions.

Regards,

--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 21 Feb 2004 08:15:04
21 Feb 2004 08:15:04 Celia Durand replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
[Maybe you can send me a link when your project is finished? I always like to see how people use my extensions.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Hi Marja,

I'll send you the address as soon as the site is fully functional.

I have now 2 new problems for which I need your help for another site that I'm working on.

I'm using your scroller (horizontal) with 2 layers as a looping scroller. I want to change the contents of both content layers at the same time, using the on click behavior, but it only changes one layer, the last one.

The ideal will be to be able to change the whole container, no matter how many content layers it has, otherwise you run into the problem of maybe having a larger layer that the new content. I was able to solve this by dynamically changing the width of the layer. I tried using Auto instead, it works fine in IE but not in Netscape.

I also want to be able to click to change back to the original content without having to load another url. Any ideas? I could really use them.

Thanks,
Celia

Replied 21 Feb 2004 09:28:31
21 Feb 2004 09:28:31 Marja Ribbers-de Vroed replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>I'm using your scroller (horizontal) with 2 layers as a looping scroller. I want to change the contents of both content layers at the same time, using the on click behavior, but it only changes one layer, the last one.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>I really need to see your page to be able to comment on that.<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>The ideal will be to be able to change the whole container, no matter how many content layers it has, otherwise you run into the problem of maybe having a larger layer that the new content. I was able to solve this by dynamically changing the width of the layer. I tried using Auto instead, it works fine in IE but not in Netscape.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>This is not an Scroller Genie issue, but a browsers issue. They don't treat the width property of layers the same way as the height property. There's really not much that can be done about that. The only "solution" is to make a good guess about the width needed for the content layers and setting the 'width' property accordingly.
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>I also want to be able to click to change back to the original content without having to load another url. Any ideas? I could really use them.<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>That won't be possible.

--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/
Replied 27 Jun 2004 09:00:10
27 Jun 2004 09:00:10 Celia Durand replied:
Hi Marja,
Finally the first site using your scroller is fully functional, at least in English. We still have to add some text to the Spanish mirror.
www.raintreeeditors.com/samples/englishsamples.htm
Replied 27 Jun 2004 09:03:56
27 Jun 2004 09:03:56 Celia Durand replied:
Thank you for all your help. The second site is going to be more interesting. I'll show you when is ready.
I saw that the last version is now 1.16. Where can I find documentation showing the differences between versions?
Thanks again, Celia
Replied 27 Jun 2004 21:04:10
27 Jun 2004 21:04:10 Marja Ribbers-de Vroed replied:
Hi Celia,
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Thank you for all your help. The second site is going to be more interesting. I'll show you when is ready.
I saw that the last version is now 1.16. Where can I find documentation showing the differences between versions?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
There is not an official list of changes. When I release a new version, all current extension owners automatically receive a notification with some details of what's new or changed. But you only receive such emails when you haven't blocked email from DMXzone in your user profile, so if you have blocked DMXzone emails you may not have received those.

Anyway, new releases sometimes offer new functionalities and they almost always fix issues/bugs that were reported. So it's always best to upgrade to the newest version.

--
Marja Ribbers-de Vroed
www.flevooware.nl
www.flevooware.nl/dreamweaver/

Reply to this topic