Tumblr search update
Ok I redid a bunch of my tumblr search code. Here’s the update list
To include this in your site add this code to the customize part somewhere between the tags.
- Overhauled entire script. much cleaner
- Uses “AJAX” to pull in data.
- Loads all data, not just last 20 posts. (maybe should limit this in the future!)
- Can have multiple search boxes
<script src=”http://www.thisismydevsite.com” type=”text/javascript”></script>
Then put this code where you want a search box to appear.
<script type=”text/javascript”>Tumblr.searchBox()</script>
If you can, copy that JS file to your own server and link to that.
If you view source on my page you can see the custom CSS I added to format the search results, otherwise it will look pretty raw.
Enjoy!
これを導入するとTumblrに負荷をかけるらしいので注意
引用:”このスクリプトはページを開くたびに全POSTを取得しに行くためTumblrに高負荷をかけていることを教えていただきました。現在は外しています。”
customize tumblr renewal
|
168 notes (#)
|
Comments
|
09/03/24 Tue 22:45:00
($)
|
author:syoichi
e-mail:tsuyuhara-syoichi@hotmail.co.jp
author:syoichi
e-mail:tsuyuhara-syoichi@hotmail.co.jp
-
homedecorlighting reblogged this from jacobd
-
baseboard-registers liked this
-
buy-xanax-online liked this
-
dilawaronline liked this
-
auto-insurance-quotes-today reblogged this from jacobd
-
estantres reblogged this from jacobd
-
free-bets liked this
-
free-bets reblogged this from jacobd
-
jocuri-cu-masini liked this
-
aeonra liked this
-
essaysuk liked this
-
hairfibers liked this
-
dubaiseo liked this
-
bonusbetting liked this
-
techie-saves liked this
-
palm-jumeirah liked this
-
dubai-marina liked this
-
lakes-dubai liked this
-
hemorrojderbehandling liked this
-
chiptuning liked this
-
jocuri-noi liked this
-
dictionar-englez-roman liked this
-
blog-de-voyage liked this
-
rosiode liked this
-
fashiongirlshop liked this
-
guide-saveurs liked this
-
pixelsa liked this
-
terrasse-bois liked this
-
pandaranolpandaranol liked this
-
gkojay reblogged this from kuwataro
-
jacobd posted this
