Rev | Line | |
---|
[44] | 1 | jQuery(document).ready(function() {
|
---|
| 2 | jQuery("#old-tagsdiv h3").prepend('<div style="float:right;"><a href="#st_click_tags" id="clicktags">'+show_txt+'</a><a href="#st_click_tags" id="close_clicktags">'+hide_txt+'</a></div>');
|
---|
| 3 |
|
---|
| 4 | jQuery("a#clicktags").click(function() {
|
---|
| 5 | jQuery("#st_click_tags")
|
---|
| 6 | .fadeIn('slow')
|
---|
| 7 | .load( site_url + '/wp-admin/admin.php?st_ajax_action=click_tags', function(){
|
---|
| 8 | jQuery("#st_click_tags span").click(function() { addTag(this.innerHTML); });
|
---|
| 9 | jQuery("a#clicktags").hide();
|
---|
| 10 | jQuery("a#close_clicktags").show();
|
---|
| 11 | });
|
---|
| 12 | return false;
|
---|
| 13 | });
|
---|
| 14 |
|
---|
| 15 | jQuery("a#close_clicktags").click(function() {
|
---|
| 16 | jQuery("#st_click_tags").fadeOut('slow', function() {
|
---|
| 17 | jQuery("a#clicktags").show();
|
---|
| 18 | jQuery("a#close_clicktags").hide();
|
---|
| 19 | });
|
---|
| 20 | return false;
|
---|
| 21 | });
|
---|
| 22 | }); |
---|
Note:
See
TracBrowser
for help on using the repository browser.