Solved

how to modify a scrolling text on event

Posted on 2004-04-28
3
199 Views
Last Modified: 2008-02-01
hello
I know to make an horizontal scrolling text(for example with the marquee balise).
But I need to modify the text on an event(for example onclick).
For example with 2 click boxes,clik,clak, with clik the scrolling text is -hello-
and with clak, the scrolling text is -bonjour-
Anticipate thanks   jack
0
Comment
Question by:jacno
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 4

Accepted Solution

by:
apprenti earned 125 total points
ID: 10940945
<marquee id="apprentismarquee">Eire</marquee>
<form name="f1">
<input type="checkbox" checked="checked" onclick='document.getElementById("apprentismarquee").innerHTML="Eire";document.f1.elements[1].checked=false'
/>Eire<br />
<input type="checkbox" onclick='document.getElementById("apprentismarquee").innerHTML="Cymru";document.f1.elements[0].checked=false'
/>Cymru<br /></form>
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question