IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   HTML/CSS/JavaScript (https://www.ircforumlari.net/html-css-javascript/)
-   -   Mouse imlecinin koordinatlarını öğrenmek (https://www.ircforumlari.net/html-css-javascript/638672-mouse-imlecinin-koordinatlarini-ogrenmek.html)

hAte 03 Kasım 2014 08:02

Mouse imlecinin koordinatlarını öğrenmek
 
PHP- Kodu:

<html>
<
head>
<
script type="text/javascript">
function 
show_coords()
{
x=event.clientX
y
=event.clientY
alert
("X coords: " ", Y coords: " y)
}
</script>
</head>

<body onmousedown="show_coords()">
<p>Click in the document. An alert box will alert the x and y coordinates of the cursor.</p>
</body>

</html> 



Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 11:26.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk