# JS buggers up my DHTML fx

**URL:** <https://forum.kirupa.com/t/js-buggers-up-my-dhtml-fx/19300>\
**Category:** web dev\
**Created:** [April 26, 2003, 8:43am UTC](https://forum.kirupa.com/t/js-buggers-up-my-dhtml-fx/19300 "2003-04-26T08:43:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sykes](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@sykes](https://forum.kirupa.com/u/sykes)\
**Post date:** [April 26, 2003, 8:43am UTC](https://forum.kirupa.com/t/js-buggers-up-my-dhtml-fx/19300/1 "2003-04-26T08:43:06Z")

</div>

I have a page which has 6 two-line texts that fly in on page load.

This works fine until i decide to add a news-ticker thingy with jscript.

Here’s the code:

\<a href=“[http://www.student.city.ac.uk/~et198/news\_ticker.txt](http://www.student.city.ac.uk/~et198/news_ticker.txt)”\>News Ticker \</a\>

The fly-in texts just don’t fly in after this addition. This also disables my fly-in texts in dreamweaver…

I have tried making other test pages but no luck.

Thank you to anyone with answers \<:}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 26, 2003, 3:17pm UTC](https://forum.kirupa.com/t/js-buggers-up-my-dhtml-fx/19300/2 "2003-04-26T15:17:09Z")

</div>

the reasons for two scripts suddenly not working when put on the same page can be many, including duplication in the two scripts’ variable names, functions, or access to an event handler (ie: body onload=…). The most common conflict is the last of the three.

Check out [this](http://www.wsabstract.com/javatutors/multiplejava.shtml) article, it’ll help you out! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 28, 2003, 12:02pm UTC](https://forum.kirupa.com/t/js-buggers-up-my-dhtml-fx/19300/3 "2003-04-28T12:02:32Z")

</div>

cheerz for that, i understand what the problem is now… :nerd:

but i’ve tried rectifying it and i’m not getting the result needed… I’m not too good with JS… I tried adding \<i\>marqueecontent\</i\> after \<i\>dynanimation\</i\> in the body tag, but i’m probably doing it wrong… :+)

Here’s the \<a href=“[http://www.student.city.ac.uk/~et198/boo/proj/FPindex2.htm](http://www.student.city.ac.uk/~et198/boo/proj/FPindex2.htm)”\>original\</a\> page.

This is the page with the \<a href=“[http://www.student.city.ac.uk/~et198/bpp/proj/FPindex3.htm](http://www.student.city.ac.uk/~et198/bpp/proj/FPindex3.htm)”\>JS.\</a\> The news ticker script is lines 139-220.

Thank you for any help :love:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 28, 2003, 12:06pm UTC](https://forum.kirupa.com/t/js-buggers-up-my-dhtml-fx/19300/4 "2003-04-28T12:06:09Z")

</div>

Sorry, this is the \<a href=“[http://www.student.city.ac.uk/~et198/boo/proj/FPindex3.htm](http://www.student.city.ac.uk/~et198/boo/proj/FPindex3.htm)”\>JS page.\</a\> The ‘problem’ script is still lines 139-220.

Thanks 🔗
