Subversion Repositories SmartDukaan

Rev

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

Rev 2236 Rev 2320
Line 87... Line 87...
87
    
87
    
88
    $("#compare_continue").click(function() {
88
    $("#compare_continue").click(function() {
89
    	return compareProducts();
89
    	return compareProducts();
90
    });
90
    });
91
 
91
 
-
 
92
    $('.tooltip').each(function(index) {
-
 
93
    	   $(this).qtip({
-
 
94
    		style: { width: 300, overflow: 'auto',
-
 
95
    			tip: { corner: 'topLeft' }, 
-
 
96
    			border: { width: 2, radius: 2, color: '#DDDDDD' } },
-
 
97
    		show: { when: { event: 'click' } },
-
 
98
    		content: { url: "/helpdocs/" + $(this).attr('name'), title: { text: ' ', button: 'Close'} },
-
 
99
    		hide: { when: { event: 'unfocus' } },
-
 
100
    		position: { adjust: {screen: true} }
-
 
101
    		});
-
 
102
    	});
-
 
103
    	
-
 
104
    	
92
    function compareProducts(){
105
    function compareProducts(){
93
		var productName = $("#mobilename").val();
106
		var productName = $("#mobilename").val();
94
		var productTwo = productIdNames[productName];
107
		var productTwo = productIdNames[productName];
95
		if(typeof productTwo == 'undefined'){
108
		if(typeof productTwo == 'undefined'){
96
			alert("Please select a valid product");
109
			alert("Please select a valid product");