Sponsored Content
The Lounge What is on Your Mind? A Choice: Draggable Editors or Smilie Box on Quick Editor Post 303027003 by Neo on Thursday 6th of December 2018 11:17:34 PM
Old 12-07-2018
Hmm... I don't see any real benefit for having sections of the web site draggable using jQuery-UI except, perhaps, for the ability to drag the Quick Reply Editor (QRE) when composing a reply. Not sure if this "minor goodness" has much value compared to the added overhead of adding the relatively sizable jQuery-UI Javascript library. Of course, this is more code to maintain and another JS library to maintain.

I doubt anyone here will use "draggable" in any useful way. Will let this experiment run for a bit longer but I may turn it off sooner than later.

Better, I think, to add some VueJS - Bootstrap apps or components to the site.

Of some minor interest to note is that the jQuery-UI libs currently override the site's Bootstrap tooltips. These tooltips look good in some places and not so good in others, and also I'm having some trouble controlling the tooltip format (for example, getting rid of the shadow box) in the Advanced Stats. So, I'm not a huge fan of these jQuery-UI tooltips. This is another reason to remove the jQuery-UI libs from the site, sooner than later.

At this point in time, jQuery-UI seems more value-subtracted than value-added compared to other JS libs and frameworks.
 

6 More Discussions You Might Find Interesting

1. Programming

editors?

Just started out with C and are looking for a good editor in *nix that marks the code with colors. This is maybe a newbie thing to have the C code in colors but i like it and you can almost always se when you are typing wrong. :) Ive heard that emacs should have that option but i havent... (3 Replies)
Discussion started by: hexdoctor
3 Replies

2. UNIX for Dummies Questions & Answers

Editors for UNIX

Where can i find editors for UNIX? thanks (5 Replies)
Discussion started by: Inbal
5 Replies

3. UNIX for Dummies Questions & Answers

Mail utilities and editors.

I was wondering what other mail utilities besides 'mutt, unix mail, PINE and elm' are available for unix. Also, what other editors are around besides 'VI, pico, vim and emacs'... I've been searching the net looking for some answers, but nothing much has come up.. thanx! (1 Reply)
Discussion started by: Shonnie
1 Replies

4. UNIX and Linux Applications

opinions on video editors

What is everyones opinions on these video editors? PiTiVi Avidemux Cinelerra Kdenlive Kino Linux Video Editing: Top Five Linux Video Editors (0 Replies)
Discussion started by: cokedude
0 Replies

5. What is on Your Mind?

Small bug in the Quick Editor function in postbit

Hey, There was a small bug in the Quick Editor function in postbit, but I fixed it (basically a double quote was missing from an element id): <div id="post_message_$post" class="neo-message-area">$post</div> Was <div id="post_message_$post class="neo-message-area">$post</div> Should... (1 Reply)
Discussion started by: Neo
1 Replies

6. 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
tooltip(n)							Tooltip management							tooltip(n)

__________________________________________________________________________________________________________________________________________________

NAME
tooltip - Tooltip management SYNOPSIS
package require Tcl 8.4 package require msgcat 1.3 package require tooltip ?1.4.4? ::tooltip::tooltip command ?options? ::tooltip::tooltip pathName ?option arg? message _________________________________________________________________ DESCRIPTION
This package provides tooltips, small text messages that can be displayed when the mouse hovers over a widget, menu item, canvas item, listbox item or text widget tag. COMMANDS
::tooltip::tooltip command ?options? Manage the tooltip package using the following subcommands. clear index Prevents the specified widgets from showing tooltips. pattern is a glob pattern and defaults to matching all widgets. delay ?millisecs? Query or set the hover delay. This is the interval that the pointer must remain over the widget before the tooltip is dis- played. The delay is specified in milliseconds and must be greater than 50ms. With no argument the current delay is returned. fade ?boolean? Enable or disable fading of the tooltip. The is enabled by default on Win32 and Aqua. The tooltip will fade away on Leave events instead disappearing. disable off Disable all tooltips enable on Enables tooltips for defined widgets. ::tooltip::tooltip pathName ?option arg? message This command arranges for widget pathName to display a tooltip with message message. The tooltip uses a late-binding msgcat call on the passed in message to allow for on-the-fly language changes in an application. If the widget specified is a menu, canvas or text widget then additional options are used to tie the tooltip to specific menu entries, canvas items or text tags. -index index This option is used to set a tooltip on a menu item. The index may be either the entry index or the entry label. The widget must be a menu widget but the entries do not have to exists when the tooltip is set. -items name This option is used to set a tooltip for canvas widget or listbox items. For the canvas widget, the item must already be present in the canvas widget and will be found with a find withtag lookup. For listbox widgets the item(s) may be created later but the programmer is responsible for managing the link between the listbox item index and the corresponding tooltip. If the listbox items are re-ordered, the tooltips will need amending. If the widget is not a canvas or listbox then an error is raised. -tag name The -tag option can be used to set a tooltip for a text widget tag. The tag should already be present when this command is called or an error will be returned. The widget must also be a text widget. EXAMPLE
# Demonstrate widget tooltip package require tooltip pack [label .l -text "label"] tooltip::tooltip .l "This is a label widget" # Demonstrate menu tooltip package require tooltip tooltip::tooltip .menu.test -index 0 "This is a menu tooltip" # Demonstrate canvas item tooltip package require tooltip pack [canvas .c] set item [.c create rectangle 10 10 80 80] tooltip::tooltip .c -item $item "Canvas item tooltip" # Demonstrate listbox item tooltip package require tooltip pack [listbox .lb] tooltip::tooltip .lb -item 0 "Listbox item tooltip" # Demonstrate text tag tooltip package require tooltip pack [text .txt] tooltip::tooltip .txt -tag TIP-1 "tooltip one text" KEYWORDS
balloon, help, hover, tooltip COPYRIGHT
Copyright (c) 1996-2008, Jeffrey Hobbs tooltip 1.4.4 tooltip(n)
All times are GMT -4. The time now is 03:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy