make current and future elements draggable - draggable

I have a little web application in which I create DIVs by clicking on a button. I would like to make these created DIVs draggable, so I did a little research, and read about the "livequery" plugin which is now unavailable.
Is there a solution for my problem ?
Thank you for your help :)

Check out the LiveQuery plugin

Related

The best way to Create A dropdown menu in React Native

I am a newbee. Trying to add something like a dropdown list of option to one of my views in React Native app. Have been searching everywhere and here as well, but seems like everyone trying different stuff but most of them do not work coz they r out of date or simply wrong. Read something about picker but unsure.
Prefer to have a fully customisable menu that can be positioned and restyled.
Any help is appreciated. Thanks.
So, as a result. I have not found ant decent solution, so just used touchableopacity as 3 different buttons insted of a dropdown list.
Refer the react-native git hub repository, in there you can find you want exactly
https://github.com/facebook/react-native

How to deal with buttons with Physic2D and Images (PNG)?

I want to know how to create button with my Images(PNG).
I'm not gonna use the GUIButton because of creating the default button image.
I copied the images in my Unity Project and changed to sprite(2D and UI). Then, create the sprites simply by dragging. I also added the script which includes 'onTouchDown() and onMouseDown'. However, it didn't work so I tired again with layermask but it didn't work as well with no error code. Maybe the physic2D is the reason.
How can i make button with simple image. Could you guys help me to do so?
Please let me know does anyone have idea. Thank you.
Why don't you use a button from the new UI system?
Sorry guys. I didn't recognize that i typed 'OnMouseDown' to 'onMouseDown'. I didn't used capital letter. It's really annoying thing.

Combination of ember.js and Jqgrid

I am trying to build a Jqgrid component using ember.js. Is there any existing solution for this, please let me know.
Thanks
As for jQuery plugins probably the easiest solution is to manually manage a view's content by using the view's didInsertElement hook: http://jsbin.com/opobeg/1/edit
The general idea is to access the view's element with this.$(), which returns a jQuery object. Don't forget to tear down event listeners etc. you attached here in the willDestroyElement hook!
Yehuda's article describes this mechanism quite well. Although the article very outdated (still referring to SproutCore 2.0), the basic idea haven't changed much since then.
We have done many cool stuff with https://github.com/Addepar/ember-table as base.

Alternative to qTip (jQuery Tooltip Plugin)

Can anyone recommend a good alternative to qTip, the jQuery tooltip plugin? I feel like it's slowing down my web app because its adding canvas elements and event listeners all over the place.
GitHub.com uses tipsy. I trust that they have chosen pretty carefully, so that's what I would go for.
The Bootstrap tooltips are "inspired" by Tipsy as well.
jQuery Simpletip.
Take a look at jQueryTOOLS Tooltip
Here are 49 alternatives.
http://www.smashingapps.com/2011/12/05/50-awesomely-useful-yet-free-jquery-tooltip-plugins.html
Yeah I had problems with qTip also.
I ended up making my own. This seems to be happening more often. I just can't find what I want and end up making what I need.
https://github.com/donnyv/next-msg
Plus it has themes
don't forget about the Jquery UI tooltip
And Tooltip Demo
I fount https://github.com/iamceege/tooltipster with almost all essential functions of qTip.
The qTip js file is 64kb while this is 17kb. Which was important in our project.

Modal popup in Classic ASP?

I write in .NET and in classic ASP.
I want to create a modal popup in ASP, like in .NET how the parent page can be disabled and turned a different color.
Is this possible in ASP?
Or is there no easy solution to get this done?
If possible...how?
You're going to use Javascript to make something like that, I'd recommend you use jQuery. There is a lot of prebuilt libraries to help you do that.
For the modal box, you might start with the jQuery Dialog.
Just use a javascript library to do this. jQuery is a popular choice and there a number of plugins to do this.
jqModal
thickbox
Yes, of course, but if you are writing the Javascript yourself, you can just create a hidden DIV tag that has the same exact page rendered, but with a 15% gray - transparent .gif file that sits on top of what is displayed. Then you change that DIV tag to visable when the Modal dialog is launched, and change it back when it's closed. Simple.
There are some great JS libraries out there that can help you.
I like jQuery and YUI for their ease of use.
Try this link and look around at some of their Panel offerings.. all of which have a Modal setting that will grey out the background.
http://developer.yahoo.com/yui/examples/container/panel-loading.html
Good Luck~
" how the parent page can be disabled and turned a different color"
You can use the ibox javascript, I have used it with good results.
http://www.ibegin.com/labs/ibox/
I'd put a vote in for stickywin from the clientcide site. Its all Mootools bases and very sweet to use.

Resources