All Projects → archan937 → Topup

archan937 / Topup

The #1 Javascript Pop Up / Lightbox made by Paul Engel

Programming Languages

javascript
184084 projects - #8 most used programming language

h1. TopUp

The #1 Javascript Pop Up / Lightbox

h2. Introduction

TopUp ("http://gettopup.com":http://gettopup.com) 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 ("http://jquery.com":http://jquery.com) and jQuery UI ("http://jqueryui.com":http://jqueryui.com) driven in order to maintain cross-browser compatibility and compactness. TopUp offers the following advantages:

h2. How to develop TopUp yourself

Any help concerning bugfixes and improvements for TopUp is appreciated. Setting the environment up consists of only following 5 easy steps described below. But before we go any furter, I think it's better that I'll explain one thing or two ;)

TopUp is developed in a Rails application. This gives us many advantages:

The locations of the TopUp resources are as follows:

  • TopUp module ** public/javascripts/development/top_up.js (for the jQuery version) ** public/javascripts/development/top_up-pt.js (for the Prototype version: pre-alpha phase)
  • JS (Jzip templates) ** assets/jzip/jquery
  • HTML (Rails view templates) ** app/views/layouts/_top_up.html.erb ** app/views/layouts/_tu_top_up.html.erb
  • CSS (SASS templates) ** assets/sass/public/top_up/*
  • Images (sprites) ** public/images/top_up/*
  • Automated actions (rake tasks) ** lib/tasks/top_up.rake

So to develop TopUp yourself, you will have to setup the development environment and run the Rails application. Doing this is a piece of cake, just follow these steps:

Get a clone of the TopUp repository and open that directory

git clone git://github.com/archan937/topup.git && cd topup

Copy or rename config/environment.example.rb to config/environment.rb

mv config/environment.example.rb config/environment.rb

Copy or rename config/database.example.yml to config/database.yml and correct the login settings

mv config/database.example.yml config/database.yml

Create the database and run the migration task

rake db:create && rake db:migrate

Run the Rails application

./script/server

Go do some cool scripting

[ edit public/javascripts/development/top_up.js ]

Enjoy! :D

h2. Documentation

Please visit "http://gettopup.com/documentation":http://gettopup.com/documentation.

h2. Contact me

For support, remarks and requests please mail me at "[email protected]":mailto:[email protected].

h2. License

Copyright (c) 2010 Paul Engel, released under the MIT license

"http://holder.nl":http://holder.nl - "http://gettopup.com":http://gettopup.com - "http://codehero.es":http://codehero.es - "http://twitter.com/archan937":http://twitter.com/archan937 - "[email protected]":mailto:[email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].