maykishon / me

Shenkar IxDP course project #1 template
1 stars 0 forks source link

Add hover states to the buttons #1

Open mushon opened 11 years ago

mushon commented 11 years ago

http://twitter.github.com/bootstrap/javascript.html#tooltips ;)

maykishon commented 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.

mushon commented 11 years ago

:) הגבתי באישיו הלא נכון אז העברתי את זה לאישיו אחר. אבל אם כבר שמתי פה לינקים, אז הנה גם לזה: http://kyleschaeffer.com/user-experience/pure-css-image-hover/ http://webdesignandsuch.com/css-sprites-image-replacement/

maykishon commented 11 years ago

תודה תודה תודה! בסוף אני אצליח!

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.

smadyby commented 11 years ago

לא הבנתי איפה אמורים "להפעיל" את הג'בה סקריט?

Usage

Enable popovers via JavaScript:

  1. $('#example').popover(options)

שמים את זה בCSS/HTML? ואם כן אז איפה ולמה? חשבתי שהג'בה כבר מחובר לHTML שלנו...

mushon commented 11 years ago

הספריות כבר מיובאות תוך ההטמל, אבל צריך להפעיל את הג'אווסקריפט כדי להגיד על מה רוצים שהטולטיפ יפעל.  <script> $('#example').tooltip() </script> נכנס בתחתית הדף, מיד לפני סגירת ה-</body>

smadyby commented 11 years ago

אז בעצם ה-"example" מציין את האלמנט שאנחנו רוצים שעליו יופעל הסקריפט, אבל ההפעלה בפועל מגיעה בסוף המסמך, ולא בתוך הזרימה של המרק אפ, בצמוד לאלמנט?

mushon commented 11 years ago

בדיוק.
למעשה, אחרי שהדף נטען הג'אווסקריפט מוסיף על האלמנטים הנבחרים "התנהגויות" שיפעלו (במקרה של הטולטיפים) במעבר עכבר. הקוד מופיע למטה כדי לוודא שהוא מתווסף רק אחרי שהדף נטען במלואו. יש דרכים להוסיף אותו ב-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).

maykishon commented 11 years ago

Sincerely, May Kishon.