2016 m. gegužės 9 d., pirmadienis
2016 m. gegužės 3 d., antradienis
2016 m. balandžio 28 d., ketvirtadienis
2016 m. balandžio 20 d., trečiadienis
2016 m. balandžio 14 d., ketvirtadienis
select laukai su paieska
https://select2.github.io/examples.html
http://selectize.github.io/selectize.js/
http://harvesthq.github.io/chosen/
http://selectize.github.io/selectize.js/
http://harvesthq.github.io/chosen/
2016 m. balandžio 7 d., ketvirtadienis
Free photos
https://pixabay.com/
http://www.freepik.com/ plius vektoriai, psd
http://dashmote.com
https://www.pexels.com
http://foter.com/
http://www.morguefile.com/
https://stocksnap.io
https://unsplash.com
http://www.stockvault.net/
http://www.freepik.com/ plius vektoriai, psd
http://dashmote.com
https://www.pexels.com
http://foter.com/
http://www.morguefile.com/
https://stocksnap.io
https://unsplash.com
http://www.stockvault.net/
2016 m. kovo 29 d., antradienis
seo dynamic url - hashbang
Google sees a link to example.com/#!/blog
Google requests example.com/?_escaped_fragment_=/blog
php:
if(isset($_GET['_escaped_fragment_'])) {
Header( "HTTP/1.1 301 Moved Permanently" );
header('Location: http://'.$_SERVER['HTTP_HOST'].$_GET['_escaped_fragment_']);
die();
}
js:
history.pushState('page', null, '/#!/'+v.url+'/');
https://github.com/browserstate/history.js/ - pluginas kuris history state daro su hashbang arba be jo prilausomai ar html4 ar html5 narsykle
hadangi html5 palaiko pushstate, tai vengti hashbang.
FB mygtuku atveju nenaudoti hashbang, vistiek turime patiekti originalu normalu url.
Jeigu dinamiskai keitesei url, galima perkrauti FB skriptus:
FB.XFBML.parse(document.getElementById('myModal'));
Update - google jau palaiko JS, todėl: Instead of the _escaped_fragment_ URLs, we'll generally crawl, render, and index the #! URLs.
Google requests example.com/?_escaped_fragment_=/blog
php:
if(isset($_GET['_escaped_fragment_'])) {
Header( "HTTP/1.1 301 Moved Permanently" );
header('Location: http://'.$_SERVER['HTTP_HOST'].$_GET['_escaped_fragment_']);
die();
}
js:
history.pushState('page', null, '/#!/'+v.url+'/');
https://github.com/browserstate/history.js/ - pluginas kuris history state daro su hashbang arba be jo prilausomai ar html4 ar html5 narsykle
hadangi html5 palaiko pushstate, tai vengti hashbang.
FB mygtuku atveju nenaudoti hashbang, vistiek turime patiekti originalu normalu url.
Jeigu dinamiskai keitesei url, galima perkrauti FB skriptus:
FB.XFBML.parse(document.getElementById('myModal'));
Facebook scraper is respecting the google ajax specifications and it will convert the
#!
to ?_escaped_fragment_=
You can check this out for yourself with the facebook debugger:https://developers.facebook.com/tools/debugUpdate - google jau palaiko JS, todėl: Instead of the _escaped_fragment_ URLs, we'll generally crawl, render, and index the #! URLs.
Užsisakykite:
Pranešimai (Atom)