דילוג לתוכן
  • חוקי הפורום
  • פופולרי
  • לא נפתר
  • משתמשים
  • חיפוש גוגל בפורום
  • צור קשר
עיצובים
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • ברירת מחדל (ללא עיצוב (ברירת מחדל))
  • ללא עיצוב (ברירת מחדל)
כיווץ
מתמחים טופ
  1. דף הבית
  2. מחשבים וטכנולוגיה
  3. רשתות
  4. בקשה | החלון הקופץ לאישור וכדו'

בקשה | החלון הקופץ לאישור וכדו'

מתוזמן נעוץ נעול הועבר נפתר רשתות
39 פוסטים 4 כותבים 108 צפיות 4 עוקבים
  • מהישן לחדש
  • מהחדש לישן
  • הכי הרבה הצבעות
תגובה
  • תגובה כנושא
התחברו כדי לפרסם תגובה
נושא זה נמחק. רק משתמשים עם הרשאות מתאימות יוכלו לצפות בו.
  • י יהודי זה הכי

    @cfopuser אין לי שום בינה חוץ מויזואל סטודיו קוד

    C מנותק
    C מנותק
    cfopuser
    כתב נערך לאחרונה על ידי
    #25

    @יהודי-זה-הכי אתה מתכוון לזה

    05a02527-050a-4dd2-93b6-000ec2bbd47f-image.png

    כי זה נקרא קופיילוט לזה התכוונתי

    תגובה 1 תגובה אחרונה
    0
    • י יהודי זה הכי

      @I-believe 9b92e2c0-d831-4d7b-8e57-fcd8ef8ef749-image.png

      I מנותק
      I מנותק
      I believe
      כתב נערך לאחרונה על ידי
      #26

      @יהודי-זה-הכי
      יש לי כמה דקות, אם תתן לי את ההנחיות המדוייקות, אוכל לנסות לסדר לך את זה.

      י תגובה 1 תגובה אחרונה
      0
      • I I believe

        @יהודי-זה-הכי
        יש לי כמה דקות, אם תתן לי את ההנחיות המדוייקות, אוכל לנסות לסדר לך את זה.

        י מנותק
        י מנותק
        יהודי זה הכי
        כתב נערך לאחרונה על ידי
        #27

        @I-believe מה הכוונה
        תסתכל פה ותראה
        https://chaim-chv.github.io/drive-links-chv.github.io/ תעשה אישור גם כשאין קישו ואני רוצה כזה שבהתחלה שואל האם אתה בטוח ואז מקפיץ הפעולה בוצה בהצלחה

        I תגובה 1 תגובה אחרונה
        0
        • י יהודי זה הכי

          @I-believe מה הכוונה
          תסתכל פה ותראה
          https://chaim-chv.github.io/drive-links-chv.github.io/ תעשה אישור גם כשאין קישו ואני רוצה כזה שבהתחלה שואל האם אתה בטוח ואז מקפיץ הפעולה בוצה בהצלחה

          I מנותק
          I מנותק
          I believe
          כתב נערך לאחרונה על ידי I believe
          #28

          @יהודי-זה-הכי הבנתי, זה לא רק התמונה, זה בעיקר ההנפשה.
          לא ממש הצלחתי להבין מה היתה הבעיה עם הקודים ש @cfopuser העלה קודם.

          תגובה 1 תגובה אחרונה
          0
          • י מנותק
            י מנותק
            יהודי זה הכי
            כתב נערך לאחרונה על ידי
            #29

            אני לא מסתדר

            י תגובה 1 תגובה אחרונה
            0
            • י יהודי זה הכי

              אני לא מסתדר

              י מנותק
              י מנותק
              יהודי זה הכי
              כתב נערך לאחרונה על ידי
              #30

              @יהודי-זה-הכי וזה לא מקפיץ בדיוק אותו דבר

              C תגובה 1 תגובה אחרונה
              0
              • י יהודי זה הכי

                @יהודי-זה-הכי וזה לא מקפיץ בדיוק אותו דבר

                C מנותק
                C מנותק
                cfopuser
                כתב נערך לאחרונה על ידי
                #31

                @יהודי-זה-הכי הנה בדיוק אותו דבר (וגם יצא יותר קצר)


                To create a popup window similar to the one shown in your image using SweetAlert, you can use the following JavaScript code. This example assumes you have included the SweetAlert library in your project.

                HTML

                First, make sure to include the SweetAlert library in your HTML file:

                <!DOCTYPE html>
                <html lang="en">
                <head>
                    <meta charset="UTF-8">
                    <meta name="viewport" content="width=device-width, initial-scale=1.0">
                    <title>SweetAlert Example</title>
                    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
                </head>
                <body>
                    <button id="show-popup">Show Popup</button>
                
                    <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
                    <script src="script.js"></script>
                </body>
                </html>
                

                JavaScript

                Next, create a script.js file or add the following script in a <script> tag in your HTML file:

                document.getElementById('show-popup').addEventListener('click', function() {
                    Swal.fire({
                        title: 'טעויות',
                        text: 'יש ללחוץ קישור דריב תקין',
                        icon: 'error',
                        showCancelButton: false,
                        confirmButtonText: 'אוקי',
                        customClass: {
                            popup: 'custom-popup'
                        }
                    });
                });
                

                CSS (Optional)

                You can add some custom styles to make the popup look more like the one in your image. Add this CSS to your stylesheet:

                .custom-popup {
                    background-color: #fff; /* White background */
                    border-radius: 10px; /* Rounded corners */
                    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Shadow effect */
                }
                

                Explanation

                • The Swal.fire function creates the popup.
                • The title and text properties set the content of the popup.
                • The icon property specifies the type of alert (in this case, an error).
                • The confirmButtonText property sets the text for the confirmation button.
                • The customClass property allows you to apply custom styles to the popup.

                You can run this code in your browser, and clicking the "Show Popup" button will display the SweetAlert popup as you described.

                תגובה 1 תגובה אחרונה
                0
                • י מנותק
                  י מנותק
                  יהודי זה הכי
                  כתב נערך לאחרונה על ידי
                  #32

                  התייאשתי

                  C תגובה 1 תגובה אחרונה
                  0
                  • י יהודי זה הכי

                    התייאשתי

                    C מנותק
                    C מנותק
                    cfopuser
                    כתב נערך לאחרונה על ידי
                    #33

                    @יהודי-זה-הכי לך לבינה מלאכותית ותדביק לו את הפרומט הזה

                    
                    
                    "Create a SweetAlert popup with the following specifications:
                    
                    - Title: 'טעויות' (Errors)
                    - Text: 'יש ללחוץ קישור דריב תקין' (You must click a valid link)
                    - Icon: A red 'X' (indicating an error)
                    - Button: A blue button labeled 'אוקי' (OK)
                    
                    Make sure the popup appears centered on the screen with a gray background overlay. Include a button that says 'Click' to trigger this popup."
                    
                    

                    תגובה 1 תגובה אחרונה
                    1
                    • י מנותק
                      י מנותק
                      יהודי זה הכי
                      כתב נערך לאחרונה על ידי
                      #34

                      עובד פצצה

                      תודה רבה רבה רבה

                      I תגובה 1 תגובה אחרונה
                      0
                      • י יהודי זה הכי

                        עובד פצצה

                        תודה רבה רבה רבה

                        I מנותק
                        I מנותק
                        I believe
                        כתב נערך לאחרונה על ידי I believe
                        #35

                        @יהודי-זה-הכי אני רואה שכבר הסתדרת...

                        עריכה: הנה קוד מאוחד לקובץ html יחיד, מבוסס על פי מה @cfopuser העלה למעלה:

                        <!DOCTYPE html>
                        <html lang="he" dir="rtl">
                        <head>
                            <meta charset="UTF-8">
                            <meta name="viewport" content="width=device-width, initial-scale=1.0">
                            <title>דוגמת חלון קופץ</title>
                            
                            <!-- שלב 1: קישור לספריית העיצוב של SweetAlert2 (נשאר כמו שהיה) -->
                            <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
                        
                            <!-- שלב 2: הוספת קוד ה-CSS ישירות לתוך קובץ ה-HTML -->
                            <style>
                                body {
                                    font-family: Arial, sans-serif;
                                    display: flex;
                                    justify-content: center;
                                    align-items: center;
                                    height: 100vh;
                                    margin: 0;
                                }
                                .custom-popup {
                                    border-radius: 10px; /* פינות מעוגלות */
                                    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* אפקט צל */
                                }
                            </style>
                        </head>
                        <body>
                        
                            <!-- שלב 3: כפתור ה-HTML שמפעיל את החלון הקופץ -->
                            <button id="show-popup">הצג חלון קופץ</button>
                         
                            <!-- שלב 4: קישור לספריית ה-JavaScript של SweetAlert2 (חייב להופיע לפני הקוד שלך) -->
                            <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
                            
                            <!-- שלב 5: הוספת קוד ה-JavaScript ישירות לתוך קובץ ה-HTML -->
                            <script>
                                // הקוד הזה ירוץ אחרי שהדף נטען
                                document.getElementById('show-popup').addEventListener('click', function() {
                                    Swal.fire({
                                        title: 'שגיאה',
                                        text: 'יש לצרף קישור תקין',
                                        icon: 'error',
                                        showCancelButton: false,
                                        confirmButtonText: 'אוקי',
                                        customClass: {
                                            popup: 'custom-popup'
                                        }
                                    });
                                });
                            </script>
                        </body>
                        </html>
                        

                        וזה על 'הפעולה בוצעה בהצלחה':

                        <!DOCTYPE html>
                        <html lang="he" dir="rtl">
                        <head>
                            <meta charset="UTF-8">
                            <meta name="viewport" content="width=device-width, initial-scale=1.0">
                            <title>דוגמת חלון קופץ</title>
                            
                            <!-- קישור לספריית העיצוב של SweetAlert2 -->
                            <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
                        
                            <style>
                                body {
                                    font-family: Arial, sans-serif;
                                    display: flex;
                                    justify-content: center;
                                    align-items: center;
                                    height: 100vh;
                                    margin: 0;
                                }
                                /* הסגנון המותאם אישית נשאר למקרה שתרצה להשתמש בו */
                                .custom-popup {
                                    border-radius: 10px;
                                    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
                                }
                            </style>
                        </head>
                        <body>
                        
                            <!-- שלב 1: שינוי הטקסט שעל הכפתור -->
                            <button id="show-popup">האם אתה בטוח?</button>
                         
                            <!-- קישור לספריית ה-JavaScript של SweetAlert2 -->
                            <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
                            
                            <script>
                                document.getElementById('show-popup').addEventListener('click', function() {
                                    // שלב 2: שינוי הגדרות החלון הקופץ
                                    Swal.fire({
                                        title: 'הפעולה בוצעה בהצלחה!', // הכותרת החדשה
                                        icon: 'success',               // שינוי הסמל ל-V (הצלחה)
                                        confirmButtonText: 'מעולה!'     // שינוי טקסט כפתור האישור
                                    });
                                });
                            </script>
                        </body>
                        </html>
                        

                        C תגובה 1 תגובה אחרונה
                        1
                        • I I believe

                          @יהודי-זה-הכי אני רואה שכבר הסתדרת...

                          עריכה: הנה קוד מאוחד לקובץ html יחיד, מבוסס על פי מה @cfopuser העלה למעלה:

                          <!DOCTYPE html>
                          <html lang="he" dir="rtl">
                          <head>
                              <meta charset="UTF-8">
                              <meta name="viewport" content="width=device-width, initial-scale=1.0">
                              <title>דוגמת חלון קופץ</title>
                              
                              <!-- שלב 1: קישור לספריית העיצוב של SweetAlert2 (נשאר כמו שהיה) -->
                              <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
                          
                              <!-- שלב 2: הוספת קוד ה-CSS ישירות לתוך קובץ ה-HTML -->
                              <style>
                                  body {
                                      font-family: Arial, sans-serif;
                                      display: flex;
                                      justify-content: center;
                                      align-items: center;
                                      height: 100vh;
                                      margin: 0;
                                  }
                                  .custom-popup {
                                      border-radius: 10px; /* פינות מעוגלות */
                                      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* אפקט צל */
                                  }
                              </style>
                          </head>
                          <body>
                          
                              <!-- שלב 3: כפתור ה-HTML שמפעיל את החלון הקופץ -->
                              <button id="show-popup">הצג חלון קופץ</button>
                           
                              <!-- שלב 4: קישור לספריית ה-JavaScript של SweetAlert2 (חייב להופיע לפני הקוד שלך) -->
                              <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
                              
                              <!-- שלב 5: הוספת קוד ה-JavaScript ישירות לתוך קובץ ה-HTML -->
                              <script>
                                  // הקוד הזה ירוץ אחרי שהדף נטען
                                  document.getElementById('show-popup').addEventListener('click', function() {
                                      Swal.fire({
                                          title: 'שגיאה',
                                          text: 'יש לצרף קישור תקין',
                                          icon: 'error',
                                          showCancelButton: false,
                                          confirmButtonText: 'אוקי',
                                          customClass: {
                                              popup: 'custom-popup'
                                          }
                                      });
                                  });
                              </script>
                          </body>
                          </html>
                          

                          וזה על 'הפעולה בוצעה בהצלחה':

                          <!DOCTYPE html>
                          <html lang="he" dir="rtl">
                          <head>
                              <meta charset="UTF-8">
                              <meta name="viewport" content="width=device-width, initial-scale=1.0">
                              <title>דוגמת חלון קופץ</title>
                              
                              <!-- קישור לספריית העיצוב של SweetAlert2 -->
                              <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
                          
                              <style>
                                  body {
                                      font-family: Arial, sans-serif;
                                      display: flex;
                                      justify-content: center;
                                      align-items: center;
                                      height: 100vh;
                                      margin: 0;
                                  }
                                  /* הסגנון המותאם אישית נשאר למקרה שתרצה להשתמש בו */
                                  .custom-popup {
                                      border-radius: 10px;
                                      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
                                  }
                              </style>
                          </head>
                          <body>
                          
                              <!-- שלב 1: שינוי הטקסט שעל הכפתור -->
                              <button id="show-popup">האם אתה בטוח?</button>
                           
                              <!-- קישור לספריית ה-JavaScript של SweetAlert2 -->
                              <script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
                              
                              <script>
                                  document.getElementById('show-popup').addEventListener('click', function() {
                                      // שלב 2: שינוי הגדרות החלון הקופץ
                                      Swal.fire({
                                          title: 'הפעולה בוצעה בהצלחה!', // הכותרת החדשה
                                          icon: 'success',               // שינוי הסמל ל-V (הצלחה)
                                          confirmButtonText: 'מעולה!'     // שינוי טקסט כפתור האישור
                                      });
                                  });
                              </script>
                          </body>
                          </html>
                          

                          C מנותק
                          C מנותק
                          cfopuser
                          כתב נערך לאחרונה על ידי
                          #36

                          @I-believe אי אפשר להעלות קבצי html לפורום מסיבות אבטחה מובנות

                          י תגובה 1 תגובה אחרונה
                          0
                          • C cfopuser

                            @I-believe אי אפשר להעלות קבצי html לפורום מסיבות אבטחה מובנות

                            י מנותק
                            י מנותק
                            יהודי זה הכי
                            כתב נערך לאחרונה על ידי
                            #37

                            @cfopuser מה כ"כ מובן?

                            C תגובה 1 תגובה אחרונה
                            0
                            • י יהודי זה הכי

                              @cfopuser מה כ"כ מובן?

                              C מנותק
                              C מנותק
                              cfopuser
                              כתב נערך לאחרונה על ידי
                              #38

                              @יהודי-זה-הכי לא רוצה לסטות מהנושא אבל אם הקוד רץ בתור מתמחים אני יכול לדוג'
                              לגנוב לך את החשבון בתוך שאר פגיעות נוספות

                              תגובה 1 תגובה אחרונה
                              0
                              • י מנותק
                                י מנותק
                                יהודי זה הכי
                                כתב נערך לאחרונה על ידי
                                #39

                                לא הבנתי
                                ובכל מקרה חלאס עם הנושא הזה

                                תגובה 1 תגובה אחרונה
                                0
                                • י יהודי זה הכי סימן נושא זה כשאלה
                                • י יהודי זה הכי סימן נושא זה כנפתר
                                • אלישיא אלישי נעל נושא זה

                                • התחברות

                                • אין לך חשבון עדיין? הרשמה

                                • התחברו או הירשמו כדי לחפש.
                                • פוסט ראשון
                                  פוסט אחרון
                                0
                                • חוקי הפורום
                                • פופולרי
                                • לא נפתר
                                • משתמשים
                                • חיפוש גוגל בפורום
                                • צור קשר