Demonstrates how to use session storage to know which site page a site visitor previously visited. The code needs to be placed in the Site tab so that it runs on all of the site's pages. The code retrieves the URL of the page a visitor previously visited from session storage. It then stores the URL of the visitor's current page in session storage. When the visitor navigates to another page, this stored URL is retrieved as the previous page URL.
wix-location, wix-storage, session storage, Button
This is an enhancement of the original Countdown example.
The original example Countdown site displays the countdown till a certain date and time. When the countdown reaches that moment, it begins the countdown for how long the awaited event lasts. After the event is over, the app then begins counting up to show how much time has elapsed since the event.
This example Countdown site displays the countdown till I reach retirement age (67, a prime number) on Feb 15th. Wix Code is amazing, and I'm not going anywhere! So, on Sunday (the 17th) I’ll be back in the office as usual... forums, support, and examples.
See the Count Down/Up example.
This is a fun example written by my friend and colleague Majd Qumseya. Majd cleverly uses a show/hide spin effect to "spin the wheel". Behind the scenes, he randomizes the list of available prizes. The coupon code is displayed when the wheel stops spinning.
Repeater, effects, hide, random, show, shuffle