β β β We're back from a company-wide summer pause (or winter pause for our Southern Hemisphere team members). Edgar Allan is hitting it's numbers! β Let's look at some new Community Library scripts: β π Dynamically loads HTML content based on a random number. This is a quick script we wrote to give a dynamic intro into a soon-to-be-released https://edgarallan.com. βhttps://slater.app/community_library/random-content-aee7f7f2-3ab8-4e6f-887e-ea54cad0ebbfβ From Jared Malanββ β βοΈ Create a variable for your state machine inputs by input name. This script comes in from @jeffamcavoy who is launching a Rive Animation course. Check it out if you want to add more movement to your Webflow project. From jeffamcavoyβ β π Smooth scrolling setup using Lenis library with scroll event logging. @SarkisBuniatyan posted a simple way to add Lenis to your Webflow project. The only faster way--one that gives you full control--is to grab this script and add it to your active Slater project. βhttps://slater.app/community_library/lenis-smooth-scrolling-352b7c92-921d-44e8-a051-c462dd64043dβ From Jared Malanββ β Javascript 101: Javascript MathLet's build off of the random dynamic loading script highlighted at the beginning of this email. To create that experience, we needed to generate a random number. Luckily this is fairly trivial because of Javascript's built-in math capabilities. Some of the Math functions are super useful (e.g. random numbers, rounding) for even the most basic Javascript developers. Others will only be used by the most seasoned. Basic ArithmeticYou can use the standard arithmetic operators for basic calculations:
Math ObjectThe Constants
Rounding Functions
Random Numbers
To get a random number between a specified range:
Absolute Value
Trigonometric Functions
Other Useful Functions
This should give you a good starting point for working with math in JavaScript! If you have any specific questions or need more details, feel free to ask. β Your projects, supported by SlaterLet's hear it for @jeffamcavoy again!
β Also thanks for including us in this AI tools rundown βheyanirudhgoelβ! Check out the other tools to supercharge your workflow.
β β Happy coding! π€ the Slater Team β If Slater helps you create better websites, please support the team behind it.
|
Slater resources, updates and community activity
The team behind Slater would like to wish you a Merry Christmas and a happy New Year! ππ π Get the Santa ASCII art: https://slater.app/projects/11431/pages/27608 Happy coding! π€ the Slater Team If Slater helps you create better websites, please support the team behind it. Become a Pro Slater User
Earlier this year, we built figdam.com. It is currently used by several of our clients to host files and watermark PDFs. Weβd like to bring this file hosting functionality to Slater users. With that in mind, where do you currently store files that Webflow doesnβt support? Would this feature be useful to you? What file hosting features do you need? Let us know. JS 101: File types File storage? Javascript? Let's consider all of the different file types that you could host and then retrieve and...
Hi, Just a reminder that Kendra and Mason will be hosting an EA Office Hours Zoom this Friday, the 13th (spookyβ¦) to chat about topics relating to Chapter 1: Sales for Creative Types. Sign up if you can make it, and bring your questions. Letβs get past any lingering sales ick together. Register to join us this Friday, 12/13 here. Also, if you canβt make it this week, weβre thinking about doing it again next Friday, 12/20 as well, if anyone is game? To ring in the holiday break, weβll chat...