Subversion Repositories SmartDukaan

Rev

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

Rev 5772 Rev 5930
Line 142... Line 142...
142
    #include("templates/footer.vm")
142
    #include("templates/footer.vm")
143
	#parse ( "templates/retargetingjs.vm" )
143
	#parse ( "templates/retargetingjs.vm" )
144
		<form name="frmColorSelName">
144
		<form name="frmColorSelName">
145
	<div id="compareLightBox" class="colorSelLightBoxColor" style="display:none;">
145
	<div id="compareLightBox" class="colorSelLightBoxColor" style="display:none;">
146
			<h1>Compare with</h1>
146
			<h1>Compare with</h1>
147
			<h2>Please search $action.getParentCategoryLowerCase() to compare</h2>
147
			<h2>Please search $action.getCompareCategoryLowerCase() to compare</h2>
148
			
148
			
149
			<div class="content">
149
			<div class="content">
150
				<input type="text" id="mobilename" name="mobilename" /><br />
150
				<input type="text" id="mobilename" name="mobilename" /><br />
151
			</div>
151
			</div>
152
			<div class="bigImgButton yellow-image">
152
			<div class="bigImgButton yellow-image">
153
				<input value="Compare" type="button" class="button" id="compare_continue" producttype="$action.getParentCategory()"/>
153
				<input value="Compare" type="button" class="button" id="compare_continue" producttype="$action.getCompareCategory()"/>
154
			</div>
154
			</div>
155
			<div class="clearBoth"></div>
155
			<div class="clearBoth"></div>
156
		</form>
156
		</form>
157
	</div>
157
	</div>
158
	<script type="text/javascript" src="/js/saholicmobilephones.js"></script>
158
	<script type="text/javascript" src="/js/saholicmobilephones.js"></script>
Line 161... Line 161...
161
	<script type="text/javascript" src="/js/entity.js"></script>
161
	<script type="text/javascript" src="/js/entity.js"></script>
162
	<script type="text/javascript" charset="utf-8">
162
	<script type="text/javascript" charset="utf-8">
163
$(function(){
163
$(function(){
164
	/* This code is for compare with button */
164
	/* This code is for compare with button */
165
	var availableNames = [];
165
	var availableNames = [];
166
	for (var k in productIdNames['$action.getParentCategory()'])availableNames.push(k);
166
	for (var k in productIdNames['$action.getCompareCategory()'])availableNames.push(k);
167
    $("#mobilename").autocomplete({  autoFocus: true, minLength: 3, 
167
    $("#mobilename").autocomplete({  autoFocus: true, minLength: 3, 
168
        source: availableNames
168
        source: availableNames
169
    });
169
    });
170
});
170
});
171
/*youtube video init*/
171
/*youtube video init*/