Skip to content

Commit a44afe1

Browse files
author
Maik Tizziani
committed
adds a new file for using jQuery.msgBox with RequireJs
1 parent 8b435ae commit a44afe1

File tree

3 files changed

+497
-175
lines changed

3 files changed

+497
-175
lines changed

.gitignore

Lines changed: 168 additions & 163 deletions
Original file line numberDiff line numberDiff line change
@@ -1,163 +1,168 @@
1-
#################
2-
## Eclipse
3-
#################
4-
5-
*.pydevproject
6-
.project
7-
.metadata
8-
bin/
9-
tmp/
10-
*.tmp
11-
*.bak
12-
*.swp
13-
*~.nib
14-
local.properties
15-
.classpath
16-
.settings/
17-
.loadpath
18-
19-
# External tool builders
20-
.externalToolBuilders/
21-
22-
# Locally stored "Eclipse launch configurations"
23-
*.launch
24-
25-
# CDT-specific
26-
.cproject
27-
28-
# PDT-specific
29-
.buildpath
30-
31-
32-
#################
33-
## Visual Studio
34-
#################
35-
36-
## Ignore Visual Studio temporary files, build results, and
37-
## files generated by popular Visual Studio add-ons.
38-
39-
# User-specific files
40-
*.suo
41-
*.user
42-
*.sln.docstates
43-
44-
# Build results
45-
[Dd]ebug/
46-
[Rr]elease/
47-
*_i.c
48-
*_p.c
49-
*.ilk
50-
*.meta
51-
*.obj
52-
*.pch
53-
*.pdb
54-
*.pgc
55-
*.pgd
56-
*.rsp
57-
*.sbr
58-
*.tlb
59-
*.tli
60-
*.tlh
61-
*.tmp
62-
*.vspscc
63-
.builds
64-
*.dotCover
65-
66-
## TODO: If you have NuGet Package Restore enabled, uncomment this
67-
#packages/
68-
69-
# Visual C++ cache files
70-
ipch/
71-
*.aps
72-
*.ncb
73-
*.opensdf
74-
*.sdf
75-
76-
# Visual Studio profiler
77-
*.psess
78-
*.vsp
79-
80-
# ReSharper is a .NET coding add-in
81-
_ReSharper*
82-
83-
# Installshield output folder
84-
[Ee]xpress
85-
86-
# DocProject is a documentation generator add-in
87-
DocProject/buildhelp/
88-
DocProject/Help/*.HxT
89-
DocProject/Help/*.HxC
90-
DocProject/Help/*.hhc
91-
DocProject/Help/*.hhk
92-
DocProject/Help/*.hhp
93-
DocProject/Help/Html2
94-
DocProject/Help/html
95-
96-
# Click-Once directory
97-
publish
98-
99-
# Others
100-
[Bb]in
101-
[Oo]bj
102-
sql
103-
TestResults
104-
*.Cache
105-
ClientBin
106-
stylecop.*
107-
~$*
108-
*.dbmdl
109-
Generated_Code #added for RIA/Silverlight projects
110-
111-
# Backup & report files from converting an old project file to a newer
112-
# Visual Studio version. Backup files are not needed, because we have git ;-)
113-
_UpgradeReport_Files/
114-
Backup*/
115-
UpgradeLog*.XML
116-
117-
118-
119-
############
120-
## Windows
121-
############
122-
123-
# Windows image file caches
124-
Thumbs.db
125-
126-
# Folder config file
127-
Desktop.ini
128-
129-
130-
#############
131-
## Python
132-
#############
133-
134-
*.py[co]
135-
136-
# Packages
137-
*.egg
138-
*.egg-info
139-
dist
140-
build
141-
eggs
142-
parts
143-
bin
144-
var
145-
sdist
146-
develop-eggs
147-
.installed.cfg
148-
149-
# Installer logs
150-
pip-log.txt
151-
152-
# Unit test / coverage reports
153-
.coverage
154-
.tox
155-
156-
#Translations
157-
*.mo
158-
159-
#Mr Developer
160-
.mr.developer.cfg
161-
162-
# Mac crap
163-
.DS_Store
1+
#################
2+
## Netbeans
3+
#################
4+
/nbproject
5+
6+
#################
7+
## Eclipse
8+
#################
9+
10+
*.pydevproject
11+
.project
12+
.metadata
13+
bin/
14+
tmp/
15+
*.tmp
16+
*.bak
17+
*.swp
18+
*~.nib
19+
local.properties
20+
.classpath
21+
.settings/
22+
.loadpath
23+
24+
# External tool builders
25+
.externalToolBuilders/
26+
27+
# Locally stored "Eclipse launch configurations"
28+
*.launch
29+
30+
# CDT-specific
31+
.cproject
32+
33+
# PDT-specific
34+
.buildpath
35+
36+
37+
#################
38+
## Visual Studio
39+
#################
40+
41+
## Ignore Visual Studio temporary files, build results, and
42+
## files generated by popular Visual Studio add-ons.
43+
44+
# User-specific files
45+
*.suo
46+
*.user
47+
*.sln.docstates
48+
49+
# Build results
50+
[Dd]ebug/
51+
[Rr]elease/
52+
*_i.c
53+
*_p.c
54+
*.ilk
55+
*.meta
56+
*.obj
57+
*.pch
58+
*.pdb
59+
*.pgc
60+
*.pgd
61+
*.rsp
62+
*.sbr
63+
*.tlb
64+
*.tli
65+
*.tlh
66+
*.tmp
67+
*.vspscc
68+
.builds
69+
*.dotCover
70+
71+
## TODO: If you have NuGet Package Restore enabled, uncomment this
72+
#packages/
73+
74+
# Visual C++ cache files
75+
ipch/
76+
*.aps
77+
*.ncb
78+
*.opensdf
79+
*.sdf
80+
81+
# Visual Studio profiler
82+
*.psess
83+
*.vsp
84+
85+
# ReSharper is a .NET coding add-in
86+
_ReSharper*
87+
88+
# Installshield output folder
89+
[Ee]xpress
90+
91+
# DocProject is a documentation generator add-in
92+
DocProject/buildhelp/
93+
DocProject/Help/*.HxT
94+
DocProject/Help/*.HxC
95+
DocProject/Help/*.hhc
96+
DocProject/Help/*.hhk
97+
DocProject/Help/*.hhp
98+
DocProject/Help/Html2
99+
DocProject/Help/html
100+
101+
# Click-Once directory
102+
publish
103+
104+
# Others
105+
[Bb]in
106+
[Oo]bj
107+
sql
108+
TestResults
109+
*.Cache
110+
ClientBin
111+
stylecop.*
112+
~$*
113+
*.dbmdl
114+
Generated_Code #added for RIA/Silverlight projects
115+
116+
# Backup & report files from converting an old project file to a newer
117+
# Visual Studio version. Backup files are not needed, because we have git ;-)
118+
_UpgradeReport_Files/
119+
Backup*/
120+
UpgradeLog*.XML
121+
122+
123+
124+
############
125+
## Windows
126+
############
127+
128+
# Windows image file caches
129+
Thumbs.db
130+
131+
# Folder config file
132+
Desktop.ini
133+
134+
135+
#############
136+
## Python
137+
#############
138+
139+
*.py[co]
140+
141+
# Packages
142+
*.egg
143+
*.egg-info
144+
dist
145+
build
146+
eggs
147+
parts
148+
bin
149+
var
150+
sdist
151+
develop-eggs
152+
.installed.cfg
153+
154+
# Installer logs
155+
pip-log.txt
156+
157+
# Unit test / coverage reports
158+
.coverage
159+
.tox
160+
161+
#Translations
162+
*.mo
163+
164+
#Mr Developer
165+
.mr.developer.cfg
166+
167+
# Mac crap
168+
.DS_Store

README.txt

Lines changed: 26 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,26 @@
1-
jQuery.msgBox is a plug-in to make smarter displaying messages. Also usage of the plug-in is so easy. You just need to add following files to your page as shown below and the images named 'alert.png', 'confirm.png', 'error.png', 'info.png', 'msgBoxBackGround.png' used by plug-in to 'Images' folder in the root directory.
2-
3-
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
4-
<script src="scripts/jquery.msgBox.js" type="text/javascript"></script>
5-
<link href="styles/msgBoxLight.css" rel="stylesheet" type="text/css">
6-
7-
See how to use at http://dotctor.github.io/jQuery.msgBox/
8-
9-
Currently, this code is **not maintained**.
10-
Alternatives such as bootstrap are recommended.
11-
See http://getbootstrap.com/javascript/#modals for modals in bootstrap.
12-
Nevertheless, we welcome pull requests.
1+
jQuery.msgBox is a plug-in to make smarter displaying messages. Also usage of the plug-in is so easy. You just need to add following files to your page as shown below and the images named 'alert.png', 'confirm.png', 'error.png', 'info.png', 'msgBoxBackGround.png' used by plug-in to 'Images' folder in the root directory.
2+
3+
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
4+
<script src="scripts/jquery.msgBox.js" type="text/javascript"></script>
5+
<link href="styles/msgBoxLight.css" rel="stylesheet" type="text/css">
6+
7+
See how to use at http://dotctor.github.io/jQuery.msgBox/
8+
9+
Currently, this code is **not maintained**.
10+
Alternatives such as bootstrap are recommended.
11+
See http://getbootstrap.com/javascript/#modals for modals in bootstrap.
12+
Nevertheless, we welcome pull requests.
13+
14+
// edit by Maik Tizziani
15+
16+
For using with RequireJS use the file jquery.msgBox.require.js.
17+
18+
You can use it like that:
19+
20+
require(
21+
['jquery', 'path/to/libs/jQuery.msgBox/scripts/jquery.msgBox.require],
22+
function($, msgBox){
23+
msgBox({
24+
// your box settings, see the other samples
25+
});
26+
});

0 commit comments

Comments
 (0)