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,

Recommended Answers

All 2 Replies

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">


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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.