הבדלים בין גרסאות בדף "מדיה ויקי:Common.js"
| שורה 4: | שורה 4: | ||
var myElement = document.getElementById('name-finder'); | var myElement = document.getElementById('name-finder'); | ||
myElement.innerHTML = ' | myElement.innerHTML = ' | ||
| − | |||
<h1>אתר הפסוקים גרסה 0.1</h1> | <h1>אתר הפסוקים גרסה 0.1</h1> | ||
<form action="http://catane.org/FindPasuk.php" method="get" target="Frame1" > | <form action="http://catane.org/FindPasuk.php" method="get" target="Frame1" > | ||
| שורה 10: | שורה 9: | ||
</form> | </form> | ||
<h2>תוצאות</h2> | <h2>תוצאות</h2> | ||
| − | <iframe name="Frame1" src="results.html" style="border:none;" height="2000" width="500"></iframe | + | <iframe name="Frame1" src="results.html" style="border:none;" height="2000" width="500"></iframe>'; |
| − | |||
| − | |||
}()); | }()); | ||
גרסה מ־20:26, 12 במאי 2018
/* כל הסקריפטים שנכתבים כאן ייטענו עבור כל המשתמשים בכל טעינת עמוד. */
$(function () {
var myElement = document.getElementById('name-finder');
myElement.innerHTML = '
<h1>אתר הפסוקים גרסה 0.1</h1>
<form action="http://catane.org/FindPasuk.php" method="get" target="Frame1" >
<input type="text" name="Personname"/>
</form>
<h2>תוצאות</h2>
<iframe name="Frame1" src="results.html" style="border:none;" height="2000" width="500"></iframe>';
}());