onMouseOver Help

This is a discussion on "onMouseOver Help" within the JavaScript Forum section. This forum, and the thread "onMouseOver Help are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jan 12th, 2006, 00:32
New Member
Join Date: Jan 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question onMouseOver Help

Hi everyone,

I'm the new guy on the block and I have been a Main Frame Programmer for about 30 years. I also have been doing Genealogy for about 35 years and I decided to teach myself JavaScript/HTML. I started to program my family tree using JavaScript and HTML and have done pretty well, if I do say so myself. (Not bad for an old guy).

I have always been one to look for ways to make something run better or look better while using a computer. However, I have come up agains a brick wall with this onMouseOver command.

This is what I would like to do, I have a home page with a Text name ("Lucy"). All I want to do is place the mouse over this name and have a picture pop up on the right side of the page. My picture is pic0050c.gif. Can anyone help me with the code???? This is my code.

<A HREF="pic0050c.htm" STYLE="color: green;"><b>Lucy</b></A>

Thanks,
Bighen

Last edited by Bighen; Jan 15th, 2006 at 01:47.
Reply With Quote

  #2 (permalink)  
Old Jan 12th, 2006, 02:37
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: onMouseOver Help

Ill move this to the javascript forums.

But if your using dreamweaver you could use the 'show hide layers' behaviour.
Reply With Quote
  #3 (permalink)  
Old Jan 13th, 2006, 11:18
New Member
Join Date: Jan 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: onMouseOver Help

I'm using Notepad
Reply With Quote
  #4 (permalink)  
Old Jan 24th, 2006, 20:17
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: onMouseOver Help

Lucky for you, I spent the morning studying js. (Of course if this doesn't work, I can always claim noob status)

Here's the easy way. Make "xxx.gif" the same color as your background and put it where you want your picture to appear.

Code: Select all
<img src="http://xxx.gif" name="whocutthecheese"><br>
<a href="#" onMouseOver="document.whocutthecheese.src='Lucynaked.gif';">Lucy</a><br>
I'm prettys sure that is valid. You shouldn't even need a script tag.

Last edited by masonbarge; Jan 24th, 2006 at 20:21.
Reply With Quote
Reply

Tags
onmouseover, help

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
popup div onmouseover pesho318i JavaScript Forum 2 Dec 28th, 2007 13:30
onmouseover not working in ff dab42pat JavaScript Forum 4 Nov 30th, 2007 14:10
onMouseOver <div> pops up next to mouse pointer - HOW? Love2Java JavaScript Forum 17 Aug 1st, 2007 19:42
OnMouseOver kookie09 JavaScript Forum 5 Apr 21st, 2005 23:20
OnMouseOver Action Monie JavaScript Forum 10 Dec 30th, 2004 10:19


All times are GMT. The time now is 19:24.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43