NeeilQuote
How do I make an neeilquote?
What is a neeilquote? How do you make a neeilquote? This script and codes were developed by Neeilan Selvalingam on 13 September 2022, Tuesday.
NeeilQuote - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>neeilQuote</title> <link rel='stylesheet prefetch' href='https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="background-image"></div>
<div class="content"> <div class="quoteandauthor"> <p id="quote"></p> <br> <p id="author"></p> <br> <div id="twitter-share-button"> <a href="https://twitter.com/share" class="social-tw" data-size="large">Tweet</a></div> <button class="btn btn-lg btn-success"id="update">New Quote</button>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> </div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='https://platform.twitter.com/widgets.js'></script> <script src="js/index.js"></script>
</body>
</html>
NeeilQuote - Script Codes CSS Codes
#twitter-share-button{ margin-left: auto; margin-right: auto; margin-bottom: 5px;
}
body{ background-color: #7BCAE1; color:black; text-align:center
}
#update{ margin-left: 40%; margin-right:40%; margin-bottom: 10px;
}
#quote { padding-top: 20px; font-size: 32px; padding-left:10%; padding-right: 10%;
}
#author { font-size: 24px; color: #3DE4FC; padding-left:10%; padding-right: 10%;
}
.content { min-width: 100%; text-align: center; padding-left: 40%; color: white; background: rgba(0, 0, 0, 0.8); border-radius: 3px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25); font-family: Helvetica Neue, Helvetica, Arial, sans-serif; top: 20%; left: 0; position: fixed; margin-left: auto; margin-right: auto; z-index: 2; padding: 10px 10px;
}
.background-image { min-height:100%; background-size: 25%; display: block; filter: blur(5px); -webkit-filter: sepia(100%); height: 800px; left: 0; position: fixed; right: 0; z-index: 1;
}
NeeilQuote - Script Codes JS Codes
/* var joke= $.getJSON("https://api.icndb.com/jokes/random");
})();*/
$(document).ready(function(){ var author; invoke(); $("#update").click(function(){ invoke(); }) function invoke() { $.ajax({ type: "GET", url: "http://www.stands4.com/services/v2/quotes.php?uid=4821&tokenid=3uy7ZjQjeIWMQkFa", dataType: "xml", success: function(data) { $(data).find('result').each(function(){ var quote = $(this).find('quote').text(); author = $(this).find('author').text(); update(quote,author); getImage(); }) } }) } function update(quote,author){ document.getElementById("quote").innerHTML= (quote); document.getElementById("author").innerHTML= (author); document.title = quote+" - "+author; tw_reload(); }
function tw_reload() // reload tweet button
{ $('.social-tw').html(''); $('.social-tw').html('<a href="https://twitter.com/share" class="twitter-share-button" data-url="' + window.location.href + '">Tweet</a>'); // refresh the widgets twttr.widgets.load();
}
function getImage(){ //google images portion var authorURI=encodeURIComponent(author); var csei="007856818314757495813:ew-wdb9_6rc"; var key = "AIzaSyBO7Nu-r_N4OTiqiqk1twi4QSMpzV7QKeg"; var imageUri= "https://www.googleapis.com/customsearch/v1?key="+key+"&cx="+csei+"&q="+authorURI+"&searchType=image&size=large&alt=json"; $.ajax({ type: "GET", url: imageUri, //dataType: "xml", success: function(data) { var index = Math.floor(Math.random()*5); var firstImage = (data["items"][index]["link"]); $('.background-image').css('background-image', 'url('+firstImage+')'); } })
}
})
Developer | Neeilan Selvalingam |
Username | neeilan |
Uploaded | September 13, 2022 |
Rating | 3 |
Size | 3,195 Kb |
Views | 40,480 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Fctest | 14,173 Kb |
MarkdownPreviewer | 3,147 Kb |
NeeilWeather | 2,971 Kb |
Campleaderboard | 4,119 Kb |
NeeilCalc | 3,209 Kb |
NeeilTwitch | 2,785 Kb |
RenderTest | 15,600 Kb |
Milestones | 6,285 Kb |
Scribe | 3,525 Kb |
NeeilWiki | 2,824 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Coburg Banks SVG Logo | Mjtweaver | 3,875 Kb |
Sign Up Form | Sicontis | 5,272 Kb |
Cant get enough icecream in pure css3 | Melawire | 4,322 Kb |
A Pen by Final Boss tommyb9 | FBtommyb9 | 55,354 Kb |
Responsive slide | Thorien | 2,400 Kb |
Personal Website Redesign v2.0 | DevItWithDavid | 5,168 Kb |
Wikipedia Viewer | Thomasvaeth | 2,549 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
SCSS Simple Animated Drop-In | Danwarfel | 2,175 Kb |
UI Challenge - Budget Selector | AgentRR007 | 3,547 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!