בדיקת פונקציות

  • פותח הנושא asf
  • פורסם בתאריך
סליחה על ההקפצה, אני סה"כ בדוק משהו פשוט

<a name="יצירת עוגן">כן זה עובד</a>

בדיקה
 
בדיקה נוספת

בדיקה נוספת

<a href="http://www.prog.co.il/showthread.php?p=2158812#יצירת עוגן">בדיקה שלישית</a>
 
נכתב ע"י נקודת מחשבה;2158972:
מה עשית עם היצירת עוגן?

This user does not have permission to use the HTML BB code.
 
נכתב ע"י asf;2159077:
רציתי לראות ההבדל בין לבין וההבדל הוא ש[url] פותח הלינ... שפרוג משתמשת בה והוא לא יעבוד במקומות אחרים.
 
נכתב ע"י asf;2159077:
רציתי לראות ההבדל בין לבין <a href> וההבדל הוא ש[url]...>.[/QUOTE] שים לב שהוא לא נותן לחזור אחורה
 
נכתב ע"י 3 פינות;2159078:
URL זה קוד פנימי של המערכת שפרוג משתמשת בה והוא לא יעבוד במקומות אחרים.

אכן כל מה שמוקף עם [] זה BBcode וכל מה שמוקף ב<> זה HTML
 
כל מיני....


<button type="button" onclick="alert('למה לחצת?')">לא ללחוץ</button>



<textarea rows="4" cols="30" name="nekudatm"></textarea>


<select name=select1>
<option value="1">אחד</option>
<option value="2">שנים</option>
<option value="3">שלוש</option>
</select >
 
<!-- Set a table background using pattrern -->
<table background="http://www.prog.co.il/image.php?u=12438&dateline=1438812159" width="100%" height="100">
<tr><td>
סוף סוף הצלחתי לעשות רקע להודעה בלבד בלי שזה ישבש את כל הדף!!














.</td></tr>
</table>
 
תעבירו את העכבר פה:
<span style="cursor:pointer;cursor:wait">את מה זה טוען בדיוק???
wink.gif
</span>
 
נכתב ע"י 3 פינות;2153289:
במקום להעתיק תלמדו קצת JS HTML CSS

3 פינות, נראה לי שמישהו לקח את ההודעה שלך ברצינות!
 
נכתב ע"י dLive;2159879:
3 פינות, נראה לי שמישהו לקח את ההודעה שלך ברצינות!

נראה לי שהיא הייתה כבר בבניית אתרים לפני זמן (וסה"כ עושה חזרה ;)).
 
נכתב ע"י asf;2160180:
נראה לי שהיא הייתה כבר בבניית אתרים לפני זמן (וסה"כ עושה חזרה ;)).

מי אני? :eek:

מעולם לא למדתי ולא התעסקי עם אתרים סתם אני אוהב לחפור.....

אה, אגב אני גבר..... (לפעמים גם אשתי כותבת כאן....)
 
<script language="JavaScript1.2">
<!-- Begin


var no = 1; // image number or falling rate
var speed = 1; // the lower the number the faster the image moves
var snow = new Array();
snow[0] = "http://www.prog.co.il/image.php?u=12438&dateline=1438812159"


var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 610, doc_height = 1800;

if (ns4up||ns6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}

dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
j = 0;

for (i = 0; i < no; ++ i) {
dx = 0; // set coordinate variables
xp = Math.random()*(doc_width-250); // set position variables
yp = Math.random()*doc_height;
am = Math.random()*20; // set amplitude variables
stx = 0.02 + Math.random()/10; // set step variables
sty = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name="dot"+ i +"" left="15" top="15" visibility="show"><img src=""+ snow[j] + "" border="0" alt="!פורים שמח"></layer>");
} else {
document.write("<layer name="dot"+ i +"" left="15" top="15" visibility="show"><img src=""+ snow[j] + "" border="0" alt="!פורים שמח"></layer>");
} } else if (ie4up||ns6up) { if (i == 0)
{
document.write("<div id="dot"+ i +"" style="POSITION: absolute; Z-INDEX: "+ i +"VISIBILITY: visible; TOP: 15px; LEFT: 15px; width:1;"><img alt="XooX" src="" + snow[j] + "" border="0"></div>");
} else {
document.write("<div id="dot"+ i +"" style="POSITION: absolute; Z-INDEX: "+ i +"VISIBILITY: visible; TOP: 15px; LEFT: 15px; width:1;"><img alt="XooX" src="" + snow[j] + "" border="0"></div>");
}
}
if (j == (snow.length-1)) { j = 0; } else { j += 1; }
}

function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp -= sty; if (yp < -50) {
xp = Math.random()*(doc_width-am-30);
yp = doc_height;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight; }
dx += stx;
document.layers["dot"+i].top = yp;
document.layers["dot"+i].left = xp +
am*Math.sin(dx);
}
setTimeout("snowNS()", speed);
}

function snowIE_NS6() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp -= sty;
if (yp < -50) {
xp = Math.random()*(doc_width-am-30);
yp = doc_height;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
doc_width = ns6up?window.innerWidth-5:document.body.clientWidth;
doc_height = ns6up?window.innerHeight-5:document.body.clientHeight;
}
dx += stx;
if (ie4up){
document.all["dot"+i].style.pixelTop = yp;
document.all["dot"+i].style.pixelLeft = xp + am*Math.sin(dx);
}
else if (ns6up){
document.getElementById("dot"+i).style.top=yp;
document.getElementById("dot"+i).style.left=xp + am*Math.sin(dx);
}
}
setTimeout("snowIE_NS6()", speed);
}

if (ns4up) {
snowNS();
} else if (ie4up||ns6up) {
snowIE_NS6();
}
// End -->
</script>
 
נכתב ע"י נקודת מחשבה;2161192:
<script language="JavaScript1.2">
<!-- Begin


var no = 1; // image number or falling rate
var speed = 1; // the lower the number the faster the image moves
var snow = new Array();
snow[0] = "http://www.prog.co.il/image.php?u=12438&dateline=1438812159"


var ns4up = (document.layers) ? 1 : 0; // browser sniffer
var ie4up = (document.all) ? 1 : 0;
var ns6up = (document.getElementById&&!document.all) ? 1 : 0;
var dx, xp, yp; // coordinate and position variables
var am, stx, sty; // amplitude and step variables
var i, doc_width = 610, doc_height = 1800;

if (ns4up||ns6up) {
doc_width = self.innerWidth;
doc_height = self.innerHeight;
} else if (ie4up) {
doc_width = document.body.clientWidth;
doc_height = document.body.clientHeight;
}

dx = new Array();
xp = new Array();
yp = new Array();
am = new Array();
stx = new Array();
sty = new Array();
j = 0;

for (i = 0; i < no; ++ i) {
dx = 0; // set coordinate variables
xp = Math.random()*(doc_width-250); // set position variables
yp = Math.random()*doc_height;
am = Math.random()*20; // set amplitude variables
stx = 0.02 + Math.random()/10; // set step variables
sty = 0.7 + Math.random(); // set step variables
if (ns4up) { // set layers
if (i == 0) {
document.write("<layer name="dot"+ i +"" left="15" top="15" visibility="show">
</layer>");
} else {
document.write("<layer name="dot"+ i +"" left="15" top="15" visibility="show">
</layer>");
} } else if (ie4up||ns6up) { if (i == 0)
{
document.write("

");
} else {
document.write("

");
}
}
if (j == (snow.length-1)) { j = 0; } else { j += 1; }
}

function snowNS() { // Netscape main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp -= sty; if (yp < -50) {
xp = Math.random()*(doc_width-am-30);
yp = doc_height;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
doc_width = self.innerWidth;
doc_height = self.innerHeight; }
dx += stx;
document.layers["dot"+i].top = yp;
document.layers["dot"+i].left = xp +
am*Math.sin(dx);
}
setTimeout("snowNS()", speed);
}

function snowIE_NS6() { // IE main animation function
for (i = 0; i < no; ++ i) { // iterate for every dot
yp -= sty;
if (yp < -50) {
xp = Math.random()*(doc_width-am-30);
yp = doc_height;
stx = 0.02 + Math.random()/10;
sty = 0.7 + Math.random();
doc_width = ns6up?window.innerWidth-5:document.body.clientWidth;
doc_height = ns6up?window.innerHeight-5:document.body.clientHeight;
}
dx += stx;
if (ie4up){
document.all["dot"+i].style.pixelTop = yp;
document.all["dot"+i].style.pixelLeft = xp + am*Math.sin(dx);
}
else if (ns6up){
document.getElementById("dot"+i).style.top=yp;
document.getElementById("dot"+i).style.left=xp + am*Math.sin(dx);
}
}
setTimeout("snowIE_NS6()", speed);
}

if (ns4up) {
snowNS();
} else if (ie4up||ns6up) {
snowIE_NS6();
}
// End -->
</script>

הסברתי לך בפרטי כבר למה כזה קוד לא יעבוד. (לא עברתי על הקוד לראות אם בלי זה הוא בסדר.)
 
<!DOCTYPE html><html><head><style>.button {border-radius: 4px;background-color: #f4511e;border: none;color: #FFFFFF;text-align: center;font-size: 18px;padding: 20px;width: 200px;transition: all 0.5s;cursor: pointer;margin: 5px;}.button span {cursor: pointer;display: inline-block;position: relative;transition: 0.5s;}.button span:after {content: '»';position: absolute;opacity: 0;top: 0;right: -20px;transition: 0.5s;}.button:hover span {padding-right: 25px;}.button:hover span:after {opacity: 1;right: 0;}</style></head><body><h2>הצלחתי CSS!!</h2><button class="button"><span>נקודת מחשבה</span></button></body></html>

(הכפתור לא מוביל לשום מקום..)
 
<style>BODY{cursor:url("http://www.prog.co.il/image.php?u=12438&dateline=1438812159"), default;}</style>


:p:p:p:p:D:D:D

:confused::confused:
 
תודה על העיצוב של הכפתורים, זה ממש יפה.
 

פרוגבוט

תוכן שיווקי
פרסומת

פוסטים חדשים שאולי לא קראת....

הצטרפות לניוזלטר

איזה כיף שהצטרפתם לניוזלטר שלנו!

מעכשיו, תהיו הראשונים לקבל את כל העדכונים, החדשות, ההפתעות בלעדיות, והתכנים הכי חמים שלנו בפרוג!

לוח מודעות

הפרק היומי

הפרק היומי! כל ערב פרק תהילים חדש. הצטרפו אלינו לקריאת תהילים משותפת!


תהילים פרק כה

אלְדָוִד אֵלֶיךָ יי נַפְשִׁי אֶשָּׂא:באֱלֹהַי בְּךָ בָטַחְתִּי אַל אֵבוֹשָׁה אַל יַעַלְצוּ אֹיְבַי לִי:גגַּם כָּל קוֶֹיךָ לֹא יֵבֹשׁוּ יֵבֹשׁוּ הַבּוֹגְדִים רֵיקָם:דדְּרָכֶיךָ יי הוֹדִיעֵנִי אֹרְחוֹתֶיךָ לַמְּדֵנִי:ההַדְרִיכֵנִי בַאֲמִתֶּךָ וְלַמְּדֵנִי כִּי אַתָּה אֱלֹהֵי יִשְׁעִי אוֹתְךָ קִוִּיתִי כָּל הַיּוֹם:וזְכֹר רַחֲמֶיךָ יי וַחֲסָדֶיךָ כִּי מֵעוֹלָם הֵמָּה:זחַטֹּאות נְעוּרַי וּפְשָׁעַי אַל תִּזְכֹּר כְּחַסְדְּךָ זְכָר לִי אַתָּה לְמַעַן טוּבְךָ יי:חטוֹב וְיָשָׁר יי עַל כֵּן יוֹרֶה חַטָּאִים בַּדָּרֶךְ:טיַדְרֵךְ עֲנָוִים בַּמִּשְׁפָּט וִילַמֵּד עֲנָוִים דַּרְכּוֹ:יכָּל אָרְחוֹת יי חֶסֶד וֶאֱמֶת לְנֹצְרֵי בְרִיתוֹ וְעֵדֹתָיו:יאלְמַעַן שִׁמְךָ יי וְסָלַחְתָּ לַעֲוֹנִי כִּי רַב הוּא:יבמִי זֶה הָאִישׁ יְרֵא יי יוֹרֶנּוּ בְּדֶרֶךְ יִבְחָר:יגנַפְשׁוֹ בְּטוֹב תָּלִין וְזַרְעוֹ יִירַשׁ אָרֶץ:ידסוֹד יי לִירֵאָיו וּבְרִיתוֹ לְהוֹדִיעָם:טועֵינַי תָּמִיד אֶל יי כִּי הוּא יוֹצִיא מֵרֶשֶׁת רַגְלָי:טזפְּנֵה אֵלַי וְחָנֵּנִי כִּי יָחִיד וְעָנִי אָנִי:יזצָרוֹת לְבָבִי הִרְחִיבוּ מִמְּצוּקוֹתַי הוֹצִיאֵנִי:יחרְאֵה עָנְיִי וַעֲמָלִי וְשָׂא לְכָל חַטֹּאותָי:יטרְאֵה אוֹיְבַי כִּי רָבּוּ וְשִׂנְאַת חָמָס שְׂנֵאוּנִי:כשָׁמְרָה נַפְשִׁי וְהַצִּילֵנִי אַל אֵבוֹשׁ כִּי חָסִיתִי בָךְ:כאתֹּם וָיֹשֶׁר יִצְּרוּנִי כִּי קִוִּיתִיךָ:כבפְּדֵה אֱלֹהִים אֶת יִשְׂרָאֵל מִכֹּל צָרוֹתָיו:
נקרא  2  פעמים
למעלה