You are viewing our Forum Archives. To view or take place in current topics click here.
Modalite - A jQuery Modal Script
Posted:

Modalite - A jQuery Modal ScriptPosted:

-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
So I thought I'd just share a simple and lightweight little modal script with you guys.




Usage

Initiate a modal at any time using $.modal(content_str, width_str);. Content can be any html/plain text.




Contributing

If you would like to help out with Modalite's development then please do so using one of the following methods.

Via Git(hub)
1. Fork the repository.
2. Make, commit and push your changes.
3. Add a pull request to the original repo ( [ Register or Signin to view external links. ] ) with a good message on what you did.
4. Wait for a response.

Via Email
1. Download the repository.
2. Make any changes.
3. Add a .txt file saying: who you are and what you did.
4. Zip up the repo (.zip ONLY).
5. Send it as an email attachment to jordancalluma @ facebook.com with a message saying what it is.

i. Failure to follow these steps correctly may result in your work not being added.
ii. Do NOT alter the layout/writing style of any existing code without good reason to do so.
iiv. Follow any layout/writing style conventions as best you can.
iv. Keep your changes neat and tidy.





Links

Github Repo - [ Register or Signin to view external links. ]
Demo Page - [ Register or Signin to view external links. ]


Last edited by -Jordan- ; edited 3 times in total

The following 1 user thanked -Jordan- for this useful post:

FinancialChad (12-22-2011)
#2. Posted:
Z61
  • TTG Fanatic
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
When viewing the demo I get a page doesn't exist.
#3. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
The link has now been fixed.
#4. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Updates:

- Completed base modal.
- Built theme switcher.
- Added dark theme.
- Added Facebook theme.
#5. Posted:
Z61
  • V5 Launch
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Nice, I like the facebook theme .
#6. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Z61 wrote Nice, I like the facebook theme .

Thanks. It's a shame most people here are too stupid to care about work like this.
#7. Posted:
Z61
  • TTG Fanatic
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
-Jordan- wrote
Z61 wrote Nice, I like the facebook theme .

Thanks. It's a shame most people here are too stupid to care about work like this.
I was thinking about adding this for a school project, though if I did, he would probably think the whole site was stolen or something.
#8. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Z61 wrote
-Jordan- wrote
Z61 wrote Nice, I like the facebook theme .

Thanks. It's a shame most people here are too stupid to care about work like this.
I was thinking about adding this for a school project, though if I did, he would probably think the whole site was stolen or something.

Well it's completely open source and each file contains an attribution to me and the original so he shouldn't have any problem since it wouldn't be stealing.
#9. Posted:
-Jordan-
  • TTG Addict
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201013Year Member
Posts: 2,684
Reputation Power: 122
UPDATE:

- Remote content loading (ajax)

$.modalite('file.txt', {remote:true});
[/b]
#10. Posted:
SyntaxError_81
  • Ladder Climber
Status: Offline
Joined: Oct 20, 201112Year Member
Posts: 322
Reputation Power: 13
Status: Offline
Joined: Oct 20, 201112Year Member
Posts: 322
Reputation Power: 13
-Jordan- wrote
Z61 wrote Nice, I like the facebook theme .

Thanks. It's a shame most people here are too stupid to care about work like this.


Why are you so harsh? Personally I hate HTML coding, I just find it boring. But I appreciate the work of others and I can see when someone has put a lot of work into something, which you have. So stop being an arse hole. Not everyone has to be a God of web development to understand or even enjoy a well constructed piece of code. Think about when you were a beginner you didn't master jQuery within a few minutes did you?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.