Dear Colls,

I have an onmouse over problem.

I need to swap JPG with HTML OR
to swap JPG with marquee text (moving text in left direction).
OR to swap Text with Marquee.

I have spend almost half day to do it, without success.

Could you help?

Thank you in advance,

6 Years
Discussion Span
Last Post by T992KTD

I would use JQuery (Look on google for it), place it in the same directory as your HTML page, and put this inside the page (This will get you started)

<script src="jquery.js"></script>
$(document).ready(function() {
	$("#swapBox").html('<img src="YourImage.jpg" />');
	$("#swapBox").mouseOver(function() {
		$(this).html('<img src="YourImage.jpg" />');
	$("#swapBox").mouseOut(function() {
		$(this).html('Some text here to fill in the box');


<div id="swapBox">

Edited by aniyishay: n/a



Thanks for your help.

I have tried but not working. Probably i explain the task not good.
So the task is - i have a text AAA1 adn when i go with mouse over him i need to be swaped to the marquee text (BBB1). I have tried to do with jpg and js, but still the same - not working. I will really appretiate if you could help me in this case.

Thanks again for your help

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.