Skip to main content

Posts

Showing posts from December, 2011

Valid W3C facebook like button

I was trying to validate the facebook like button yesterday. After writing over 30 lines of code I found J. Norton like button script , which is quite lighter. So I spent nearly half an hour trying to integrate it in to my template and 3 hours to create this valid facebook like button generator so you can make it as you desire and should still be W3C valid . The facebook like button enable your users the possibility to share your content on facebook so that their friends could see it. So what are you waiting for, go ahead and create you own valid facebook like button . ***Later edit: To get your Facebook Application ID for your like button you have to go to Facebook Developer Page and sing up. You must set up a new application if you don't have one. Otherwise just copy and paste your App ID in to the " Facebook Application ID " field down here. Please comment if you need further assistance <div id="fb-root"></div><script lang

Change Image On Mouseover Generator

Add some style to your buttons or images , and have them change when you pass your mouse over them.You can use the "change image on mouseover generator" below to create the code for you. Insert URL of the image you want to display. Enter the URL of image that change to on mouseover Enter URL to link to. (include http:// ) First image URL of original image: URL of mouseover image: URL to link image to: Second image (optional) URL of original image: URL of mouseover image: URL to link image to: Third image (optional) URL of original image: URL of mouseover image: URL to link i

Add to favorites script generator

Have you ever wandered how can you make it easier to your visitors to find their way back to your page . The answer is simple. An ' Add To Favorites Button ' is the simplest and the most efficient way to do it. Web Site Title: test URL : http://test.com Link Text: test Color : Code: <script type="text/javascript"> if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) { var url="http://test.com"; var title="test"; document.write('<A HREF="javascript:window.external.AddFavorite(url,title)'); document.write('"><font color=#000000 >test</font></a>'); } else { var alt = "<font color=#000000 >test</font><BR>"; if(navigator.appName == "Netscape") alt += "Press (Ctrl-D) on your keyboard.</font>"; document.write(alt); } </SCRIPT>    

Disable Right Mouse Click Code Generator

 The best way to protect the content of your web pages is, not allow users to copy it . Disabling right click will not stop hackers from stealing your content but will make the most of your users to accept that it's not possible to copy it . Copy and paste the code between the <head> </head> tags of your web page. Please insert the message displayed when right click is executed: Copy and paste the code between the <head> </head> tags of your web page. <script language=JavaScript> var message="Right click has been deactivated for security reasons "; function click(z) { if (document.all) { if (event.button == 2) { alert(message); return false; } } if (document.layers) { if (z.which == 3) { alert(message); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; </script>

Set Home Page Code Generator

A StartPage or a HomePage is the web page or local file that automatically loads when a web browser starts or when the browser's "home" button is pressed.. The user can specify the URL of the page to be loaded. This is a code generator to create a ' set this as your homepage ' link. Place the code on your page and users can set your page as their homepage . Use the form below. 1. Insert your web site title. 2. Insert your web domain name. 3. Please select the color of your link. Web Site Title : URL : Link Color : Set Home Page generator Copy / Paste the fallowing code into your web page. <!--Set Home page script start here--> <!--[if IE]><a HREF onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://s.sfd');" style="cursor:hand"> <font color="#000000" >Make dssa Your Homepage!</font></a><![endif]

SQL SERVER – 2008 – Creating Full Text Catalog and Full Text Search

Full Text Index helps to perform complex queries against character data.  These queries can include word or phrase searching. We can create a full-text index on a table or indexed view in a database. Only one full-text index is allowed per table or indexed view. The index can contain up to 1024 columns. Software developer Monica who helped with screenshots also informed that this feature works with RTM (Ready to Manufacture) version of SQL Server 2008 and does not work on CTP (Community Technology Preview) versions. To create an Index, follow the steps: Create a Full-Text Catalog Create a Full-Text Index Populate the Index 1) Create a Full-Text Catalog Full – Text can also be created while creating a Full-Text Index in its Wizard. 2) Create a Full-Text Index 3) Populate the Index As the Index Is created and populated, you can write the query and use in searching records on that table which provides better performance. For Example, We will find the Employee Records who h

Understanding SQL Server Full-Text Indexing

Microsoft SQL Server supports T-SQL, an implementation of ANSI standard SQL. T-SQL is designed to (among other things) search for matches in your data. For example, if you've created a table with a column named Notes you could construct these queries: SELECT * FROM MyTable WHERE Notes = 'Deliver Tuesday' SELECT * FROM MyTable WHERE Notes LIKE '%caution%' But what if you're not looking for an exact match, either to the full text of the column or a part of the column? That's when you need to go beyond the standard SQL predicates and use SQL Server's full-text search capabilities. With full-text searching, you can perform many other types of search: Two words near each other Any word derived from a particular root (for example run, ran, or running) Multiple words with distinct weightings A word or phrase close to the search word or phrase In this article, I'll show you how to set up and use full-text searching in SQL Server 2000, and give you a sn