How to modify the default animation of Angular Material MatDialog? - angular-material2

By default, the dialog appears coming from bottom to top with some speed.
modify the delay to 3 seconds by using animation property of component metadata.
here is code link:
https://stackblitz.com/edit/angular-e1yfpy

Unfortunately, there's no way that you can modify the animation of the dialog as the animations of the dialog are done programmatically with Angular Animations.
As for the reason why the dialogs are displaying below each other, that's because you didn't include a theme in your app!
Modify the styles.css file to the following code:
#import '~#angular/material/prebuilt-themes/indigo-pink.css';

Related

CKEDITOR Image Properties Browse Button

I have found a neat plugin for CKEDITOR called bgimage that allows a user to select a section of text and wrap said text within div and apply the background image style attribute (Background Image plugin should use Selected Text.).
I was wondering how can I replace the Image URL with Image Browse button as found within Image Properties?
Do I need to add an additional button to the vbox then make the necessary connections between FileBrowser and the associated Button? (I can't seem to find the relevant Developer Docs, regarding this problem).
The complete documentation for adding the file browser to your dialog is actually available here: Adding File Manager to a Dialog Window.

Override css for specific pinterest buttons

I have added a pinterest button to my site so that if any image is hovered, the pinterest button will show up and you will be able to pin the image to your board:
<script type="text/javascript" async defer src="//assets.pinterest.com/js/pinit.js" data-pin-hover="true" data-pin-do="buttonBookmark" data-pin-color="white"></script>
However, on a couple of images, the button sits on top of the site header (which is fixed position to the top of the page) and disappear once the cursor enters the header. I have been searching but could not find any way to overwrite the inline styles that are applied to the button for specific images.
Any solution I have found is for the older version of the pinterest button where you can easily override the styles in your css file.
Does anyone know how to do this for the new button?
Here is a fiddle demonstrating my problem - you cannot click the button for the top two images
In the end I made my own plugin to loop through all images on the page and create a link which I then had complete control over.
As long as the link href was formatted in the following way, it seemed to work:
https://www.pinterest.com/pin/create/button/?url=[full url of web page]&media=[full url of image]&description=[image title]

Pure CSS Slider with Autoplay

how can I add more buttons(+3) to pure css slider from this site : http://cssslider.com/
I try to change .css files and html but something goes wrong ;/
Please help me add more working buttons, or if you could explain how to make radio-imput checked/unchecked with css animation
Have you download the slider software? Download and install the slider softwar. Now run software . You will see a window like
Now click Add images. Add as many images as you need. If you add 6 images then 6 button will be create. For auto play click advance option. I hope you can do that. It last click Save HTML.

I can't get the first modal, in the series of modals, to open

Greeting and thanks for your generosity in providing this wonderful forum,
I'm using jQuery Orbit Slider and Reveal Modal. I setup the slider to include content and within the content are hotlinks to a series of modals.
I can't get the first modal, in the series of modals, to open. It appears the plugin is programmatically generating inline CSS that is overriding my CSS stylesheet. Mainly z-index selector is keeping the first modal hidden (or invisible). The subsequent modals in that series work as intended.
When viewed using Chrome Inspect Console shows the inconsistency please note at "featuredContent10" which is where the slide4 resides (it's actually a background image). The data-reveal-id="slide4-1" is the first one in the series of modals. I did not add the inline styles it's in the reveal.js file.
Unfortunately, I don't know enough about reveal and can't find any information regarding a solution. The information I came away with is to ask for assistance on stackoverflow.com. 99.9% of the time I find solution on my own, however, I'm at a lost and my client likes the features of both plugins. Any help you can give me would be very much appreciated.
If it helps here’s a link to the beta site: http://www.partnershipwithearth.com/thecooperationway-1/
Go to Slide 11 lower left link is the culprit. You'll notice the dialog box and close button do appear without the image (slide4-1).
Your expertise is greatly appreciated

jQuery-ui draggable element into CKEditor?

I was testing a different feature, and I somehow, accidentally dropped an image that I had rendered "draggable" with jQuery UI, into a CKEditor (jQuery version) window. The source in the editor was updated accordingly. Serendipity!
But it was like I had just seen a unicorn -- It only happened once, and I was not able to replicate the effect.
Has anyone else been able to get those two tools to work together? If so, what's the trick?
I believe you don't need to make an image "draggable" with jquery to drag it into CkEditor. It works out of the box with any image of the page.

Resources