[sourcecode language="html"]
<form method="get" action="http://www.bing.com/search" target="_blank">
<input type="text" name="q">Bing Search.
<input type="submit" value="Go!">
</form>
[/sourcecode]
Monday, August 27, 2012
Google Search For Your Web Site
[sourcecode language="html"]
<form action="http://www.google.com/search" method="get"><input type="text" name="q" value="" size="31" maxlength="255" />
<input type="submit" value="Google Search" />
<input type="radio" name="sitesearch" value="" />
The Web
<input type="radio" name="sitesearch" value="codezone4.wordpress.com" checked="checked" /> This site
</form>
[/sourcecode]
<form action="http://www.google.com/search" method="get"><input type="text" name="q" value="" size="31" maxlength="255" />
<input type="submit" value="Google Search" />
<input type="radio" name="sitesearch" value="" />
The Web
<input type="radio" name="sitesearch" value="codezone4.wordpress.com" checked="checked" /> This site
</form>
[/sourcecode]
Sunday, August 19, 2012
Facebook Connect Demo
Demo
This is a simple Facebook Connect Demo based on http://www.saaraan.com/2012/05/ajax-facebook-connect-with-jquery-php
This demo uses PHP SDK for Facebook with AJAX
This is a simple Facebook Connect Demo based on http://www.saaraan.com/2012/05/ajax-facebook-connect-with-jquery-php
This demo uses PHP SDK for Facebook with AJAX
Thursday, August 2, 2012
How to use Google Analytics to track your visitors
First create a Google Analytics Account using your gmail account.
Get the property id something starts with UA-xxxx-x
Include the provided Javascript code with the above property id immediately before
This is a sample generated code.
[sourcecode language="javascript"]
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxxxx-x']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
[/sourcecode]
Track your visitors in the way they interact with your web page.
Form submitting, mouse clicks or any other events can be tracked.
Example :
[sourcecode language="html"]
<a href="#" onclick="_gaq.push(['_trackEvent', 'Ads', 'Sidebar', 'Food']);">track me</a>
<input type="submit" value="Sign Up Now!" onclick="_gaq.push(['_trackEvent', 'Signup', 'click', 's1']);"/>
[/sourcecode]
Change _gaq.push() by providing suitable parameters.
_gaq.push(['_trackEvent', category, action, label, value])
Get the property id something starts with UA-xxxx-x
Include the provided Javascript code with the above property id immediately before
This is a sample generated code.
[sourcecode language="javascript"]
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-xxxxxxxx-x']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
[/sourcecode]
Track your visitors in the way they interact with your web page.
Form submitting, mouse clicks or any other events can be tracked.
Example :
[sourcecode language="html"]
<a href="#" onclick="_gaq.push(['_trackEvent', 'Ads', 'Sidebar', 'Food']);">track me</a>
<input type="submit" value="Sign Up Now!" onclick="_gaq.push(['_trackEvent', 'Signup', 'click', 's1']);"/>
[/sourcecode]
Change _gaq.push() by providing suitable parameters.
_gaq.push(['_trackEvent', category, action, label, value])
Subscribe to:
Posts (Atom)
How to enable CORS in Laravel 5
https://www.youtube.com/watch?v=PozYTvmgcVE 1. Add middleware php artisan make:middleware Cors return $next($request) ->header('Acces...
-
< Requirements Java Development Kit (JDK) NetBeans IDE Apache Axis 2 Apache Tomcat Server Main Topics Setup Development Environ...
-
Download Sourcecode [sourcecode language="csharp"] using System; using System.Collections.Generic; using System.Linq; using System...