עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

קבלו משהו מגניב בJS

Featured Replies

פורסם

תרשמו את זה בשורת הכתובות (לא משנה באיזה אתר ) ואנטר/GO

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName(%22img%22); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+%22px%22; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+%22px%22}R++}setInterval('A()',5); void(0)

או בלי תג של קוד כדי שיהיה נוח להעתיק :

javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName(%22img%22); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+%22px%22; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+%22px%22}R++}setInterval('A()',5); void(0)

:D

פורסם

חחח

די מגניב...

פורסם

מוכר ואידיוטי.

פורסם

תיקון:

נחמד!!!... :xyxthumbs:

אם תעשו את זה כמה פעמים על אותו דף (אתר) התמונות/לחצנים יעופו יותר מהר.

פורסם

לא עובד לי :'(

פורסם

חחחחח ענקק

פורסם

לא עובד לי :'(

אתה אמור לכתוב את זה באתר - לא בדף הבית

דוגמא: תכתוב את הכתובת הזו כאשר אתה נמצא בדיון הזה.

פורסם

מוכר...

הצלחתי לתפוס את הכפתור של שליחת התגובה ;D

פורסם

אהה חזק , פתחתי לשונית חדשה ריקה בגלל זה זה לא עבד. :yelclap:

פורסם

חחח גדול , בהתחלה זז רק הסקרול האופקי , אח"כ כל התמונות התחילו לרחף

:lol: :lol:

מאיפה הקרצת את זה?

פורסם

חמוד, אחלה מתיחה למשרד. :xyxthumbs:

פורסם

יש מצב לקצר את הקוד הזה איכשהו כדי לשים לחברים במחשב?

זה לא יהיה טוב אם אני יתחיל להעתיק את זה מפה ופתאום איזה חבר יתפוס אותי :silly:

פורסם

הסבר (לא הכי פרטני) למי שמעוניין. בגדול אפשרות לעשות כל מני שטויות.

%22 (in the original source) = "
javascript:
R=0; <-- initial circle parameters
x1=.1;
y1=.05;
x2=.25;
y2=.24;
x3=1.6;
y3=.24;
x4=300;
y4=200;
x5=300;
y5=200;
DI=document.getElementsByTagName("img"); <-- get all images in the page
DIL=DI.length; <-- the number of images in the page
function A() { <-- an function definition named A
for(i=0; i-DIL; i++) { <-- An loop passing all images indexs in page
DIS=DI[ i ].style; <-- get the i'th image CSS style properties
DIS.position='absolute'; <-- set the image position to be absoloutly relative to the page
DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+"px"; <-- set the X coordinate of the image (according to an circle pattern)
DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+"px" <-- set the Y coordinate of the image (according to an circle pattern)
}
R++ <-- Increase R every call to A so the images will rotate every time
}
setInterval('A()',5); <-- call function A every 5 miliseconds

פורסם

מוכר..

אבל עדיין גדול. ;D

פורסם

לא נורמלי. ;)

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.