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
viewcmds(3U)						    InterViews Reference Manual 					      viewcmds(3U)

NAME
CenterCmd, CloseEditorCmd, GravityCmd, GridCmd, GridSpacingCmd, NormSizeCmd, OrientationCmd, RedToFitCmd - commands for modifying editor attributes SYNOPSIS
#include <Unidraw/Commands/viewcmds.h> DESCRIPTION
The Unidraw library predefines several commands for altering the attributes of editors and their viewers. CenterCmd centers each of the editor's viewers. CloseEditorCmd closes the editor, removing it from the screen. GravityCmd turns gravity on by activating the editor's GravityVar, if it defines one. GridCmd toggles the visibility of each viewer's grid, while GridSpacingCmd lets the user specify the grid spacing for all grids. Finally, NormSizeCmd sets each viewer's magnification to a factor of one, OrientationCmd toggles each viewer's ori- entation between landscape mode and portrait mode, and RedToFitCmd changes each viewer's magnification so that its component view is fully visible. CENTERCMD PUBLIC OPERATIONS
CenterCmd(ControlInfo*) CenterCmd(Editor* = nil) Construct a new CenterCmd. virtual void Execute() Execute simply calls CenterOp on each of the editor's viewers. virtual boolean Reversible() CenterCmd is not reversible. CLOSEEDITORCMD PUBLIC OPERATIONS
CloseEditorCmd(ControlInfo*) CloseEditorCmd(Editor* = nil) Construct a new CloseEditorCmd. virtual void Execute() Execute calls Close on the global unidraw object with the CloseEditorCmd's editor as its argument. Execute prompts the use to save the component if it does not appear in any other open editors. If no other editors are open at all, Execute creates and executes a QuitCmd. virtual boolean Reversible() CloseEditorCmd is not reversible. GRAVITYCMD PUBLIC OPERATIONS
GravityCmd(ControlInfo*) GravityCmd(Editor* = nil) Construct a new GravityCmd. virtual void Execute() Execute calls Activate on the editor's GravityVar (if it defines one) with the inverse of the value returned by GravityVar's IsAc- tive operation. virtual boolean Reversible() GravityCmd is not reversible. GRIDCMD PUBLIC OPERATIONS
GridCmd(ControlInfo*) GridCmd(Editor* = nil) Construct a new GridCmd. virtual void Execute() Execute calls the Visibility operation on the grid from each of the editor's viewers, supplying the inverse of the value returned by Grid's IsVisible oepation. virtual boolean Reversible() GridCmd is not reversible. GRIDSPACINGCMD PUBLIC OPERATIONS
GridSpacingCmd(ControlInfo*) GridSpacingCmd(Editor* = nil) Construct a new GridSpacingCmd. virtual void Execute() Execute prompts the user to specify grid spacing information through a GridDialog. If the user does not cancel the dialog, then Execute will pass the specified grid spacing to a SetSpacing call on each viewer's grid. virtual boolean Reversible() GridSpacingCmd is not reversible. NORMSIZECMD PUBLIC OPERATIONS
NormSizeCmd(ControlInfo*) NormSizeCmd(Editor* = nil) Construct a new NormSizeCmd. virtual void Execute() Execute simply calls SetMagnification with an argument of 1 on each of the editor's viewers. virtual boolean Reversible() NormSizeCmd is not reversible. ORIENTATIONCMD PUBLIC OPERATIONS
OrientationCmd(ControlInfo*) OrientationCmd(Editor* = nil) Construct a new OrientationCmd. virtual void Execute() Execute switches the orientation of each of the editor's viewers via their SetOrientation operation. virtual boolean Reversible() OrientationCmd is not reversible. REDTOFITCMD PUBLIC OPERATIONS
RedToFitCmd(ControlInfo*) RedToFitCmd(Editor* = nil) Construct a new RedToFitCmd. virtual void Execute() Execute simply calls ReduceToFit on each of the editor's viewers. virtual boolean Reversible() RedToFitCmd is not reversible. SEE ALSO
BasicDialog(3U), Command(3U), Grid(3U), Unidraw(3U), Viewer(3U), catcmds(3U), globals(3U), statevars(3U) Unidraw 24 January 1991 viewcmds(3U)
All times are GMT -4. The time now is 06:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy