What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-01-22 03:36:27
how to crop an image before upload using php
<?php //index.php ?> <!DOCTYPE html> <html> <head> <title>Crop Image Before Upload using CropperJS with PHP</title> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/c... Add solution -
CSS 2021-12-23 16:31:26
autocomplete widget not working in modal popup
/* at the time of writing 13/03/2021 Google change the class for it's container from .ui-autocomplete to .pac-container. The problem is that the z-index of the suggestions element is lower that the modal element so it works but it's shown below the modal ... Add solution -
Other 2021-11-22 05:00:31
Create a Confirmation Modal When a User Adds a Promotion Code
var Cart = container.getComponent('Cart'); Cart.cancelableOn('beforeAddPromotion', function confirmPromo () { var deferred = jQuery.Deferred(); function resolvePromise () { return deferred.resolve() }; function rejectPromise () { var... Add solution -
Dart 2021-11-22 02:46:12
add fullscreen modal on a page in flutter app
import 'package:flutter/material.dart'; class TutorialOverlay extends ModalRoute<void> { @override Duration get transitionDuration => Duration(milliseconds: 500); @override bool get opaque => false; @override bool get barrierDis... Add solution -
Javascript 2021-11-20 17:03:10
how sent data to dilaog angular material
// app.component.ts import { Component } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { MyDialogModalComponent } from './modals/my-dialog-modal/my-dialog-modal.component'; @Component({ selector: 'app-root', templ... Add solution -
Other 2021-11-20 04:00:20
bootstrap popup
<!-- Button trigger modal --> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalCenter"> Launch demo modal </button> <!-- Modal --> <div class=... Add solution