Changeset 1209969
- Timestamp:
- 07/30/2015 08:19:09 PM (11 years ago)
- File:
-
- 1 edited
-
peecho/trunk/views/jquery-ui-dialog.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
peecho/trunk/views/jquery-ui-dialog.php
r1209965 r1209969 9 9 foreach ($snippets as $key => $snippet) { 10 10 ?> 11 <li onclick="getpeechoshortcut('peecho-shortcode-<?php echo $key; 12 ?>')" ><input id="peecho-shortcode-<?php echo $key;?>-radio" type="radio" value="title" name="title" ><a href="#ps-tabs-<?php echo $key; 11 <li onclick="jQuery('#peecho-shortcode-<?php echo $key; 12 ?>-radio').attr('checked','checked')" ><input id="peecho-shortcode-<?php echo $key;?>-radio" type="radio" value="title" name="title" onclick="jQuery('#peecho-shortcode-<?php echo $key; 13 ?>').trigger('click');"><a href="#ps-tabs-<?php echo $key; 13 14 ?>" id="peecho-shortcode-<?php echo $key; 14 ?>"><?php echo $snippet['title']; 15 ?></a></li> 15 ?>" onclick="jQuery('#peecho-shortcode-<?php echo $key; 16 ?>-radio').attr('checked','checked')"> 17 <?php echo ucwords($snippet['title']); ?></a></li> 16 18 <?php 17 19 } ?> … … 76 78 cursor: pointer; 77 79 } 80 81 .peechoselect li a{ 82 text-decoration:none !important; 83 outline:none !important; 84 } 85 .peechoselect li{ 86 border:none !important; 87 outline:none !important; 88 } 89 .peechoselect li:focus{outline: 0 !important;} 90 .peechoselect li a:focus{outline: 0 !important;} 91 .peechoselect li{ 92 border:none !important; 93 outline:none !important; 94 } 95 #peechonav ol li{outline:0 !important;} 96 #peechonav ol:hover{outline:0 !important;} 97 78 98 </style> 79 99 <script> … … 81 101 var selection = jQuery('.peechoselect'); 82 102 var select = selection.find('li'); 83 84 103 nav.click(function(event) { 85 104 if (nav.hasClass('active')) { … … 98 117 }); 99 118 function getpeechoshortcut(ID){ 100 jQuery('#'+ID).trigger('click');101 jQuery('#'+ID+'-radio').attr('checked','checked');102 alert('here');119 //jQuery('#'+ID).trigger('click'); 120 //jQuery('#'+ID+'-radio').attr('checked','checked'); 121 //alert('here'); 103 122 } 123 104 124 </script>
Note: See TracChangeset
for help on using the changeset viewer.