@@ -344,52 +344,6 @@ <h3>{{ _('Navigation') }}</h3>
344
344
345
345
</ style >
346
346
347
- < script >
348
-
349
- function open_window ( cause_id ) {
350
- var protocol = String ( document . location . protocol ) ;
351
- var new_url ;
352
- if ( / A n d r o i d | w e b O S | i P h o n e | i P a d | i P o d | B l a c k B e r r y | I E M o b i l e | O p e r a M i n i / i. test ( navigator . userAgent ) ) {
353
- new_url = "https://www.flipcause.com/widget/" + cause_id
354
- window . open ( new_url ) ;
355
- }
356
-
357
- else {
358
- document . getElementById ( "fc-fade" ) . style . display = "block" ;
359
- document . getElementById ( "fc-fade" ) . style . webkitAnimation = "backfadesin 1s" ;
360
- document . getElementById ( "fc-fade" ) . style . animation = "backfadesin 1s" ;
361
- document . getElementById ( "fc-fade" ) . style . mozAnimation = "backfadesin 1s" ;
362
- document . getElementById ( "fc-light" ) . style . display = "block" ;
363
- document . getElementById ( "fc-light" ) . style . webkitAnimation = "fadesin 1.5s" ;
364
- document . getElementById ( "fc-light" ) . style . animation = "fadesin 1.5s" ;
365
- document . getElementById ( "fc-light" ) . style . mozAnimation = "fadesin 1.5s" ;
366
- document . getElementById ( "fc-main" ) . style . display = "block" ;
367
- document . getElementById ( "fc-main" ) . style . webkitAnimation = "fadesin 1.5s" ;
368
- document . getElementById ( "fc-main" ) . style . animation = "fadesin 1.5s" ;
369
- document . getElementById ( "fc-main" ) . style . mozAnimation = "fadesin 1.5s" ;
370
- document . getElementById ( "fc-close" ) . style . display = "block" ;
371
- document . getElementById ( "fc-close" ) . style . webkitAnimation = "fadesin 1.5s" ;
372
- document . getElementById ( "fc-close" ) . style . animation = "fadesin 1.5s" ;
373
- document . getElementById ( "fc-close" ) . style . mozAnimation = "fadesin 1.5s" ;
374
- document . getElementById ( "fc-myFrame" ) . style . display = "block" ;
375
- document . getElementById ( "fc-myFrame" ) . style . webkitAnimation = "fadesin 1.5s" ;
376
- document . getElementById ( "fc-myFrame" ) . style . animation = "fadesin 1.5s" ;
377
- document . getElementById ( "fc-myFrame" ) . style . mozAnimation = "fadesin 1.5s" ;
378
- document . getElementById ( "fc-myFrame" ) . src = "https://www.flipcause.com/widget/" + cause_id ;
379
- }
380
- }
381
-
382
-
383
- function close_window ( ) {
384
- document . getElementById ( "fc-fade" ) . style . display = "none" ;
385
- document . getElementById ( "fc-light" ) . style . display = "none" ;
386
- document . getElementById ( "fc-main" ) . style . display = "none" ;
387
- document . getElementById ( "fc-close" ) . style . display = "none" ;
388
- document . getElementById ( "fc-myFrame" ) . style . display = "none" ;
389
- }
390
-
391
- </ script >
392
-
393
347
< div id ="fc-fade " class ="fc-black_overlay " onclick ="close_window() "> </ div >
394
348
< div id ="fc-light " class ="fc-white_content ">
395
349
< div id ="fc-main " class ="fc-main-box ">
0 commit comments