Skip to content
Get TopUp
  • Home
  • Documentation
  • Examples
  • How to fix
  • Education

What is TopUp?

TopUp is an easy to use Javascript library for unobtrusively displaying images and webpages in a Web 2.0 approach of popups. The library is jQuery and jQuery UI driven in order to maintain cross-browser compatibility and compactness. TopUp offers the following advantages:

  • TopUp is absolutely free, also for commercial use (view the license)
  • A very easy setup process: only one(!) include and nothing more
  • Using TopUp presets keeps your HTML code 100% clean, no extra code needed whatsoever
  • The ability of displaying images, flash (from sites like Youtube, SWF and FLV files), movies (QuickTime, Windows Media and Realplayer), iframes, DOM elements and raw HTML
  • TopUp can be used along with Prototype (just include TopUp before Prototype)
  • TopUp is compressed with Yahoo! YUI Compressor to 47.6 KB (includes JS, HTML and CSS)
  • Usage of CSS sprites to reduce the amount of image requests to two per layout for faster loading
  • Cross-browser compatibility
  • Fancy layouts, animations and transitions
  • Auto-correction of size and position when required
  • The possibility to create groups
  • Support for AJAX requests
  • It’s open source: check out http://github.com/archan937/topup and enhance TopUp yourself!
  • And many more…

Why another Lightbox-like library

Just like many among us, I had the need for a lightbox-like library to use for a website I was working on. After examining libraries such as Lightbox, Lightbox2, LightWindow, Highslide, Thickbox, ModalBox and many more, I haven’t found one that really suited my needs. Either the installation was to complicated, they aren’t unobtrusive because you have to mess with the HTML code, the appearance isn’t that slick, the transitions were glitchy, conflicts with other libraries occured or the possibilities were lacking.

Enter TopUp! The installation of TopUp consists of including only one file (no images or stylesheets!), the look-and-feel is Apple-like, the animations and transitions look fancy, you can still use Prototype, it is so easy to specify options and last but not least: you can stay updated with the latest version without changing any code. Great for expansions and bugfixes!

How to use

When including from gettopup.com (the easiest setup)

Put the following in the head element:

<script type=”text/javascript” src=”http://gettopup.com/releases/latest/top_up-min.js”></script>

Note: You can configure TopUp (libs, fast mode, paths) in the querystring of the URL (read documentation) ( you can also include a specific release by replacing latest with the version e.g. 1.3.2 )

Add either the class top_up, the attribute toptions to your links or TopUp preset(s)

Enjoy!

When hosting the javascript and images yourself

Download and unpack the latest TopUp version

Put the following in the head element:

<script type=”text/javascript” src=”path/to/your/top_up-min.js”></script>

Note: You can configure TopUp (libs, fast mode, paths) in the querystring of the URL (read documentation)

Add either the class top_up, the attribute toptions to your links or TopUp preset(s)

Enjoy!

  • Blocked Someone on Snapchat from Viewing My Story, But They Still Saw It?
    Education

    Blocked Someone on Snapchat from Viewing My Story, But They Still Saw It?

    Paul Engle

    September 21, 2023

    Snapchat is a popular social media platform known for its ephemeral nature, where photos and videos disappear after being viewed….

  • Can You Make/Eat Pillsbury Cinnamon Rolls Past the Expiration Date?
    Education

    Can You Make/Eat Pillsbury Cinnamon Rolls Past the Expiration Date?

    Paul Engle

    September 21, 2023

    Pillsbury cinnamon rolls have been a beloved breakfast treat for generations, known for their deliciously sweet and cinnamon-infused flavor. However,…

  • My Twitter Says I Have Notifications, But I Don’t: A Troubleshooting Guide
    Education

    My Twitter Says I Have Notifications, But I Don’t: A Troubleshooting Guide

    Paul Engle

    September 19, 2023

    Social media platforms like Twitter have become an integral part of our daily lives, helping us stay connected with friends,…

  • What Does “UP” Mean in a Facebook Group Post?
    Education

    What Does “UP” Mean in a Facebook Group Post?

    Paul Engle

    September 19, 2023

    In the ever-evolving world of social media, it seems like new acronyms and slang terms are constantly cropping up. If…

  • What Happens in the Ending of the Manga Nana?
    Education

    What Happens in the Ending of the Manga Nana?

    Paul Engle

    September 18, 2023

    The manga series “Nana,” created by Ai Yazawa, is a beloved and emotionally charged story that has captivated readers for…

  • How many 1/4 Cups Equals 1 Cup?
    Education

    How many 1/4 Cups Equals 1 Cup?

    Paul Engle

    September 18, 2023

    Cooking and baking are as much a science as they are an art. Precise measurements can make the difference between…

  • What Does “Null” Mean on Facebook?
    Education

    What Does “Null” Mean on Facebook?

    Paul Engle

    September 17, 2023

    The digital world is full of jargon and technical terms that can sometimes leave us puzzled, especially when they appear…

  • What Does Kissing Horizontally Mean?
    Education

    What Does Kissing Horizontally Mean?

    Paul Engle

    September 17, 2023

    The world of romance and intimate relationships often comes with its own set of unique expressions and phrases, some of…

  • What Happened to All of the Ball Players from Coach Carter?
    Education

    What Happened to All of the Ball Players from Coach Carter?

    Paul Engle

    September 16, 2023

    “Coach Carter,” a sports drama film released in 2005, inspired and entertained audiences with its gripping portrayal of a high…

  • Full version of the rhyme “First the worst second the best …?
    Education

    Full version of the rhyme “First the worst second the best …?

    Paul Engle

    September 15, 2023

    We’ve all heard the popular childhood rhyme that starts with “First the worst, second the best…” This whimsical saying is…

1 2
Next

Follow Us

  • Twitter
  • Facebook
  • LinkedIn
  • Pinterest

Latest news

  • Blocked Someone on Snapchat from Viewing My Story, But They Still Saw It?

  • Can You Make/Eat Pillsbury Cinnamon Rolls Past the Expiration Date?

  • My Twitter Says I Have Notifications, But I Don’t: A Troubleshooting Guide

  • What Does “UP” Mean in a Facebook Group Post?

  • What Happens in the Ending of the Manga Nana?

About | Contact | Privacy Policy | Terms and Conditions

© 2023 GetTopUp