Javascript

JavaScript Call Random CSS file

Someone talk to stack overflow like this : I am trying to rotate random CSS sheets via JS – I have the following script but when I am using it – it doesnt seem to work ? function getRand(){ return Math.round(Math.random()*(css.length-1));}var css = new Array(‘<link rel=”stylesheet” type=”text/css” href=”css/1.css”>’,'<link rel=”stylesheet” type=”text/css” href=”css/2.css”>’,'<link rel=”stylesheet” type=”text/css” href=”css/3.css”>’,'<link rel=”stylesheet” …

(JS) Javascript Function Remove Slash From String

All I needed was to expel every single forward slice in a string utilizing Javascript. Remove Forward Slash (/) Using JavaScript Function function FSlash(func){var x = func,    n = x.replace(///g,'');return n  }//Usage Using Variablevar nx = "4x/4/4/5/6/7//532///45/";//Call Variable Into Function Name    document.write(FSlash(nx));//You can combine from function too Demo : CodePen The vital part …

Update Code Widget Dan Template Untuk Simple Safelink Converter

Untuk Cara Instal, Deskripsi, Dan Cara Penerapan Klik Disini (Cara Membuat Simple Safelink Converter) Update code Safelink Converter untuk Widget Atau Template/Theme Tambahan : Protected Links <script type='text/javascript' async='async'>var myArray = [‘https://www.webmanajemen.xyz/p/redirect.html?u=’, ‘https://www.webmanajemen.xyz/p/advertisement.html?u=’, ‘http://www.webmanajemen.xyz/p/advertise.html?u=’];var safelink = myArray[Math.floor(Math.random() * myArray.length)];var protectedLinks = /(bing.com|google|linkedin.com|facebook|manajemen|safelink|pinterest|digg.com|twitter|codepen.io|blogger.com|ask.com|DOMAINKAMU.COM)/$( ‘a’ ).each(function() {if (this.href.match( protectedLinks ) ){ $(this).attr(“href”, $(this).attr(“href”)+’?success’); //$(this).addClass(‘w3-text-green’); //Add Class On …

Update Code Safelink Converter Untuk Halaman 12 Desember 2017

Untuk Cara Instal, Deskripsi, Dan Cara Penerapan Klik Disini (Cara Membuat Simple Safelink Converter) Code Untuk Di Halaman Safelink <script type=”text/javascript” async> function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split(“&”); for (var i=0;i<vars.length;i++) { var pair = vars[i].split(“=”); if(pair[0] == variable){return pair[1];} } return(false);} var count = 11; var queryU = getQueryVariable(‘u’); …

Random Posts Widget Blogger

How to create random posts widget blogger (simple and stylish). 1. Login to dashboard blogger -> navigate to layout tab -> create widget html/javascript -> insert this code to the widget. <style scoped=” type=”text/css”>#arlina-random ul{list-style:none;margin:0;padding:0}#arlina-random li{display:block;clear:both;overflow:hidden;list-style:none;border-bottom:1px solid #e3e3e3;word-break:break-word;padding:10px 0;margin:0;}#arlina-random li:last-child{border-bottom:0;}#arlina-random li a{color:#444;}#arlina-random li a:hover{color:#444;text-decoration:underline}</style><div id=’arlina-random’>Memuat…</div><script>//<![CDATA[// Random Post Widgetvar homePage = ‘https://www.web-development.cf’,    maxResults = 10,  …

SCSS Animate Hover Scale Letters

Demo HTML Full Page <!DOCTYPE html><html><head> <link href="https://fonts.googleapis.com/css?family=Passion+One" rel="stylesheet" /> <style>html, body { height: 100%;}body { background: #e74c3c; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; font-family: 'Passion One', cursive;}.scale { font-size: 10vw; text-transform: uppercase; letter-spacing: 4px; color: #fff; cursor: pointer;}.scale span { display: inline-block; …