NeeilQuote

Size
3,195 Kb
Views
40,480

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 Previews

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+')'); } })
}
})
NeeilQuote - Script Codes
NeeilQuote - Script Codes
Home Page Home
Developer Neeilan Selvalingam
Username neeilan
Uploaded September 13, 2022
Rating 3
Size 3,195 Kb
Views 40,480
Do you need developer help for NeeilQuote?

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!

Neeilan Selvalingam (neeilan) Script Codes
Name
Fctest
MarkdownPreviewer
NeeilWeather
Campleaderboard
NeeilCalc
NeeilTwitch
RenderTest
Milestones
Scribe
NeeilWiki
Create amazing SEO content with AI!

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!