Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

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.

Lana9

Members
  • Joined

  • Last visited

  1. Now, I have only this two errors: Problem at line 26 character 34: Use '!==' to compare with 'null'. if(window.innerWidth != null){ Implied global: window 26,31,32. Thank you, a lot for your advices!!! This was really helpfull.
  2. Hello Skateside, thank you for your response. I took your advice and done everything what you said, but I have a bunch of errors, still. Typeof: "Problem at line 14 character 20: Missing radix parameter. return parseInt(this.element.offsetLeft);". Also, I ran my code at PhpED, errors are the same. Of course, can't run code on button click, although /onclick event/ should call function for starting animation. This is how my animation should work(project with no encapsulation): My first project
  3. Hello, all! I was trying to move object left-down-up-right and I have succedd without encapsulation, but now I'm trying to use javascript encapsulation and can't get any good result. All the time I get error: object required or object expected at line 14. Someone has a some idea what I'm doing wrong? You can see my code at: My link p.s.This is not a professional project, only a small test project for learnig javascript, because I'm real beginner.

Account

Navigation

Search

Search

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.