Тёмный

HTML Image Map Tutorial 

Portfolio Courses
Подписаться 232 тыс.
Просмотров 28 тыс.
50% 1

Опубликовано:

 

22 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 65   
@uniquechannelname3402
@uniquechannelname3402 2 года назад
I can't put into words how much I appreciate this, I can't believe it worked. Thank you so much!
@PortfolioCourses
@PortfolioCourses 2 года назад
You're very welcome, I'm so glad to hear that it helped you out! :-)
@mongevoltaireartlabasbas9305
@mongevoltaireartlabasbas9305 2 года назад
Great tutorial Mister. It's straightforward and it is not confusing.
@PortfolioCourses
@PortfolioCourses 2 года назад
Thank you for the kind feedback, I'm glad you enjoyed it! 😀
@AhadQasimi
@AhadQasimi 7 месяцев назад
Thank you for sharing this video. I was wondering if it's possible to create an image map on a video?
@jadeho-lam8675
@jadeho-lam8675 6 месяцев назад
It's great tutorial ! How can I share the image with other people?
@soniferous
@soniferous 7 месяцев назад
How do image map perform when resizing the page or to different devices? Is it fixed or can it be dynamic?
@mrvfino
@mrvfino Месяц назад
Did you find a solution for this? I'm thinking about using the coordinates within the image itself.
@CYANERION
@CYANERION 2 года назад
Very simple and straightforward, Thank you for this very useful information
@PortfolioCourses
@PortfolioCourses 2 года назад
You're welcome! :-D
@chrisogle001
@chrisogle001 4 месяца назад
Great video. Thanks!
@EverythingHP
@EverythingHP Год назад
Can you do this to the background image instead of the image? And can you gave it link to another page in the website instead of a link?
@PortfolioCourses
@PortfolioCourses Год назад
It doesn't look like there is any easy way to make the background image of a website an image, people online seem to be suggesting solutions involving JavaScript: stackoverflow.com/questions/34644103/image-map-a-background-image stackoverflow.com/questions/7844399/responsive-image-map github.com/davidjbradshaw/image-map-resizer And yes, you can make the link go anywhere you like. :-) BTW cool channel!
@EverythingHP
@EverythingHP Год назад
@@PortfolioCourses Thank you!!!
@PortfolioCourses
@PortfolioCourses Год назад
You’re welcome! :-)
@drakelazerus
@drakelazerus Год назад
Thank you for this! How would I set it up, to where my image links to another image and pulls up that image, rather than link to a website?
@PortfolioCourses
@PortfolioCourses Год назад
You're welcome! :-) In terms of "linking to an image" if you provide a path/URL to an image in the "href" attribute then you will get a link to an image. But that would load the image almost as if a website was being loaded, except only the image will be displayed. If you want to alter the content of the existing page to display an image, you would want to use JavaScript to do that.
@smlzin13
@smlzin13 2 года назад
Thanks for the video. What if I want to know where the user is clicking at an image? How can I get the X and Y of an click at an image?
@PortfolioCourses
@PortfolioCourses 2 года назад
You're welcome! :-) To the best of my knowledge, you would need to use JavaScript to do that, and the solution would look something like the answer to the question here: stackoverflow.com/questions/49807088/javascript-get-x-y-coordinates-of-click-in-image.
@yoominchoi910
@yoominchoi910 Год назад
Hi, thank you for the tutorial! Would there any way that I can put mouse hover event on each area?
@PortfolioCourses
@PortfolioCourses Год назад
You’re welcome Yoomin! :-) I don’t have a video covering that topic but you should be able to add a mouse hover effect/event using JavaScript, maybe this link will help: nestcode.co/en/blog/create-an-interactive-image-map-and-highlight-on-areas-when-mouseover
@smurfy123888
@smurfy123888 2 года назад
Thank you for the tutorial. I wanted to ask if i can assign a value when you click an image. Is it possible?
@PortfolioCourses
@PortfolioCourses 2 года назад
You're welcome! :-) And with JavaScript, yes, this would be possible. We could setup a function to assign a value, and then set that function up to run when the image is clicked. I don't have a tutorial on this yet, but searching for "image click javascript event" might give you some tutorials perhaps.
@smurfy123888
@smurfy123888 2 года назад
@@PortfolioCourses thank you so much for your response. I will look into it.
@PortfolioCourses
@PortfolioCourses 2 года назад
@@smurfy123888 You're welcome! 🙂
@Anonymous-zi5wr
@Anonymous-zi5wr 8 месяцев назад
How do you map a picture that has a thousands of points?
@wei48221
@wei48221 Год назад
Awesome! It's exactly what I am looking for.
@PortfolioCourses
@PortfolioCourses Год назад
Excellent, I’m really glad to hear this was helpful! :-)
@mrkdeyyt4596
@mrkdeyyt4596 7 месяцев назад
sir, what if my image was too big so I tired to use width and height but I think it affects the coords
@PortfolioCourses
@PortfolioCourses 7 месяцев назад
Hmm, can you re-size it?
@mrkdeyyt4596
@mrkdeyyt4596 7 месяцев назад
@@PortfolioCourses is there a way to resize it?
@PortfolioCourses
@PortfolioCourses 7 месяцев назад
Programs like Paint and PhotoShop can do that, or even online programs like this one: imageresizer.com/
@Only1pasco
@Only1pasco 6 месяцев назад
Now I can do my project
@JohnT-GNM
@JohnT-GNM Год назад
what is the code editor being used here ?
@PortfolioCourses
@PortfolioCourses Год назад
Atom: en.wikipedia.org/wiki/Atom_(text_editor). It's no longer updated, and I switched to Visual Studio Code. But it was a good lightweight editor. :-)
@arnoldotoho
@arnoldotoho 2 года назад
Very concise. Thank you.
@PortfolioCourses
@PortfolioCourses 2 года назад
You're welcome Arnold! 😀
@robmatt
@robmatt Год назад
God sent you to us! Thank you very much for this tutorial. It helps me a lot.
@PortfolioCourses
@PortfolioCourses Год назад
You've very welcome, I'm so glad to hear the tutorial was helpful for you! :-)
@sostheneshamamba3486
@sostheneshamamba3486 7 месяцев назад
Wow👏👏👏 lesson well explained 🎉
@PortfolioCourses
@PortfolioCourses 7 месяцев назад
I’m glad you enjoyed it! :-)
@fasihabdullah9960
@fasihabdullah9960 2 года назад
What if we have a webpage where the size of a picture is dynamic (in the sense that it depends on the size of the wrapper/container div)? How to make a more dynamic map where size of window/image will not affect clickable areas?
@PortfolioCourses
@PortfolioCourses 2 года назад
Great question Fasih! 😀 We actually can't "natively" make an image map responsive. We would need to use something like JavaScript to dynamically alter the image map. There are things like jQuery plugins that will do this for us automatically though. This article discusses these points more: www.madcapsoftware.com/blog/how-to-implement-responsive-image-maps-in-your-html5-outputs/.
@fasihabdullah9960
@fasihabdullah9960 2 года назад
@@PortfolioCourses I see thanks.
@PortfolioCourses
@PortfolioCourses 2 года назад
You’re welcome! :-)
@mvabhishek9296
@mvabhishek9296 Год назад
well and superb explanation sir😇😇
@PortfolioCourses
@PortfolioCourses Год назад
I'm very glad to hear you enjoyed the explanation! :-)
@sagianakar8605
@sagianakar8605 Год назад
You are a king thank you so much
@PortfolioCourses
@PortfolioCourses Год назад
You're very welcome Sagi! :-)
@kingtube13
@kingtube13 2 года назад
thank you ...
@PortfolioCourses
@PortfolioCourses 2 года назад
You’re welcome Dave! :-)
@funkyspin2506
@funkyspin2506 Год назад
What about responsive image sir
@PortfolioCourses
@PortfolioCourses Год назад
Hmm, maybe one day I can make a video on responsive image maps! :-)
@ravenor4495
@ravenor4495 2 года назад
My problem is i dont undestand the x and y how u will know where is x or y
@PortfolioCourses
@PortfolioCourses 2 года назад
Great question! 🙂 You can use a tool like this to help you get the x and y values: www.image-map.net/. There are many tools like this, for example: www.image-maps.com/. You could also use something like photoshop, when you go over the image with your cursor it should show the x and y values somewhere.
@arnoldotoho
@arnoldotoho 2 года назад
Are you familiar with graphs? I believe the x and y coordinates use the x/y axes principles.
@IT-sq5rj
@IT-sq5rj 2 года назад
Use paint. Down the bottom are the Coords
@mehking2350
@mehking2350 2 года назад
Thanks a lot sir this was helpful 🙏
@PortfolioCourses
@PortfolioCourses 2 года назад
You're welcome! 🙂
@RohitKumar-jn6js
@RohitKumar-jn6js Год назад
HOw to apply dynamic image mapping
@PortfolioCourses
@PortfolioCourses Год назад
I don't have a video on that topic yet Rohit. :-( You might be able to find something helpful online, for example: stackoverflow.com/questions/13321067/dynamically-resizing-image-maps-and-images.
@cloudsystem3740
@cloudsystem3740 2 года назад
wow
@PortfolioCourses
@PortfolioCourses 2 года назад
I hope you liked it George! 🙂
@learnnottogiveaf8747
@learnnottogiveaf8747 Год назад
God bless you
@PortfolioCourses
@PortfolioCourses Год назад
Aww thank you for the kindness! :-)
Далее
HTML Picture Element Tutorial
6:31
Просмотров 13 тыс.
I tricked MrBeast into giving me his channel
00:58
A better image reset for your CSS
11:16
Просмотров 112 тыс.
Coding a Web Server in 25 Lines - Computerphile
17:49
Просмотров 340 тыс.
Please stop using px for font-size.
15:18
Просмотров 205 тыс.
10 CSS PRO Tips and Tricks you NEED to know
9:00
Просмотров 60 тыс.
10 CSS Pro Tips - Code this, NOT that!
9:39
Просмотров 2,2 млн
The Easiest Way to Build Websites
10:56
Просмотров 565 тыс.
Learn Flexbox CSS in 8 minutes
8:16
Просмотров 1,6 млн
HTML map Tag | Image map - HTML Tutorial 45 🚀
10:20
Просмотров 215 тыс.