firejdl
07-17-2003, 06:26 PM
Hello:
I would like to move some javascript code [specifically Dynamic Drive's Fading Scroller - http://www.dynamicdrive.com/dynamicindex2/fadescroll.htm] either offpage, in a .js [or whatever] file, or move it to another portion of the page, for search engine optimization purposes. I tried moving the script to a linked file, but, since it generates content on the page, that didn't work. Moving the code to another section on the page also moves the text.
The only other way I could think of, was to tell the script to make the text appear in a certain box by naming the td cell. However, I don't know much about Javascript [and we don't have a Javascript book where I work yet], so I don't know how this would be accomplished.
Would it be possible like this? Is there any other [better?] way to do this?
You can see the pages I'm trying to move the javascript on at this link: http://www.5starps.com/.
[And yes, I just noticed that the table is resizing itself with the fader...]
Any help would be appreciated. Thanks in advance.
~ Joey
P.S. I posted this here rather than in the Dynamic Drive section, because this could apply to any Javascript that creates body content.
I would like to move some javascript code [specifically Dynamic Drive's Fading Scroller - http://www.dynamicdrive.com/dynamicindex2/fadescroll.htm] either offpage, in a .js [or whatever] file, or move it to another portion of the page, for search engine optimization purposes. I tried moving the script to a linked file, but, since it generates content on the page, that didn't work. Moving the code to another section on the page also moves the text.
The only other way I could think of, was to tell the script to make the text appear in a certain box by naming the td cell. However, I don't know much about Javascript [and we don't have a Javascript book where I work yet], so I don't know how this would be accomplished.
Would it be possible like this? Is there any other [better?] way to do this?
You can see the pages I'm trying to move the javascript on at this link: http://www.5starps.com/.
[And yes, I just noticed that the table is resizing itself with the fader...]
Any help would be appreciated. Thanks in advance.
~ Joey
P.S. I posted this here rather than in the Dynamic Drive section, because this could apply to any Javascript that creates body content.