Soluții
Cum sa iti folosesti telefonul pe post de Webcam cu ajutorul aplicatiei EpocCam
Se intampla ca atunci cand ai o intalnire online sa nu ai posibilitatea sa te afisezi pentru ca nu ai o camera integrata?
Iti voi spune ce ai de facut pentru ati folosi telefonul pe post de webcam.
[mai mult...]Ce putem sa facem in cazul in care primim eroarea code:0x8007066B5 in Windows 10
Ti s-a intamplat sa primesti eroarea de la Windows cu mesajul Error code: 0x8007066B5 atunci cand rulezi utilitarul Credential Manager?
Iata ce trebuie sa faci:
[mai mult...]Cum activezi Google Pay în România, de ce să o faci și care sunt băncile partenere
Google Pay e, în sfârșit, și în România. Pe scurt, poți folosi serviciul ca să plătești cu telefonul. Sunt câteva bănci importante pe listă, dar și servicii fintech.
[mai mult...]Retrieve the position (X,Y) of an element using HTML
The position of (X, Y) means the co-ordinate of an element at the top-left point in a document. X represent the horizontal position and Y represent the vertical position. Use element.getBoundingClientRect() property to get the position of an element.
Example 1:
<!– HTML program to get (x, y) coordinate
of an element relative to the viewport –>
<!DOCTYPE html>
<html>
<head>
<title>
position of an element
</title>
<!– JavaScript code to display position –>
<script type=”text/javascript”>
function getPositionXY(element) {
var rect = element.getBoundingClientRect();
document.getElementById(‘gfg’).innerHTML =
‘X: ‘ + rect.x + ‘, ‘ + ‘Y: ‘ + rect.y
}
</script>
</head>
<body>
<!– Click on button to get its co-ordinate –>
<button id = ‘button1’ onclick = “getPositionXY(this)”>
Button 1
</button>
<button id = ‘button1’ onclick = “getPositionXY(this)”>
Button 2
</button>
<br><br>
<button id = ‘button1’ onclick = “getPositionXY(this)”>
Button 3
</button>
<p id = ‘gfg’></p>
</body>
</html>
Output:
[mai mult...]Creating A Range Slider in HTML using JavaScript
Range Sliders are used on web pages to allow the user specify a numeric value which must be no less than a given value, and no more than another given value. That is, it allows to choose value from a range which is represented as a slider.
A Range slider is typically represented using a slider or dial control rather than a text entry box like the “number” input type. It is used when the exact numeric value isn’t required to input. For example, the price slider in the filter menu of products list at flipkart.com

