Algolia is a hosted search engine. To make it simple we need the example for that. Let say we have a bunch of data, and hard for we to search all of our data. Then Algolia is the solution. Algolia offering full-text, numerical, and faceted search, capable of delivering real-time results from the first keystroke. The next question is, how we Algolia do that?
Here I post some code that frequently used in when I work and the explanation of the code.
Showing posts with label Javascript. Show all posts
Showing posts with label Javascript. Show all posts
Friday, May 1, 2020
Sunday, November 11, 2018
Simple Fixed Header on Srolling
With all the website project I've been working, I already seen something in common. One of those thing is a header. So, here is the 2 header with simple fixed header on scrolling.
1. Header Hide
This header is hide when we scroll the page to bottom by 50px from top, but when you scrolling up, it will shown. I like the header, since we can see all the page without disturbed by header menu, But, some time I miss the header. lol :D
Here is the code :
2. Header Shrink
This header is shrink or more tight when we scroll the page to bottom by 50px, but when you scrolling up till you reach the top, the header will grow larger.
Here is the code :
Monday, August 21, 2017
Json Object
Json object in Js
Example :
var datapost = {'id':'01'};
datapost.nama = "i wayan xxx";
when you call it
console.log(datapost);
it will shown like below
{
id: "01",
nama: "i wayan xxx"
}
Subscribe to:
Comments (Atom)