So to do that, you need a text file full of quotes. HAHAHA Separated by new line. DEMO $('#btn_modal').click(function () { var num = 0; $.ajax({ url: "https://dl.dropboxusercontent.com/u/75734877/taglines.txt", type: "GET", dataType: "text", beforeSend: function () { $('#kowts').show().html('<img src="http://www.feelol.com/Content/images/Loading.gif" />'); }, success: function (t) { var lines = t; var lineArr = lines.split('\n'); num = Math.floor(Math.random() * lineArr.length); $('#kowts').show().text(lineArr[num]); }, error: function(){ alert('Error') } }); }); Split the quotes from text file by "\n" (new line), then get its length and generate a random number between 0 to maximum length. Then use the generated number a...
As shown below: Download Source Code First you need to create a database and name it as "syllabus" then import the sql file from the source code. Here are the codes below for reference:
This post will help you disable comment in a specific post as the title says. Comment is good , you should consider your post "value" before doing this. Consider this example: Click me for Demo The comment is disable because he just used that post to categorize his articles. That's a great idea! Anyway, let's do this. To disable comments if your using: 1.Blogger default comment. This is so easy to do, just follow the image's instruction. Click the Option then,
Comments
Post a Comment
Feel free to ask, suggest and comment regarding this post/blog. You can also contact me through e-mail, just always use the contact page. Thank you for visiting this blog.