select2 or chosen or bootstrap-multiselect
I am looking for a way to show the options in a multi select, just like plain simple "multiple" option does to the regular select control.
It saves a click! it saves a click (the need to open the dropdown to see the options), when you have to select multiple options. I am not able to find anywhere any documentation regarding that.
Could it be that you are asking not about "list as it is in HTML" (note: there are no one unified solution - see multiselect on mobile devices, they are not the same as on desktop) but about list that is in popup which is opened by click ant that is NOT CLOSED till you could finish all your selections? One click is requried, but not "click to open, click to select, click to open, click to select ..."?
Chosen can't do this (chosen closes popup after selection).
bootstrap-multiselect can, but its list is not very friendly: 1) it can change its location (jump up and down) under the mouse, and 2) is usually "too wide" - checkboxes are too far from text (text aligned left, checkbox aligned right).
You can try my component: https://github.com/DashboardCode/BsMultiSelect
Here dropdown menu is not closed till you had finished all your selections, and it can't look "too wide" if you have "wider" length of your input control.
Related
I'm trying to automate some work in a 3rd party application (Cognos) using AutoHotKey. There are two listboxes, and basically you double click on the left box and it populates the box on the right. I want to select 'n' number of items in a particular, specified order. Basically the pseudo-script would be something like:
down 4
doubleclick
up 2
doubleclick
Up & down is not a problem, but I can't get double click to work. I tried two "MouseClick, left" but that requires the mouse to be at the correct position. If this is the solution, how do I move the mouse to the listbox's item that has focus?
And before anyone asks... I tried alternatives to double clicking, such as the enter key, but enter = "ok" since it's technically in a large dialogue box.
If anyone has an alternative to AutoHotKey that'd be appreciated too. I tried VBS & "sendkeys" first, but double click really seemed not do-able.
Thanks
When long press the input box it can popup the system menus (like select select All or copy select paste), but when press the menu the system keyboard was directly exit.
It seems that press on external area. Other platform(iphone4, iPad) words well. Any one meet the same issue and and found the solution for it ?
I have created a new Campaign in Google Adwords, and I want to copy all locations from an existed campaign to the new one. There is no edit button on the setting page, whereas there is an edit button on the keywords page. Is it possible to copy and paste locations?
This is perhaps an update to ravb79's answer, because it is a little different. I am in the US and using Chrome.
In the left rail, select "All Campaigns"
Check the checkbox for the campaigns you wish to move locations to
Read the above again. You check the campaigns you want to change, NOT the one you are copying FROM.
Go to the "Settings" tab (under the heading "All online campaigns")
Click on the "Edit" button next to the red "+CAMPAIGN" button
Choose "Location..." from the dropdown
Select the radio button next to "Replace with locations from another campaign"
Click on "Choose..."
Slect the campaign FROM which you want to copy locations
I hope this helps.
Found the button you're looking for (I think). Select "All campaigns" in the sidebar > Select the "Settings" tab > Make sure you're viewing "All settings" > on the toolbar above the datatable (same row as "+ CAMPAIGN") on the far right there should be a button labelled "copy locations to" (or something to that extent, I have a different language set) > select a campaign and click the button.
In a multi page template,I have three category pages (comedy, action, drama) that you can swipe between each containing rows of images (Seinfeld, Modern Family, Family Guy, Big Bang). Clicking on an individual image should open a dialog box (Seinfeld summary), close when you click the close button, and stay close. Initially it works, then what happens is based on the number images click after two, it opens and closes n -1 (clicking the 3rd image, opens the dialog box twice).
what could be the reason behind this?
Without your code I can be sure but I think I understand what is happening to you.
You have a problem with multiple event binding. Because of jQuery Mobile architecture it is possible to bind an event numerous time to some object.
I have an blog ARTICLE on jQuery Mobile page events handling and there's a chapter dedicated to this problem, just search for the chapter Prevent multiple event triggering. Or it can be found HERE.
In few words always unbind event before you bind it to some object to prevent this from happening:
$('#test-button').die('click').live('click', function(e) {
alert('Button click');
});
I have a <div> with some text and I would like the user to be able to natively select the text. The issue is that when I attach any mouse event handler to the element or it's parent (besides document element) the selection won't work any longer.
This could be observe on the site linked below. If you sink mouse events the selection won't work for the first line.
http://rafalrybacki.com/lab/selection_ios/
What happens after clicking "sink mouse events" is:
main.sinkEvents(Event.MOUSEEVENTS);
Checked with iOS5.
I would like make the text selecting work (keeping the mouse events). How to do this?