-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExample.html
More file actions
50 lines (49 loc) · 1.39 KB
/
Copy pathExample.html
File metadata and controls
50 lines (49 loc) · 1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>friendly url</title>
<style type="text/css" media="screen">
.urlfriendlybox {
background-color: #ccc;
padding: 10px;
width: 500px;
}
.Fila {
display: inline-block;
margin-bottom: 5px;
margin-top: 5px;
width: 100%;
}
.Fila > input {
width: 98%;
}
.icheckbox {
margin-left: 15px;
vertical-align: middle !important;
width: auto !important;
}
</style>
</head>
<body>
<div id="resultd"></div>
<input type="text" id="url1" value="" placeholder="Text to URL">
<br>
<input type="text" id="url2" value="" placeholder="Text to URL">
<br>
<input type="text" id="url3" value="" placeholder="Text to URL">
<br>
<input type="text" id="url4" value="" placeholder="Text to URL">
<br>
<input type="text" id="url5" value="" placeholder="Text to URL">
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="UrlFriendlyBox.js" type="text/javascript"></script>
<script type="text/javascript">
$("#url1").UrlFriendlyBox();
$("#url2").UrlFriendlyBox({lboStopWords:true});
$("#url3").UrlFriendlyBox({lboSelectStopWords:true});
$("#url4").UrlFriendlyBox({lboSelectStopWords:true,lboDomain:true});
$("#url5").UrlFriendlyBox({lboSelectStopWords:true,lboAppend:true,lstAppend:"/888"});
</script>
</body>
</html>