Hello PHCorner, gusto ko lang e share ang gawa kung lightweight (2.4 KB) JS plugin for tags. Ito yun:
Simple Tags
A lightweight JS plugin for tags without JQuery library
Getting Started
Simply add the data-simple-tags with your desired values, for example Article, Blog, Page, Post, Category, Updates then, include .simple-tags for the default style.
NOTE! Ensure these files are included on your project.
In addition to this, the data-simple-tags will update whenever a new tag or deleted tag has been made.
Demo
Visit You do not have permission to view the full content of this post. Log in or register now.
I hope magamit nyo sa projects nyo.
Simple Tags
A lightweight JS plugin for tags without JQuery library
Getting Started
Simply add the data-simple-tags with your desired values, for example Article, Blog, Page, Post, Category, Updates then, include .simple-tags for the default style.
HTML:
<div
class="simple-tags"
data-simple-tags="Article, Blog, Page, Post, Category, Updates">
</div>
NOTE! Ensure these files are included on your project.
HTML:
<link href="build/css/style.css" rel="stylesheet">
<script src="build/js/script-min.js"></script>
In addition to this, the data-simple-tags will update whenever a new tag or deleted tag has been made.
Demo
Visit You do not have permission to view the full content of this post. Log in or register now.
I hope magamit nyo sa projects nyo.
Attachments
-
You do not have permission to view the full content of this post. Log in or register now.