New jQuery to view Post Icons in Editor


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? New jQuery to view Post Icons in Editor
# 1  
Old 07-29-2018
New jQuery to view Post Icons in Editor

I was reformatting the "advanced" WYSIWYG editor with bootstrap css and while there made the post icons to be invisible by default; so if you click on the text below the editor:

Post Icons - Click to view the full list of message icons to add to your post:

Image

The full list of post icons will appear:

Image

Added a bit of simple, almost trivial, jQuery code while there to accomplish this:

Code:
<script>
jQuery(document).ready(function(){
 jQuery(".neo-postbiticons").hide();
   jQuery("#neo-postbiticon-legend").click(function(){
     jQuery(".neo-postbiticons").toggle();
   });
});
</script>

This User Gave Thanks to Neo For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. What is on Your Mind?

New CODE and ICODE Editor Button Icons

As promised, I have changed the CODE tag icon and the ICODE tag icon in our WYSIWYG editors to use Font Awesome. CODE Tag = fa-code ICODE Tag = fa-terminal https://www.unix.com/members/1-albums215-picture966.png The reason for this change is to continue our move toward Font Awesome... (4 Replies)
Discussion started by: Neo
4 Replies

2. Web Development

New Font Awesome Icons in Quick Reply Editor

Working on the Quick Reply Editor, I have replaced a number of icons (see image below) with Font Awesome Icons. Was planning to replace all of them, but for some reason, replacing a few of them causes the script / template to break (which is odd) so I left them for now. ... (6 Replies)
Discussion started by: Neo
6 Replies

3. What is on Your Mind?

Moving from Desktop View to Mobile View

See attached video for a demo on how to move back and forth from the desktop view to the mobile view. Currently this only works for the home page, but I will work on some new PHP code in the future to make this work with the page we are currently on. Edit: The issue with making every page ... (2 Replies)
Discussion started by: Neo
2 Replies

4. AIX

Can't able to view the data in a file using the VI editor

I am unable to view the data in a file using the vi editor.....it is showing as all @ ( at the rate symbols). When I use the cat command, it showing the data. Please help me to how to view the data in VI editor, as I need to edit the data. Even I tried to edit using sed but that couldn't help... (9 Replies)
Discussion started by: tsurendra
9 Replies

5. Shell Programming and Scripting

Unable to view my post submitted 4 days ago

Hi Moderator, I am not able to view my post Shell Programming and Scripting - The UNIX and Linux Forums 7 Hours Ago by scottn · Go to last post · 2, 43. Encryption of card number ( Multi-page thread 1 2). mad_man12. 8 Hours Ago by Corona688 · Go to last post ... Please Advice (1 Reply)
Discussion started by: mad_man12
1 Replies

6. BSD

FreeBSD Label Editor Post-install Question

Hello there, Over the past few days I have installed FreeBSD 7.1 (which i'm new at) to an external Hard Drive. When installing, I chose to partition the disk Automatically and now I'm trying to use the label editor (post-installation configuration) to name the mount points: / /usr... (2 Replies)
Discussion started by: septima.pars
2 Replies
Login or Register to Ask a Question