Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer day - @521.79 (what is this?)
Activity rating: Four Stars Posts & Arts: 96/1k.beats Random | Recent Posts | Guild Recents
News: There's a great big indie web tomorrow! :smile: Guild Events: Summerween Watch-a-thon

+  MelonLand Forum
|-+  Life & The Web
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  iframe scale with image??


« previous next »
Pages: [1] Print Embed
Author Topic: iframe scale with image??  (Read 1105 times)
signfrog
Newbie ⚓︎
*
View Profile WWW


⛺︎ My Room

Guild Memberships:
Artifacts:
Joined 2025!
« on: an Autumn day » Embed

for this project im trying to do a few things.

1, i want the div area on the left to be the same size as the iframe on the right, and for them to scale together.

2, and for this one im completely lost, but id like to have it so that when someone hovers over the image, clickable labels appear pointing to different points on the image

worldbuilding index hheres the page in question. tysm!

Logged
IndigoGolem
Sr. Member ⚓︎
****
View Profile


What's personal text?
⛺︎ My Room

Artifacts:
I got robbed by Dan Q on Melonland!Joined 2025!
« Reply #1 on: an Autumn night » Embed

Number two is something i figured out a while back but have yet to try. I think you can use an imagemap (GIMP can generate one pretty easily with Filters>Web>Image Map) and instead of putting links in parts of the image, use title text. I haven't made an imagemap in a while but i think that should look something like:
<map name="example">
   <area
   shape="circle"
   area="75, 45, 75"
   title="Hover text here">
</map>
<img usemap="example" src="whatever.gif">
It's not perfect, since you still have to hover over an area for a couple seconds to get the text to appear. There might be something you can do to make that happen faster but i don't know what.

I'm not sure how you could make the div and iframe scale together. I'm sure there's a way with CSS, but i'm not great with that stuff. Good luck.

Logged

-Indigo, Anve Ozo %
candycanearter07
Hero Member ⚓︎
*****
View Profile WWWArt


i like slimes
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: candycanearter
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
it's tbhchansey!Goomy, I Choose You!uh oh! a pigeon got in!Artsy Candy CaneJoined 2024!
« Reply #2 on: an Autumn night » Embed

SVG images scale better, and you can provide <a> regions and embed images directly to create a pseudo image map.

Logged

new to oldnet be nice
https://status.cafe/users/candycanearter/badge.png https://abslimeware.neocities.org/assets/images/blinkers/penguins.gif

https://abslimeware.neocities.org/assets/images/blinkers/slimebounce.gif https://card.exophase.com/2/0/268504.png?1727352149

https://i.imgur.com/S1cx8ZZ.pnghttps://i.imgur.com/7ntZZGM.pnghttps://i.imgur.com/xKIpW2A.pnghttps://i.imgur.com/YMPbu9R.png

Artifact Swap: buzzystickershoeBlob CreatureBall Creaturecards all the way down
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
MelonLand @000

Minecraft: Online
Join: craft.melonking.net