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.

So how do I create floating/movable 'windows' within a webpage

Featured Replies

Hello

 

 

How would I go about creating a webpage with movable images (fake windows) inside the webpage?

 

Like this: http://www.maisonmartinmargiela.com/

 

On the Margiela website - the 'windows' are PNGs with rollover images - but also you can click and drag, and move them around as you wish.

 

How would one go about making movable images like this within a page?

I believe html5 has native support for drag and drop so you wouldn't necessarily need jQuery UI. Unfortunately I have no experience with this myself but i did find this demo with source code.

http://html5demos.com/drag

Edited by Nillervision

I believe html5 has native support for drag and drop so you wouldn't necessarily need jQuery UI. Unfortunately I have no experience with this myself but i did find this demo with source code.

http://html5demos.com/drag

 

I didn't know that! However, probably the browser support is poor. It's worth looking into it, though.

I didn't know that! However, probably the browser support is poor. It's worth looking into it, though.

Yeah, the draggable attribute should be supported from IE9+

Here is a simpler example (please dont hate me for linking to W3schools)

http://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_global_draggable

 

EDIT: I guess HTML5 draggable is the way to go for mobile web apps

Edited by Nillervision

Create an account or sign in to comment

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.