Booking Button
1. Customize it
2. Add the base Booking Button JS
Add this code before </body>3. Use this code wherever you'd like the button to appear
4. Enjoy your new Booking Button!
(Alternative) For Wix sites: Add this as HTML Code
Button Documentation
Call the sasBookingButtons() JavaScript Function whenever data-attributes are updated after button creation.
data-url |
The full Marina URL on Snag-A-Slip — Required Example: |
---|---|
data-length | Boat Length (LOA) (ft) — Optional
Max: 1000 |
data-beam | Boat Beam (ft) — Optional
Max: 500 |
data-draft | Boat Draft (ft) — Optional
Max: 500 |
data-power |
Shore Power (1-8) — Optional
|
data-referral |
Referral Code — Optional
|
data-color |
Button Color — Optional
|
data-bgcolor |
Background Color — Optional
|
data-txtcolor |
Text Color — Optional
|
data-size |
Button Size — Optional
|