Open mushon opened 11 years ago
חחחח! ידעתי שזה ישחק לך על המצפון!! תודה מושון! צפה להתקדמות! חג שמח וחופשה נעימה :)
Sent from my iPhone
On 17 במרץ 2013, at 22:37, Mushon Zer-Aviv notifications@github.com wrote:
twitter.github.com/bootstrap/javascript.html#tooltips ;)
— Reply to this email directly or view it on GitHub.
:) הגבתי באישיו הלא נכון אז העברתי את זה לאישיו אחר. אבל אם כבר שמתי פה לינקים, אז הנה גם לזה: http://kyleschaeffer.com/user-experience/pure-css-image-hover/ http://webdesignandsuch.com/css-sprites-image-replacement/
תודה תודה תודה! בסוף אני אצליח!
Sent from my iPhone
On 17 במרץ 2013, at 22:42, Mushon Zer-Aviv notifications@github.com wrote:
:) הגבתי באישיו הלא נכון אז העברתי את זה לאישיו אחר. אבל אם כבר שמתי פה לינקים, אז הנה גם לזה: http://kyleschaeffer.com/user-experience/pure-css-image-hover/ http://webdesignandsuch.com/css-sprites-image-replacement/
— Reply to this email directly or view it on GitHub.
לא הבנתי איפה אמורים "להפעיל" את הג'בה סקריט?
Usage
Enable popovers via JavaScript:
שמים את זה בCSS/HTML? ואם כן אז איפה ולמה? חשבתי שהג'בה כבר מחובר לHTML שלנו...
הספריות כבר מיובאות תוך ההטמל, אבל צריך להפעיל את הג'אווסקריפט כדי להגיד על מה רוצים שהטולטיפ יפעל.
<script> $('#example').tooltip() </script>
נכנס בתחתית הדף, מיד לפני סגירת ה-</body>
אז בעצם ה-"example" מציין את האלמנט שאנחנו רוצים שעליו יופעל הסקריפט, אבל ההפעלה בפועל מגיעה בסוף המסמך, ולא בתוך הזרימה של המרק אפ, בצמוד לאלמנט?
בדיוק.
למעשה, אחרי שהדף נטען הג'אווסקריפט מוסיף על האלמנטים הנבחרים "התנהגויות" שיפעלו (במקרה של הטולטיפים) במעבר עכבר. הקוד מופיע למטה כדי לוודא שהוא מתווסף רק אחרי שהדף נטען במלואו. יש דרכים להוסיף אותו ב-head ואז להגיד לו לפעול רק אחרי שנטען במלואו אבל בשלב זה למטה זה פשוט יותר.
Mushon Zer-Aviv Mushon.com (http://Mushon.com) | Shual.com (http://Shual.com) | @Mushon (http://twitter.com/mushon)
On Sunday, March 17, 2013 at 11:19 PM, smadyby wrote:
אז בעצם ה-"example" מציין את האלמנט שאנחנו רוצים שעליו יופעל הסקריפט, אבל ההפעלה בפועל מגיעה בסוף המסמך, ולא בתוך הזרימה של המרק אפ, בצמוד לאלמנט?
—
Reply to this email directly or view it on GitHub (https://github.com/maykishon/me/issues/1#issuecomment-15031126).
Sincerely, May Kishon.
http://twitter.github.com/bootstrap/javascript.html#tooltips ;)