Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add site to examples of live sites with Smoothstate #308

Open
wants to merge 84 commits into
base: update_readme
Choose a base branch
from

Conversation

seangeng
Copy link

Would love to add https://www.smokecartel.com to new live sites examples.

Miguel Pérez and others added 30 commits June 11, 2015 22:03
Correct typos in README.md
…rs and options.forms values too allow these selectors to be empty.
Check for falsey values of options.achors and options.forms
Added rate limiting to the SmoothState.clickAnchor() to prevent double-clicks from creating extra history states.
Added option.clickAnchorRepeatDelay to specify the number if milliseconds until the next click will pass into the handler.
…se excess actions of either type would produce extra unwanted history states.
….jshintrc because of SmoothState.load.responses.loaded becoming too complex. I wasn't sure how you would want to refactor this so I could just gulp the library and send you another PR.

Possible patch for issue #189 (#189).
Added an additional optional argument to SmoothState.load() (cacheResponse) to control whether the loaded value would stay in the cache or not.
Added a new option, options.allowFormCaching to control whather or not forms are cached set to false by default as caching forms can lead t some unusual behaviour as per #189).
Updated SmoothState.formSubmit() to pass options.allowFormCaching into SmoothState.load() to determine if the cache should be used.
Updated README.md to accommodate options.allowFormCaching.
Modified SmoothState.storePageIn() to collect all of the passed HTML elements under an <html> tag before using jQuery.find() to look for elements at any level of depth.
…n proposed in #199.

Separated cache clear() call into one that occurs when the load() callback has already ended, and a another that will be called instead upon the callback ending if it has not yet.
…cache length 0, smoothState wouls still act as though it had a cache length of 1. Clearing the cache for being over capacity BEFORE testing the contents of the cache resolves this issue and eliminates caching entirely for cache length 0.
Submitting PR again because I don't believe the CI test results...
danijelgrabez and others added 23 commits February 29, 2016 20:06
- demonstrates smoothState plug-in on sidebar navigation
- css, js and images are placed inside assets folder
- demo-relevant.css defines layout and animation, while
- main.js defines the behaviour of a smoothState library
added new demo to the demo folder
Changes:
- Updated NPM manifest;
- Fixed #260 (typo in README);
- Fixed #254 (typo in variable name on onPopState function);
- Cleaned up demos (simplified sidebar demo from #256);
onPopState uses global event variable instead of event argument.
Update NPM + Cleanup Demos + Fixes
Fix popstate event event variable
Added support for redirected requests
@puppetmaster3
Copy link

Also I'd like to add other project(s): https://github.com/struts3/what-demos

timgates42 and others added 2 commits September 23, 2020 06:04
There is a small typo in src/jquery.smoothState.js.

Should read `this` rather than `thid`.
docs: Fix simple typo, thid -> this
@mememonster82
Copy link

Would love to add https://askweedipedia.com to new live sites examples.

@leapooo
Copy link

leapooo commented Oct 11, 2021

mini dab rig

@notsaraali
Copy link

Would love to add https://cozmiccali.com/ to new live sites examples.

@notsaraali
Copy link

Would love to add https://cdcaosce.com/ to new live sites examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.