22-02-08, 22:16 | # 1 |
משתמש - היכל התהילה
|
שאלה בכל לכפתורי רדיו
אני מחפש את הקוד שלדוגמא אם תבחר בכפתור רדיו מספר 1 זה יוביל אותך לקישור X
דוגמא : ( ) בלה בלה בלה-1 ( ) בלה בלה בלה-2 ( ) בלה בלה בלה-3 |הבא| |אפס טופס| אם תבחר בכפתור השלישי וילחץ הבא תועבר ללינק www.www.co.il אם תבחר בכפתור השני וילחץ הבא תועבר ללינק http://htpp://.co.il אם תבחר בכפתור הראשון וילחץ הבא תועבר ללינק http://www.co.il הבנת למה אני מתכוון ? לא שהשמות יובילו, אלה שכל בחירה תובלי ללינק אחר . תודה רבה לכם |
22-02-08, 22:38 | # 2 |
חבר בקהילה
|
|
23-02-08, 01:10 | # 3 |
משתמש - היכל התהילה
|
זה אכן הכוונה, אך אני צריך שזה לא יעביר ישר בבחירה, אלה רק בלחיצה על ה submit .
תודה רבה |
23-02-08, 01:17 | # 4 |
חבר על
|
בשילוב עם PHP, אתה שולח VALUE לכל כתובת...
__________________
דוד בן דוד. |
23-02-08, 01:22 | # 5 |
חבר בקהילה
|
קוד:
<!-- TWO STEPS TO INSTALL RADIO BUTTON LINKS: 1. Copy the coding into the HEAD of your HTML document 2. Add the last code into the BODY of your HTML document --> <!-- STEP ONE: Paste this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Original: Wayne Nolting (w.nolting@home.com) --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin togo='http://hosts.co.il' function go(loc) { togo=loc; //window.location.href = loc; } function do_go() { window.location.href = togo; } // End --> </script> </HEAD> <!-- STEP TWO: Copy this code into the BODY of your HTML document --> <BODY> <form name="form" > <input type="radio" name="loc" onClick="go('http://javascript.internet.com/');"> JavaScript Source<br> <input type="radio" name="loc" onClick="go('http://javascript.internet.com/toc.html');"> JSS Table of Contents<br> <input type="radio" name="loc" onClick="go('mailto:anyone@mailserver.com');"> Contact Anyone<br> <br> <input type=button onClick="do_go()" value='submit'> </form> <p><center> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size: 1.14 KB --> |
23-02-08, 02:22 | # 6 |
משתמש - היכל התהילה
|
תודה רבה, הנושא יכול להנעל .
|
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|