Solved

how to modify a scrolling text on event

Posted on 2004-04-28
3
195 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
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

808 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