Skip to content

Releases: haroldtreen/show-code

Firefox Bug Fix

07 May 20:19
Compare
Choose a tag to compare

Bug fix for firefox not updating it's scrollTop

Performance improvements + bug fixes

06 May 04:39
Compare
Choose a tag to compare

Changes

  • Use translate3d to improve performance
  • Fix bug where clicking on anchor links shifted the page up. (sc-background is not nested within an sc-background-container)

Before:
image

After:
image

Fix broken links

18 Jan 03:49
Compare
Choose a tag to compare
  • Fix z-index blocking links from being clicked

v1.0.0

18 Jan 02:43
Compare
Choose a tag to compare
  • Disable animation on mobile (smoother scrolling)
  • Restructure files
  • Add gulp + builds with minified files

API Update - Async setup + Container ID Change

30 Dec 08:08
Compare
Choose a tag to compare
  • The ID needed for the container is now sc-container
  • Initialization is now done asynchronously (call window.showCode() when your content is ready)

Bug Fixes - Style Changes

29 Dec 23:17
Compare
Choose a tag to compare
  • Remove border from background
  • Move container to same z-index as background

Bug Fixes

29 Dec 22:46
Compare
Choose a tag to compare
  • Remove check for page over scroll (no longer necessary + inconsistent)
  • Fix bug where style was not being set correctly

Initial Release!

29 Dec 09:02
Compare
Choose a tag to compare
  • Simple usage + easy to customize
  • jQuery free!
  • High performance (profiled using Chrome to guarantee 60 FPS)