FlagSwitcher



Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information.

Sep 27th, 2011
  • Push Mic Control allows you to be heard only when you want! With this app, you can choose when your microphone is active, keeping your privacy. Get full control of your mic by selecting an operating mode, and using selected hotkeys to activate it.
  • ‎Download apps by VLADIMIR KRUCHININ, including FlagSwitcher and Find 10 Differences Free.
Never
FlagSwitcher
Not a member of Pastebin yet?Sign Up, it unlocks many cool features!
  1. Yii::app()->clientScript->registerScript(
  2. '$('.flash-success').animate({opacity: 1.0}, 7000).fadeOut('slow');',
  3. );
  4. Yii::app()->clientScript->registerScript(
  5. 'function createDropDown(){
  6. var selected = source.find('option[selected]');
  7. $('body').append('<dl></dl>')
  8. $('#target').append('<dt><a href='#'>' + selected.text() +
  9. '</span></a></dt>')
  10. options.each(function(){
  11. $('#target dd ul').append('<li><a href='#'>' +
  12. $(this).val() + '</span></a></li>');
  13. }
  14. var text = $(this).html();
  15. $('.dropdown dd ul').hide();
  16. source.val($(this).find('span.value').html())
  17. CClientScript::POS_HEAD
  18. ?>
  19. Yii::app()->clientScript->registerScript(
  20. '$('.dropdown img.flag').addClass('flagvisibility');
  21. $('.dropdown dt a').click(function() {
  22. });
  23. $('.dropdown dd ul li a').click(function() {
  24. $('.dropdown dt a span').html(text);
  25. $('#result').html('Selected value is: ' + getSelectedValue('sample'));
  26. return $('#' + id).find('dt a span.value').html();
  27. var $clicked = $(e.target);
  28. $('.dropdown dd ul').hide();
  29. $('#flagSwitcher').click(function() {
  30. $('.dropdown img.flag').toggleClass('flagvisibility');
  31. CClientScript::POS_READY
  32. ?>
RAW Paste Data
FlagSwitcher

Flag Switzerland Emoji Slack

Flag

Flag Switches





Comments are closed.