Subversion Repositories SmartDukaan

Rev

Rev 1919 | Rev 1964 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1919 Rev 1922
Line 11... Line 11...
11
     Multiple request: onclick="javascript:addToCart('pane2','multi');"
11
     Multiple request: onclick="javascript:addToCart('pane2','multi');"
12
     Single request: onclick="javascript:addToCart('','single');"
12
     Single request: onclick="javascript:addToCart('','single');"
13
     
13
     
14
     NOTE: incase reqtype=list then refdivid should be product id
14
     NOTE: incase reqtype=list then refdivid should be product id
15
*/
15
*/
-
 
16
 
16
function trackEventWithGA(eventCategory, actionName, label)	{
17
function trackEventWithGA(eventCategory, actionName, label)	{
17
	if(typeof _gaq != "undefined" && _gaq != null)	{
18
	if(typeof _gaq != "undefined" && _gaq != null)	{
18
		_gaq.push(['_trackEvent', eventCategory, actionName, label, 2]);
19
		_gaq.push(['_trackEvent', eventCategory, actionName, label, 2]);
19
	}
20
	}
20
}
21
}
21
 
22
	
22
$(function() {
23
$(function() {
23
	$("a.addtocart").live('click', function() {
24
	$("a.addtocart").live('click', function() {
24
		var catalogid = $(this).attr('catalogid');
25
		var catalogid = $(this).attr('catalogid');
25
 
26
 
26
		var radBtn = "";
27
		var radBtn = "";