This zone is sleeping right now! ZzzZZzzz

Better not disturb it! ~You go to the petrol station and buy a slushy instead, everything is cool!~

This area will open again in 000.beats!

(Learn about Swatch Time)

Some other zones are awake :^]


Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
a Summer day - @352.91
Activity rating: Four Stars Posts & Arts: 53/1k.beats Random | Recent Posts | Guild Recents
News: Love is not possession  :4u: Guild Events: There are no events!

+  MelonLand Forum
|-+  Materials & Info
| |-+  ♺ ∙ Web Crafting Materials
| | |-+  Image Maps


« previous next »
Pages: [1] Print Embed
Author Topic: Image Maps  (Read 2115 times)
brisray
Hero Member ⚓︎
*****
View Profile WWW


⛺︎ My Room

Artifacts:
RocketmanFirst 1000 Members!Joined 2023!
« on: a Spring night » Embed

Among the forums I look at there seem to be more people asking how to make part of an image clickable. A lot of people recommend looking at the W3Schools page about them. There's nothing wrong with it, just that if you have a responsive site it will stop working properly.

The reason for that is that as the image size changes, the coordinates won't, so they will no longer match the image.

There are various ways to make them image maps responsive, and I wrote a page explaining some of them.

The page covers using JavaScript, SVG files and CSS grids which someone might find useful.

Logged
TheFrugalGamer
Hero Member ⚓︎
*****
View Profile WWWArt


⛺︎ My Room
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
See A Bug Summer 2025 ParticipantGreat Posts PacmanFirst 1000 Members!Joined 2022!
« Reply #1 on: a Spring night » Embed

This is awesome, and I will be bookmarking it for later reference! I have been working on several different game ideas, and was considering using image maps for one of them, but I do like to keep my pages and games as responsive as possible, so this is an issue I'll definitely be running into.

Logged


Artifact Swap: Visited on Melon's 10th Anniversary!Pink TulipEmerald OreAquamarine
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
@000 MelonLand Zap! Want to Login or Join ? Forum Art Hub Chat Webring Editor Recent Edits Tenement Arcade Web Guides Graphics Catalogue Wiki Newsletters Image Stream
Melon's Sites TamaNotchi Textures PixelSea GifyPet MoMG Ozwomp Online Loom Videos Leaky Webring Melonking
Tools Melon Software ArtHub Embed Maker ML Passports
Outlinks Frutiger Aero Forum Onio Club m15o's Web Services 32Bit Cafe iMood Webrings Internet Phone Book HTML Energy Declarations Hackers & Designers
Minecraft: Online
Join: craft.melonking.net