Subversion Repositories SmartDukaan

Rev

Rev 11906 | Rev 11910 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
11906 kshitij.so 1
<!DOCTYPE html PUBLIC 
2
    "-//W3C//DTD XHTML 1.1 Transitional//EN"
3
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
<head>
6
<link type="image/x-icon" href="/Support/images/favicon_alt.ico" rel="shortcut icon">
7
<link href="/Support/css/demo_page_amazon.css" type="text/css" rel="stylesheet">
8
<link href="/Support/css/demo_table_amazon.css" type="text/css" rel="stylesheet">
9
<script type="text/javascript" src="/Support/js/jquery-1.4.2.js"></script>
10
<style type="text/css">   
11
* { font-family: Verdana; font-size: 96%; }
12
label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
13
p { clear: both; }
14
.submit { margin-left: 12em; }
15
em { font-weight: bold; padding-right: 1em; vertical-align: top; }
16
ul { padding-left: 13px;}
17
td{background-color:#B0BED9};
18
.diffColor {
19
    background: grey;
20
}
21
</style>
22
<style>
23
.loading-image {
24
position: fixed;
25
top: 50%;
26
left: 50%;
27
margin-top: -50px;
28
margin-left: -100px;
29
z-index: 100;
30
}
31
</style>
32
<script type="text/javascript">
33
		$(function(){
34
jQuery.ajax({
35
        type : "GET",
36
        url : "/Support/privatedeals-comparision!getCompData",
37
		beforeSend: function(){
38
        $('#ajax-spinner').show();
39
        },
40
        complete: function(){
41
        $('#ajax-spinner').hide();
42
        },
43
        success : function(response) {
44
        $('#' + 'comp-table').html(response);
45
		$(".previous").css("display", "none");
46
		var temp = $('.totalValue').text();
47
		$('.total').text(temp);
48
        }
49
    });  
50
});
51
</script>
52
 
53
<script type="text/javascript">
54
  $(function(){	
55
	$(".editItem").live('click', function() {
56
		$("tr").removeClass("diffColor");
57
		$("td").css("background-color","")
58
        $(this).parents("tr").addClass("diffColor");
59
		$('tr.diffColor').children('td').css('backgroundColor', '#7F98FA');
60
		var itemId = $(this).attr('itemid')
61
		loadItemDetails("/Support/amazon-list/"+ itemId +"/edit");
62
    });
63
});
64
</script>
65
<title>Private Deals Price Comparison</title>
66
</head>
67
<body>
68
<div>
69
    <div style="color:blue;">
70
    #sactionmessage()
71
    </div>
72
    <div style="color:red;">
73
    #sactionerror()
74
    </div>
75
		<div id="ajax-spinner" style="display:none;">
76
		<img src="/Support/images/ajax_loader_blue.gif" class="loading-image">
77
		</div>
78
	   <div id="comp-table">
79
	   </div>
80
</div>
81
</body>
82
</html>