Subversion Repositories SmartDukaan

Rev

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

Rev 5507 Rev 5639
Line 139... Line 139...
139
		$(tdBestPrice).addClass('best');
139
		$(tdBestPrice).addClass('best');
140
		
140
		
141
		if (bestPrice < saholicPrice)	$($(trNode).children()[0]).addClass('red');
141
		if (bestPrice < saholicPrice)	$($(trNode).children()[0]).addClass('red');
142
		var tds = $(trNode).children()
142
		var tds = $(trNode).children()
143
		
143
		
144
		if (tds.length == 7)	{
144
		if (tds.length == 9)	{
145
			tds[6].innerHTML = maxMinDiff + '%'
145
			tds[8].innerHTML = maxMinDiff + '%'
146
		} else	{var diffCssClass = '';
146
		} else	{var diffCssClass = '';
147
		
147
		
148
		if(maxMinDiff >= 25.0)	{
148
		if(maxMinDiff >= 25.0)	{
149
			diffCssClass = 'dark-orange';
149
			diffCssClass = 'dark-orange';
150
		} else if(maxMinDiff >= 10.0)	{
150
		} else if(maxMinDiff >= 10.0)	{
Line 157... Line 157...
157
	var baseUrl = {
157
	var baseUrl = {
158
		'flipkart': 'http://www.flipkart.com',
158
		'flipkart': 'http://www.flipkart.com',
159
		'homeshop18': '',
159
		'homeshop18': '',
160
		'infibeam': 'http://www.infibeam.com',
160
		'infibeam': 'http://www.infibeam.com',
161
		'letsbuy': '',
161
		'letsbuy': '',
162
		'snapdeal': 'http://www.snapdeal.com/'
162
		'snapdeal': 'http://www.snapdeal.com/',
-
 
163
		'sulekha': '',
-
 
164
		'tradus': 'http://www.tradus.com'
163
	};
165
	};
164
	
166
	
165
	$('.conflict a').live('click', function(){
167
	$('.conflict a').live('click', function(){
166
		var td = $(this).parent();
168
		var td = $(this).parent();
167
		
169