Go to file
2021-07-18 16:19:12 +02:00
images lightbox img 2020-03-14 23:02:46 +01:00
translations ultra version of ckeditor5 2020-11-30 21:37:54 +01:00
admin.css added admin hover 2020-11-23 18:24:26 +01:00
bootstrap.min.css bootstrap 4.5 2020-06-11 18:56:29 +02:00
bootstrap.min.js bootstrap und doku 2020-02-22 17:46:15 +01:00
ckeditor.js image resizer 2020-12-22 00:59:58 +01:00
ckeditor.js.map image resizer 2020-12-22 00:59:58 +01:00
cookiebanner.css cookiebanner 2021-07-18 16:19:12 +02:00
cookiebanner.js cookiebanner 2021-07-18 16:19:12 +02:00
copy-to-clipboard.css copy to clipboard 2020-06-09 22:28:19 +02:00
copy-to-clipboard.js option mehrere copier sachen auf einer seite zu haben 2020-06-25 10:47:22 +02:00
dropzone.css dropzone 2020-02-22 13:29:51 +01:00
dropzone.js dropzone 2020-02-22 13:29:51 +01:00
feedback.js warn ungetestet 2021-01-02 16:39:55 +01:00
form.js pflichtfeld prüfung 2020-08-11 12:59:54 +02:00
get_params.js js get parameter auslesen braucht man immer mal 2020-07-06 19:07:19 +02:00
jquery-autoresize.js readme über switch und autoresize 2020-06-08 17:02:44 +02:00
jquery-ui.min.css jquery und ui 2020-02-14 19:18:58 +01:00
jquery-ui.min.js jquery und ui 2020-02-14 19:18:58 +01:00
jquery.datetimepicker.full.min.js datepicker 2020-05-23 23:38:05 +02:00
jquery.datetimepicker.min.css datepicker 2020-05-23 23:38:05 +02:00
jquery.min.js jquery 3.5.1 2020-07-08 11:34:17 +02:00
lightbox.css lightbox 2020-03-14 23:01:43 +01:00
lightbox.js lightbox 2020-03-14 23:01:43 +01:00
mailto.js mailto 2020-12-16 14:41:01 +01:00
make-columns.css bootstrap 4.5 2020-06-11 18:56:29 +02:00
parallax.css parallax css 2020-03-05 18:26:30 +01:00
push.js push geholt 2020-03-07 22:12:08 +01:00
README.md cookiebanner 2021-07-18 16:19:12 +02:00
switch.css checkbox switch 2020-04-20 00:35:04 +02:00
wysiwyg.css . 2020-09-10 14:31:58 +02:00
wysiwyg.js . 2020-09-10 14:31:58 +02:00

cssjs_func_lib

git submodule add https://git.seemsleg.it/pub/cssjs-func-lib cssjs

install

<link rel="stylesheet" type="text/css" href="/cssjs/admin.css" media="screen" />
<link rel="stylesheet" type="text/css" href="/cssjs/jquery-ui.min.css" media="screen" />

<script src="/cssjs/jquery.min.js"></script>
<script src="/cssjs/jquery-ui.min.js"></script>
<script src="/cssjs/form.js"></script>

Dropzone

<form action="/upload" class="dropzone needsclick dz-clickable" id="demo-upload">
  <div class="dz-message needsclick">
    <button type="button" class="dz-button">Drop files here or click to upload.</button><br>
    <span class="note needsclick">(This is just a demo dropzone. Selected files are <strong>not</strong> actually uploaded.)</span>
  </div>
</form>

Parallax

<link rel="stylesheet" href="/css/parallax.css">

...

<div class="parallax" style="background-image: url(img);">&nbsp;</div>

Divs anordnen

<script src="/cssjs/masonry.pkgd.min.js"></script>

<div class="grid">
  <div class="grid-item">...</div>
  <div class="grid-item grid-item--width2">...</div>
  <div class="grid-item">...</div>
  ...
</div>

.grid-item { width: 200px; }
.grid-item--width2 { width: 400px; }

Checkbox Switch

<link rel="stylesheet" href="/cssjs/switch.css">

<input type="checkbox" class="switch" name="publish" id="checkPub" value="1" ' . ($data ['publish'] ? 'checked="true"' : '') . ' /><label for="checkPub"></label>

DateTimePicker

  <link rel="stylesheet" type="text/css" href="/cssjs/jquery-ui.min.css">
  <link rel="stylesheet" type="text/css" href="/cssjs/jquery.datetimepicker.min.css">

  <script src="/cssjs/jquery-ui.min.js"></script>
  <script src="/cssjs/jquery.datetimepicker.full.min.js"></script>

  <script>
    jQuery(\'.datetime\').datetimepicker({
      format:\'d.m.Y H:i\',
      step:30,
      onShow:function( ct ){
    },
    timepicker:true
    });
  </script>

textarea autoheight

<textarea style="max-height: 300px;" class="autoheight"></textarea>

<script src='/cssjs/autosize.js'></script>
<script>
  autosize(document.querySelectorAll('textarea.autoheight'));
</script>

Copy to Clipboard

<script src='/cssjs/copy-to-clipboard.js'></script>
<link rel="stylesheet" type="text/css" href="/cssjs/copy-to-clipboard.css">

<div class="copy-to-clipboard">
  <input type="text" readonly="true" value="blablabla" id="copy-to-clipboard" onclick=" copyToClipboard('copy-to-clipboard');copiedToClipboard('copy-to-clipboard-tooltip');return false;" onmouseout="resetClipboard('copy-to-clipboard-tooltip')">
  <span class="tooltiptext" id="copy-to-clipboard-tooltip">Kopieren</span>
</div>

WYSIWYG (old)

<link rel="stylesheet" type="text/css" href="/cssjs/wysiwyg.css">
...
<div class="wysiwyg"></div>
...
<script src='/cssjs/wysiwyg.js'></script>

Cookiebanner

<link href="/cssjs/cookiebanner.css" rel="stylesheet">
<script>
  var cookiebanner_cookie = 'cookieallowed';
  var cookiebanner_text = 'Dies ist ein Fanprojekt, wir haben keinerlei offizielle Beziehung zu CIG oder deren Produkten. '+
    'Notwendige Cookies helfen dabei, eine Webseite nutzbar zu machen, indem sie Grundfunktionen wie Seitennavigation und Zugriff auf sichere Bereiche der Webseite ermöglichen. Die Webseite kann ohne diese Cookies nicht richtig funktionieren. '+
    ' Statistik-Cookies helfen Webseiten-Besitzern zu verstehen, wie Besucher mit Webseiten interagieren, indem Informationen anonym gesammelt und gemeldet werden. '+
    'Dürfen Cookies gesetzt werden, um weitere Informationen zu erfassen?';
</script>
<script src="/cssjs/cookiebanner.js"></script>

ckEditor5

<script src="/cssjs/ckeditor.js"></script>

<script>ClassicEditor
	.create( document.querySelector( '.editor' ), {
		
		toolbar: {
			items: [
				'heading',
				'|',
				'bold',
				'italic',
				'underline',
				'link',
				'removeFormat',
				'fontSize',
				'fontFamily',
				'|',
				'bulletedList',
				'numberedList',
				'todoList',
				'|',
				'indent',
				'outdent',
				'alignment',
				'horizontalLine',
				'|',
				'imageUpload',
				'imageInsert',
				'blockQuote',
				'insertTable',
				'mediaEmbed',
				'undo',
				'redo',
				'|',
				'codeBlock',
				'exportPdf',
				'htmlEmbed',
				'exportWord',
				'highlight'
			]
		},
		language: 'de',
		image: {
			toolbar: [
				'imageTextAlternative',
				'|',
				'imageStyle:full',
				'imageStyle:side',
				'imageStyle:alignLeft', 'imageStyle:alignCenter', 'imageStyle:alignRight',
                '|',
                'imageResize',
			]
		},
		table: {
			contentToolbar: [
				'tableColumn',
				'tableRow',
				'mergeTableCells'
			]
		},
		licenseKey: '',
		
	} )
	.then( editor => {
		window.editor = editor;
	} )
	.catch( error => {
		console.error( 'Oops, something went wrong!' );
		console.error( 'Please, report the following error on https://github.com/ckeditor/ckeditor5/issues with the build id and the error stack trace:' );
		console.warn( 'Build id: p276tlu14l98-tj7z79o4qxsd' );
		console.error( error );
	} );
</script>

Heading

...
	heading: {
		options: [
			{ model: 'paragraph', title: 'Paragraph', class: 'ck-heading_paragraph' },
			{ model: 'heading1', view: 'h1', title: 'Heading 1', class: 'ck-heading_heading1' },
			{ model: 'heading2', view: 'h2', title: 'Heading 2', class: 'ck-heading_heading2' }
		]
	}
...

mailto

<span class="mailto">mail@<span style="display:none;">no-thx-</span>server.de</span
<script src="/cssjs/mailto.js"></script>

ajax-Feedback

<script src="/cssjs/feedback.js">
... onclick="return ajaxFeedback(this,'ajax.php','margin-top:300px;');" ...