Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 8th, 2005, 4:29 PM   #1
Eager Student
Newbie
 
Join Date: May 2005
Posts: 1
Rep Power: 0 Eager Student is on a distinguished road
Can you help me here

I have used a graphics program, to create an image of a stick figure and I have created an HTML file named BodyParts.html that includes an image map of the stick figure.I want to know how I can create hot spots over each of the figure’s body part. When a mouse passes over each body part, display the part’s name in the status bar, and I want to change the status bar to an empty string when the mouse passes off the image.Lastly I want to know how to create alert dialog boxes that display each body part’s name when you click it.I can send you the screen dump as example of what the output looks like if you can give me your e-mail address.Thanks

I will be grateful if you can help me here.
If you do not follow what I have wrote above please feel free to ask me.
With Much Love
Eager Student
Eager Student is offline   Reply With Quote
Old May 8th, 2005, 4:40 PM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
You'll need to use JavaScript. I suggest checking out the image map and JavaScript tutorials at HTMLSource.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 12th, 2005, 12:16 PM   #3
LOI Kratong
Professional Programmer
 
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4 LOI Kratong is on a distinguished road
Sorry to argue with you Ooble :p (again) but you don't need javascript to create the image map, just html. I went to that site, and here is the link that goes to image maps. It's in the html section

You need javascript to set the status bar, i'll dig an example out of my harddrive and post it here
__________________
www.heldtogether.co.uk
LOI Kratong is offline   Reply With Quote
Old May 12th, 2005, 12:33 PM   #4
LOI Kratong
Professional Programmer
 
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4 LOI Kratong is on a distinguished road
Here we go:

<img src="mypicture.JPG" width="564" height="451" border="0" usemap="#mymap">
<map name="mymap">
  <area shape="circle" coords="297,174,69" alt="this is the alt" onMouseOver="MM_displayStatusMsg('message');return document.MM_returnValue" onMouseOut="MM_displayStatusMsg('');return document.MM_returnValue">
</map>

Have fun, just change the "area shape...coords" bit and then the message, you should be on your way!!!
__________________
www.heldtogether.co.uk

Last edited by LOI Kratong; May 12th, 2005 at 12:55 PM.
LOI Kratong is offline   Reply With Quote
Old May 12th, 2005, 3:46 PM   #5
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
LOI, what I meant is that you'll need to use JavaScript to pop up alert boxes and change the status bar message.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 12th, 2005, 4:01 PM   #6
LOI Kratong
Professional Programmer
 
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4 LOI Kratong is on a distinguished road
Ye i know what you meant, i was gonna argue it even though i knew i was wrong, but by tim ei had written it, i couldn't be bothered to delete it so i tried to back out gracefully.
Quote:
You need javascript to set the status bar
__________________
www.heldtogether.co.uk
LOI Kratong is offline   Reply With Quote
Old May 12th, 2005, 4:06 PM   #7
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
Ah. Didn't see that.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:23 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC