Wednesday, February 15, 2017

Page Jumps with Anchor Links #

If you want to create page jumps with anchor link code, you will need these two elements:
- The link
- The target

Example:
- Create the Link:
<a name="youlinktext">yourlinktext</a>

and link to the Target:
<a href="#yourlinktext">go to your link text</a>

- Link to div tag with id:
<div id="#yourlinkname">

- Linking to the Top of the Page:
Add the “target code” at the very top of your page:
<a name="toppage"></a>

And then put the following link code at the bottom of the page with "#"
<a href="#toppage">Top</a>

- Link to different page
<a href="../yourURL/#yourlinkname">Go To Next Page</a>

To get Smooth Page Scroll Effect, you may put the following jquery code right before body tag:

<!-- Start SMOOTH PAGE SCROLL -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script>
$(function() {
  $('a[href*=#]:not([href=#])').click(function() {
    if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) {
      var target = $(this.hash);
      target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
      if (target.length) {
        $('html,body').animate({
          scrollTop: target.offset().top
        }, 1000);
        return false;
      }
    }
  });
});
</script>
<!-- End SMOOTH PAGE SCROLL -->

Credit: Jquery code snippets by Chris Coyier and here is example on codepen:  http://codepen.io/chriscoyier/pen/dpBMVP


Monday, December 21, 2015

Do you want to embed YouTube Video HD default quality

If you want to embed YouTube Video HD default quality, please add below code:

&hd=1” – HD Video Playback
?rel=0&vq=hd1080” – Video in 1080p by default
?rel=0&vq=hd720” –  Video in 720p by default
?rel=0&vq=hd480” – Video in 480p by default

Here is sample video URL
https://www.youtube.com/embed/6YLCcnpUcVY?rel=0&showinfo=0;autoplay=1;&hd=1

Without suggested video at the end -> https://www.youtube.com/watch?v=6YLCcnpUcVY?rel=0;&autoplay=1

Direct embed and open in new tab -> https://www.youtube.com/embed/M286DFVJx5s?rel=0&vq=hd720&autoplay=1


Monday, August 20, 2012

God of War


Synopsis:
This drama is about a real person by the name of "Kim Joon" in the history books (i.e. Goryeosa), a slave (aka "No-Bi" in Korean) earning himself freedom via hard work and determination, rising to the top military official serving the emperor Gojong of Goryeo and overruling the feudalist government that had been in power for over 60 years. Major event that took place during his time was Mongol invasions of Korea.

info credit: www.wiki.d-addicts.com/Soldier

Wednesday, July 18, 2012

၆၅ ႏွစ္ေျမာက္ အာဇာနည္ေန႔ - 65th Anniversary Martyrs' Day (Arzarni Day)

၆၅ႏွစ္ေျမာက္ အာဇာနည္ေန႔တြင္ ခ်စ္လွစြာေသာ က်ဆံုးေလၿပီးေသာ ဖခင္ ဗိုလ္ခ်ဳပ္ေအာင္ဆန္းႏွင့္တကြ အာဇာနည္းေခါင္းေဆာင္ၾကီးမ်ားအား ရုိေသစြာ အေလးျပဳပါ၏... 

 

ဗိုလ္ခ်ဳပ္ေအာင္ဆန္း - Bogyoke Aung San 


Poem for Martyr's Day

 

 Aung San Zarni

Born on February 13 was he
Born in 1915, son of Lawyer U Hpa
Of Natmauk, in Magwe District
Mother's name was Daw Suu
The year 1947 died he
On July 19 everyone wept
He is the cause of our Independence
He is the father of this nation.
The blessings he had given us, the words he had uttered...
How can we ever take
those out of our minds...


ေအာင္ဆန္းဇာနည္

ေဖေဖၚဝါရီ ဆယ့္သုံး မွာ
ဗိုလ္ခ်ဳပ္ေမြးေန႔ပါ၊
တစ္ေထာင့္ကိုးရာတစ္ဆယ့္ငါး
ေရွ႕ေန ဦးဖာသား၊
ဇာတိ နတ္ေမာက္ မေကြးခရိုင္
သိၾကမ်ား ခုတိုင္၊
ႀကံ့ႀကံ့ခိုင္လို႔ ဇာနည္ဘြား
မိခင္ေဒၚစုသား၊
တစ္ေထာင့္ကိုးရာေလးဆယ့္ခြန္
ေျပာင္းႂကြ တမလြန္၊
မ်က္ရည္သြန္လို႔ ဘဝင္ညႇိုး
ဇူလိုင္ တစ္ဆယ့္ကိုး။
ျပည္ေထာင္စုရဲ့ ေက်းဇူးရွင္
ဗိုလ္ခ်ဳပ္ တို႔ဖခင္၊
ေကာင္းေစခ်င္တဲ့ မွာစကား
ငါတို႔ မေမ့အား။ 


မၾကာမီ... ေမွ်ာ္...

When will be going to see like this!!!? As like မၾကာမီ... ေမွ်ာ္... ???



Really love to see like this as soon as possible... ;)

Tuesday, July 10, 2012

Restricted Access to the website with http basic authentication for additional security layer

Restricted Access to the website with http basic authentication for additional security layer ############## #For Nginx Server #########...