Friday, April 30, 2010

cache-about-blank

i m using Fx( FireFox) Browser , and i have install google toolbar on it , one day i have just try this, just open a new tab and just for quracity i have click on "Google Pagespeed" icon.it get open a google search page with that topic on " cache-about-blank" and decided to write a topic on it. i know u also come like this way.

now wht is this cache:about:blank and mozilla .

basically if you click on pagerank button it will show you cache version of site but if your not opening any site and still click on that button then it goes to google search option with "about:blank". On mozilla there is many setting are there , if u simply open a browser and type about:config on the url it will shows you the various setting on the browser. there are lot many setting are there on all type connection, browser, server, service , so on
don't change anything without any proper knowledge, other wise it get save and may be some problem get arise later on.

but still if your interested to do so you can refer this mozillatips.com. or want more on how to customize the interface just refer this customize the interface . both are very much interesting to know more on Fx

if your using IE then
if you open this on IE then may be on latest version you will never get such type if page on about:blank ,

just try it , you will enjoy it.

Refer This Post :
- how to configure local-host setting on FireFox
- Firefox Extensions for Twitter and Facebook

Sunday, April 18, 2010

Jquery AutoComplete Plugin

Hi yes long time back , i was quite busy with my life , fine today i come up with Jquery cool feature , i thing is very known to you and its very useful while developing any application ,

yes its " AutoComplete" plugin . Jquery has good plugin on auto-completion , which means that what ever you want to seach and if you search accordingly it will display the result on the same bases. yes on the same bases , now your very much interested to use this yes you can use this on your application, and make your search more attractive and more easy to user. here are the way you can add the code for auto completion tool.

There are some good Features you will get over the AutoCompletion Tools .
1. Just like a Drop down but with quite good help.
2. just like DOM tree on xml
3. Better window auto complete box.
and may more.

steps to add Jquery on your page.

1. Put this code on your < head > section
< script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js" > </script >
< script type='text/javascript' src='./jquery.autocomplete.js'> </script >

2. add below form tag
< form action="" onsubmit="return false;" >

<p >
Enter City: < input type="text" id="CityLocal" value="" />
< input type="button" value="Get Value" onclick="lookupLocal();" />
< /p >

3. on your javascript code add this

< script type="text/javascript" >
function lookupLocal(){
var oSuggest = $("#CityLocal")[0].autocompleter;

oSuggest.findValue();

return false;
}

$(document).ready(function() {
$("#CityAjax").autocomplete(
"autocomplete_ajax.cfm",
{
delay:10,
minChars:2,
matchSubset:1,
matchContains:1,
cacheLength:10,
onItemSelect:selectItem,
onFindValue:findValue,
formatItem:formatItem,
autoFill:true
}
);

$("#CityLocal").autocompleteArray(
[
"Aberdeen", "Ada", "Adamsville", "Addyston", "Adelphi", "Adena", "Adrian", "Akron",
"Albany", "Alexandria", "Alger", "Alledonia", "Alliance", "Alpha", "Alvada",
"Alvordton", "Amanda", "Amelia", "Amesville", "Amherst", "Amlin", "Amsden",
],
{
delay:10,
minChars:1,
matchSubset:1,
onItemSelect:selectItem,
onFindValue:findValue,
autoFill:true,
maxItemsToShow:10
}
);
});
< /script >

for the Example purpose i have declare few city name , you can add this on array as per your requirement and all.

5. close the form section and run the page , it will show your the output like this way


You can download the source code and sample from here
Download Here .
Demo Here .

hope you like it , if you have any query or comment plz leave a reply to full fill your query, thank you.