jquery photo tag plugin
- <link media="screen" type="text/css" href="/static/photo-tag/libraries/jquery-ui-1.8.17.custom.css" rel="stylesheet">
- <link media="screen" type="text/css" href="/static/photo-tag/tests/photo_tags/styles2.css" rel="stylesheet">
- <script type="text/javascript" src="/static/photo-tag/libraries/jquery.dev.1.7.1.js"></script>
- <script type="text/javascript" src="/static/photo-tag/libraries/jquery-ui-1.8.17.custom.min.js"></script>
- <script type="text/javascript" src="/static/photo-tag/js/jquery.phototag.js"></script>
- $(document).ready(function(){
- $('.photoTag').photoTag({
- requesTagstUrl: '/static/photo-tag/tests/photo_tags/photo-tags.php',
- deleteTagsUrl: '/static/photo-tag/tests/photo_tags/delete.php',
- addTagUrl: '/static/photo-tag/tests/photo_tags/add-tag.php',
- parametersForNewTag: {
- name: {
- parameterKey: 'name',
- isAutocomplete: true,
- autocompleteUrl: '/static/photo-tag/tests/photo_tags/names.php',
- label: 'Name'
- }
- }
- });
- });
- <img src="http://karlmendes.com/static/photo-tag/tests/photo_tags/monkeys2.jpg" class="photoTag"> data-user-id="25> data-image-id="200> data-album-id="200>
No comments:
Post a Comment