Prevent fullcalendar from accepting every "droppable" object - fullcalendar

I'm using the jquery "dialog" feature to provide popup windows with fullcalendar. I use the "modal: true" setting to disable the parent page. However, fullcalendar tries to interact with the modal accepting it as a droppable object. As a result when you drag the modal the calendar days underneath highlight. When you let go the fullcalendar errors....

Or set the option droppable = false.

Got it:
drop-accept: 'div class of object'
under the calendar.

Related

Google Tag Manager, Tag to fire once CSS class appears on page

Is there a way to activate a trigger in Google Tag Manager once a class appears visible on the page after a button click?
For example I want this error to populate after the user clicks a call to action:
The error bar in the yellow does have a CSS class to reference but unsure of the triggers to use to make this happen.
Any help would be awesome, thank you!
You can use Element visibility trigger with CSS selector that match this class.

Ajax Model Popup Extender

Public Property Drag As Boolean' is obsolete: 'The drag feature on modal popup will be automatically turned on if you specify the PopupDragHandleControlID property. Setting the Drag property is a noop'.
While compiling the .Net(4.0) code it shows the warning. How we will remove or clear the warning.
Please guide me
means that ModalPopupExtender.Drag will no longer supported in .Net framework, so instead of that you can use PopupDragHandleControlID property.
dont use Drag , use PopupDragHandleControlID

Disable UIPageViewController when ModalViewController opened

I am totaly new to this site, but I already like it :-)
I found it by searching for a question about the UIPageViewController.
I have a normal UIPageViewController App, in which I open a ModalViewController for setting up some settings...
Now the Problem: :-)
If I click on the done Button on the right side of the ModalView, to dismiss it, the PageViewController turnes the page, because he thinks that he is meant by that click ;-)
Can I disable the PageViewController GestureRecognizer as long as I have a ModalView opened?
Is there a method to disable and later his recognizer?
thank you for your help in advance...
cu Matze
It seems odd that your UIPageViewController would steal touches from a modal view presented over it. Unless, perhaps, you are embedding the modal view within the content of the UIPageViewController?
To answer your question -- you can easily disable the page view controller's gesture recognizers by enumerating its gestureRecognizers property (an NSArray):
for (UIGestureRecognizer *gr in [self.pageViewController gestureRecognizers]) {
[gr setEnabled:NO];
}
Re-enable them later with setEnabled:YES.
UPDATE:
In iOS 6 UIPageViewControllerTransitionStyleScroll has been added. UIPageViewControllers that use this transition style return no gesture recognisers in the array returned by gestureRecognizers. Presumably page view controllers with this transition style use an underlying, private UIScrollView instance (it behaves just like a UIScrollView with paging enabled), although I haven't checked this.

FLEX, Actionscript: 2 questions about mouseOver event and image scaling

1) if I create items in a for loop, is correct to add a new eventListener for each item ? Or should I add only 1 eventListener to the parent ? and call the event through ID ?
2) if I want to scale my item, (a LinkButton with icon image), I noticed that the icon is sometimes resized with delay, so I have a bit of flickering when I trigger the event. Should I not use icons, and set the image in another way ? How can I fix this ?
thanks
1) if I create items in a for loop, is
correct to add a new eventListener for
each item ? Or should I add only 1
eventListener to the parent ? and call
the event through ID ?
It depends. If the items are listening for something, add it to them. If the parent is listening, add it to the parent. If you add it only to the parent, set the useCapture arg to true in the addEventListener method. It can get confusing in Flash because there is no difference between an event listener and an event handler: the handler actually points to the class that contains the handler.
2) if I want to scale my item, (a
LinkButton with icon image), I noticed
that the icon is sometimes resized
with delay, so I have a bit of
flickering when I trigger the event.
Should I not use icons, and set the
image in another way ? How can I fix
this ?
Without knowing how exactly you are doing this, I can't offer concrete solutions. Are you using a Resize effect? Are you scaling using overrides on scaleX and scaleY properties? Does this handle on mouseover or via some other event? All I can tell you is that you may be better off not using the LinkButton, or may want to change the skin instead of resizing. Show your code if you want more informed answers.

Detecting out-of-view flex controls

In my flex app I have custom tooltips on buttons that hide and show based on user context.
The problem that I dealing with is that when I call my showTips() function I only want to show tooltips on the buttons that visible in the view. So buttons that on a un-selected tab (tabNavigator) should not show the tooltips.
For some reason all tooltips are showing.
Is there a way to detect if a button is not in current view, like on a un-selected tab?
If you gave us some code I could check this out, but would this work?
if(button.parent.visible) { showTip(button);}
Instead of custom coding for each button, make use your tabnavigator's creation policy is set to "auto".
Check this link for more details
http://livedocs.adobe.com/flex/3/html/help.html?content=layoutperformance_05.html

Resources