Created
June 10, 2021 23:31
-
-
Save JCBN03/10e10ab19b851aab15f50d549d09d7c2 to your computer and use it in GitHub Desktop.
jQuery SVG 3D Tag Cloud Plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link href="https://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css"> | |
<title>jQuery SVG 3D Tag Cloud Plugin Example</title> | |
<div class="jquery-script-clear"></div> | |
</div> | |
</div> | |
<div id='tag-cloud'></div> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( document ).ready( function() { | |
var entries = [ | |
{ label: 'Back to top', url: 'https://www.jqueryscript.net/tags.php?/Back%20to%20top/', target: '_top' }, | |
{ label: 'Bootstrap', url: 'https://www.jqueryscript.net/tags.php?/Bootstrap/', target: '_top' }, | |
{ label: 'Carousel', url: 'https://www.jqueryscript.net/tags.php?/carousel/', target: '_top' }, | |
{ label: 'Countdown', url: 'https://www.jqueryscript.net/tags.php?/countdown/', target: '_top' }, | |
{ label: 'Dropdown Menu', url: 'https://www.jqueryscript.net/tags.php?/Drop%20Down%20Menu/', target: '_top' }, | |
{ label: 'CodePen', url: 'https://codepen.io/', target: '_top' }, | |
{ label: 'three.js', url: 'https://threejs.org/', target: '_top' }, | |
{ label: 'Form Validation', url: 'https://www.jqueryscript.net/tags.php?/form%20validation/', target: '_top' }, | |
{ label: 'JS Compress', url: 'http://jscompress.com/', target: '_top' }, | |
{ label: 'TinyPNG', url: 'https://tinypng.com/', target: '_top' }, | |
{ label: 'Can I Use', url: 'http://caniuse.com/', target: '_top' }, | |
{ label: 'URL shortener', url: 'https://goo.gl/', target: '_top' }, | |
{ label: 'Grid Layout', url: 'https://www.jqueryscript.net/tags.php?/grid%20layout/', target: '_top' }, | |
{ label: 'Twitter', url: 'https://twitter.com/niklaswebdev', target: '_top' }, | |
{ label: 'deviantART', url: 'http://nkunited.deviantart.com/', target: '_top' }, | |
{ label: 'Gulp', url: 'http://gulpjs.com/', target: '_top' }, | |
{ label: 'Browsersync', url: 'https://www.browsersync.io/', target: '_top' }, | |
{ label: 'GitHub', url: 'https://github.com/', target: '_top' }, | |
{ label: 'Shadertoy', url: 'https://www.shadertoy.com/', target: '_top' }, | |
{ label: 'Tree View', url: 'https://www.jqueryscript.net/tags.php?/tree%20view/', target: '_top' }, | |
{ label: 'jsPerf', url: 'http://jsperf.com/', target: '_top' }, | |
{ label: 'Foundation', url: 'https://foundation.zurb.com/', target: '_top' }, | |
{ label: 'CreateJS', url: 'https://createjs.com/', target: '_top' }, | |
{ label: 'Velocity.js', url: 'http://julian.com/research/velocity/', target: '_top' }, | |
{ label: 'TweenLite', url: 'https://greensock.com/docs/#/HTML5/GSAP/TweenLite/', target: '_top' }, | |
{ label: 'jQuery', url: 'https://jquery.com/', target: '_top' }, | |
{ label: 'Notification', url: 'https://www.jqueryscript.net/tags.php?/Notification/', target: '_top' }, | |
{ label: 'Parallax', url: 'https://www.jqueryscript.net/tags.php?/parallax/', target: '_top' } | |
]; | |
var settings = { | |
entries: entries, | |
width: 640, | |
height: 480, | |
radius: '65%', | |
radiusMin: 75, | |
bgDraw: true, | |
bgColor: '#111', | |
opacityOver: 1.00, | |
opacityOut: 0.05, | |
opacitySpeed: 6, | |
fov: 800, | |
speed: 2, | |
fontFamily: 'Oswald, Arial, sans-serif', | |
fontSize: '15', | |
fontColor: '#fff', | |
fontWeight: 'normal',//bold | |
fontStyle: 'normal',//italic | |
fontStretch: 'normal',//wider, narrower, ultra-condensed, extra-condensed, condensed, semi-condensed, semi-expanded, expanded, extra-expanded, ultra-expanded | |
fontToUpperCase: true | |
}; | |
//var svg3DTagCloud = new SVG3DTagCloud( document.getElementById( 'holder' ), settings ); | |
$( '#tag-cloud' ).svg3DTagCloud( settings ); | |
} ); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://code.jquery.com/jquery-2.2.1.min.js"></script> | |
<script src="https://www.jqueryscript.net/demo/3D-Interactive-SVG-Tag-Cloud-Plugin-With-jQuery-SVG-3D-Tag-Cloud/jquery.svg3dtagcloud.min.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment