Forum Moderators: open
but for some reason I cannot get it to work.
Thanks for any help
In your file "n_newsbar.js" wrap the whole ticker thing into a function like:
function myticker() {
...javascript stuff...
}
In the head:
<script language="JavaScript" src="n_newsbar.js" type="text/javascript"></script>
In the body:
<A HREF="javascript:void(0)" onMouseOver="myticker();">
<IMG SRC="imagefile.gif" NAME="myimage"></A>
Link to the script (with quoted attributes - tut, tut).
[blue]<script language="JavaScript1.2" src="n_newsbar.js"></script>[/blue] Maybe replace language with type="text/javascript"
Then we need to know what function we're calling....
-------------
It seems the script comes from here: [smartmenus.org ]
alright, what did I do: in the meantime I had tried whoisgregg´s suggestions that produced the empty window mentioned in #6 instead of the Dreamweaver stuff. It looked as follows:
wrapping of the whole script (which is from [smartmenus.org...]
function myticker() {...}
head: <script language="JavaScript" src="n_newsbar.js" type="text/javascript"></script>
body (inside <td>...</td> tags, which shouldn´t be a problem, I suppose): <A HREF="javascript:void(0)" onMouseOver="myticker();"><IMG SRC="images/led_red_shadow.gif" NAME="myimage"></A>
Cheers
Christian