Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Programming. | 3 guests
Acmlm's Board - I2 Archive - Programming - Hovering over picture portions revealing a comment?? | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Keikonium
Banned
Level: NAN

Posts: 800/-2459
EXP: NAN
For next: 0

Since: 04-02-04

Since last post: 63 days
Last activity: 9 hours
Posted on 11-12-04 06:55 AM Link | Quote
I need some HTML that will allow me to hover over a certain portion of a picture and when the mouse passes over it, a little message pops up revealing a comment. I know how to do it with clickable links, but I can't seem to find any about comments. My wording may be wrong, so if anyone could help me here, that would be great.
Synneth Relmn

Paratroopa
Level: 20

Posts: 12/144
EXP: 36477
For next: 5962

Since: 08-13-04

Since last post: 16 days
Last activity: 7 days
Posted on 11-12-04 07:22 AM Link | Quote
i assume you mean alternate text? in that case, use this (remove the slash):

<\img src="URL" alt="Text here">

here's what it does (hover your mouse over the picture):

AAAAH! MY HAIR IS ON FIRE!


(edited by Synneth Relmn on 11-11-04 10:23 PM)
(edited by Synneth Relmn on 11-11-04 10:23 PM)
(edited by Synneth Relmn on 11-11-04 10:24 PM)
(edited by Synneth Relmn on 11-11-04 10:24 PM)
Keikonium
Banned
Level: NAN

Posts: 801/-2459
EXP: NAN
For next: 0

Since: 04-02-04

Since last post: 63 days
Last activity: 9 hours
Posted on 11-12-04 07:28 AM Link | Quote
Yes, thats exactly what I mean. I knew how to do it for an entire picture, but I want to include this:

<--map name="map_name">
<--area shape="rect" coords="x1,y1,x2,y2" HREF=URL1>
<--area shape="rect" coords="x1,y1,x2,y2" HREF=URL2>
"
"
<--/map>

(remove --).

What that will do is make a box around a portion of a picture clickable to bring you to a link. What I want to do, is instead of it bringing you to a link, I want it to only pop up with a comment. How would I combine these two?
Lenophis

Super Koopa
Level: 44

Posts: 230/830
EXP: 584360
For next: 26925

Since: 03-15-04
From: Duluth, MN

Since last post: 4 hours
Last activity: 3 hours
Posted on 11-12-04 07:54 AM Link | Quote
Originally posted by Keikonium
Yes, thats exactly what I mean. I knew how to do it for an entire picture, but I want to include this:

<--map name="map_name">
<--area shape="rect" coords="x1,y1,x2,y2" HREF=URL1>
<--area shape="rect" coords="x1,y1,x2,y2" HREF=URL2>
"
"
<--/map>

(remove --).

What that will do is make a box around a portion of a picture clickable to bring you to a link. What I want to do, is instead of it bringing you to a link, I want it to only pop up with a comment. How would I combine these two?

Well, the closest thing to that is...
[a href=url target=_blank][img src=url border=0][/a] Change [ ] to < >.
If that's not what you want, then could you explain it a bit better? Or maybe I'm not understanding it?


(edited by Lenophis on 11-11-04 10:55 PM)
FreeDOS

Lava Lotus
Wannabe-Mod :<
Level: 59

Posts: 863/1657
EXP: 1648646
For next: 24482

Since: 03-15-04
From: Seattle

Since last post: 6 hours
Last activity: 4 hours
Posted on 11-12-04 08:29 AM Link | Quote
Actually, to make a simple tooltip, it's like this:
<img src="image.png" title="Tooltip Text." alt="Image-didn't-load Text." />

Sorry, SR. But what you posted does not display a tooltip.
dan

Snap Dragon
Level: 43

Posts: 235/782
EXP: 534516
For next: 30530

Since: 03-15-04

Since last post: 20 hours
Last activity: 14 hours
Posted on 11-12-04 03:49 PM Link | Quote
I believe that Internet Explorer displays the Alt properties as a tooltip when ever you hover over an image. Yet more entirely wrong behaviour from Internet Explorer.
Keikonium
Banned
Level: NAN

Posts: 802/-2459
EXP: NAN
For next: 0

Since: 04-02-04

Since last post: 63 days
Last activity: 9 hours
Posted on 11-12-04 04:43 PM Link | Quote
Yep, tooltip and alternating text. I knew I had the wrong wording. Thanks so much
Gywall

Silver axe
Level: 30

Posts: 169/356
EXP: 164069
For next: 1800

Since: 03-15-04
From: In front of my moniter, where you're not!

Since last post: 104 days
Last activity: 14 hours
Posted on 11-13-04 11:47 PM Link | Quote
Originally posted by Keikonium
Yes, thats exactly what I mean. I knew how to do it for an entire picture, but I want to include this:

<--map name="map_name">
<--area shape="rect" coords="x1,y1,x2,y2" HREF=URL1>
<--area shape="rect" coords="x1,y1,x2,y2" HREF=URL2>
"
"
<--/map>

(remove --).

What that will do is make a box around a portion of a picture clickable to bring you to a link. What I want to do, is instead of it bringing you to a link, I want it to only pop up with a comment. How would I combine these two?


Hmm.. I bet
<area shape="rect" coords="x1,y1,x2,y2" HREF=URL1 title="insert little witty phrase here!"> would work. I've experimented with title="text" a lot.. Hover my layout, post and the image "GtGywall" to see text
Keikonium
Banned
Level: NAN

Posts: 804/-2459
EXP: NAN
For next: 0

Since: 04-02-04

Since last post: 63 days
Last activity: 9 hours
Posted on 11-14-04 02:24 AM Link | Quote
I have figured out how to do almost everything I needed help with. I am designing what I want in Microsoft Frontpage so it makes it 100% easier!

Now I am having trouble with using Java Script in Frontpage. I know how to use some applets on websites and such, but using javascript on pictures is abit more confusing. Here is EXACTLY what I am trying to do:

This picture:

When viewed on the site with flash doesn't have those blue text boxes. They appear when you hover over certain areas in the picture. There is a javascript I found here: Tooltip Java that I want to incorperate. However, I dont understand how.

BTW, the thing I am doing isn't going on the internet or anything, its just an .HTML file I am making on my computer so if that is a problem let me know.

Hopefully I am explaining this correctly, and any help would be great. Thanks.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Programming - Hovering over picture portions revealing a comment?? | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.006 seconds.