אהלן
יש לי טופס פשוט שמוסיף ערכים למסד
אני רוצה שאחרי שהטופס נשלח יפתח פופ אפ שיציג לו את כל הערכים במסד
אז ראיתי את הפופ אפ הזה
http://www.jacklmoore.com/colorbox/example4/
אני משתמש ב Inline HTML
איך אני עושה מה שאני צריך? איך שזה עכשיו צריך ללוץ על הקישור בשביל שהפופ אפ יפתח....
אני רוצה שאוטומטי ישר אחרי שהטופס נשלח יפתח הפופ אפ
השורת קוד שבעצם עליה לוחצים היא
PHP קוד:
<p><a class='inline' href="#inline_content">Inline HTML</a></p>
והיא פותחת את
PHP קוד:
<div style='display:none'>
<div id='inline_content' style='padding:10px; background:#fff;'>
<p><strong>This content comes from a hidden element on this page.</strong></p>
<p>The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.</p>
<p><a id="click" href="#" style='padding:5px; background:#ccc;'>Click me, it will be preserved!</a></p>
<p><strong>If you try to open a new Colorbox while it is already open, it will update itself with the new content.</strong></p>
<p>Updating Content Example:<br />
<a class="ajax" href="../content/ajax.html">Click here to load new content</a></p>
</div>
</div>
תודה