Rails | Ujs

Supports all major desktop browsers and mobile devices.
Embraces standard web technologies and provides a powerful Javascript API.

View on GitHub

Rails | Ujs

The tool generates a virtual tour from a set of panoramas and allows you to export it as web application that can be deployed as-is or used as a boilerplate for more advanced projects. Requires Firefox or Chrome.

Marzipano Tool

Rails | Ujs

See the documentation for instructions.

Rails | Ujs

rails ujs

Embraces the web

Designed to work with web standards. Control the viewer with a powerful Javascript API and create interfaces using standard HTML and CSS.

rails ujs

Browser support

Built with WebGL technology supported on all modern desktop and mobile browsers and devices.

rails ujs

Great performance

Marzipano is optimized to display 360° images of any size with the best performance possible. It is also lightweight: 55KB when gzipped.

Rails | Ujs

Marzipano provides a simple API for the most common use cases, but it is designed to give the user a lot of control over how it works.

The demos showcase some of the possibilities that Marzipano allows and how to implement them. Their source code is available on GitHub.

View all demos rails ujs
rails ujs
rails ujs
Simple Tour Demo

Simple responsive tour generated with the Marzipano Tool. Includes features such as hotspots and autorotate.

Try Demo View Source

Rails | Ujs

<%= button_to 'Add to Cart', add_item_cart_path(product), remote: true, data: disable_with: 'Adding...' %>

: In older apps (Rails 5/6), you will often see require("@rails/ujs").start() in your application.js file. rails ujs

This code generates a link with a remote URL that makes an AJAX request to the specified URL when clicked. The goal of UJS is to make JavaScript

Unobtrusive JavaScript is a programming approach that separates JavaScript code from HTML markup. The goal of UJS is to make JavaScript code more maintainable, efficient, and easier to understand by decoupling it from HTML. This approach was first introduced by John Resig, a well-known JavaScript developer, and has since become a widely accepted best practice in the web development community. a well-known JavaScript developer

You can subscribe to UJS events to show spinners or error messages:

To truly master rails-ujs , you must understand its event-driven architecture.

Rails | Ujs

Please post bug reports on the GitHub issue tracker. Use the discussion group for suggestions, questions or comments.

Marzipano is not an official Google product.