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:
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201014Year 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
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:
Status: Offline
Joined: Apr 16, 201014Year Member
Posts: 4,309
Reputation Power: 179
When viewing the demo I get a page doesn't exist.
- 1useful
- 1not useful
#3. Posted:
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
The link has now been fixed.
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Updates:
- Completed base modal.
- Built theme switcher.
- Added dark theme.
- Added Facebook theme.
- Completed base modal.
- Built theme switcher.
- Added dark theme.
- Added Facebook theme.
- 0useful
- 0not useful
#5. Posted:
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 .
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201014Year 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.
- 0useful
- 2not useful
#7. Posted:
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- wroteI was thinking about adding this for a school project, though if I did, he would probably think the whole site was stolen or something.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.
- 1useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Z61 wrote-Jordan- wroteI was thinking about adding this for a school project, though if I did, he would probably think the whole site was stolen or something.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.
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.
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
Status: Offline
Joined: Jul 12, 201014Year Member
Posts: 2,684
Reputation Power: 122
UPDATE:
- Remote content loading (ajax)
[/b]
- Remote content loading (ajax)
$.modalite('file.txt', {remote:true});
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Oct 20, 201113Year Member
Posts: 322
Reputation Power: 13
Status: Offline
Joined: Oct 20, 201113Year Member
Posts: 322
Reputation Power: 13
-Jordan- wroteZ61 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?
- 1useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.