Post by outoftheordinary » Sun Dec 02, 2012 5:47 am

Hi guys, does anyone know how to apply jScrollPane in reviews tab? I've been trying to figure out how jScrollPane to work in review tab for 24 hours but still not working :(

Here are the codes:
jScrollPane

Code: Select all

<script type="text/javascript">
$(function()
{
	$('#sample').jScrollPane();
});
 </script>
REVIEW CODE

Code: Select all

<?php if ($review_status) { ?>
<div id="tab-review" class="tab-content">
	<div id="review"></div>
	<h2 id="review-title"><?php echo $text_write; ?></h2>
	<b><?php echo $entry_name; ?></b><br />
	<input type="text" name="name" value="" />
	<br />
	<br />
	<b><?php echo $entry_review; ?></b>
	<textarea name="text" cols="40" rows="8" style="width: 98%;"></textarea>
	<span style="font-size: 11px;"><?php echo $text_note; ?></span><br />
	<br />
	<b><?php echo $entry_rating; ?></b> <span><?php echo $entry_bad; ?></span>&nbsp;
	<input type="radio" name="rating" value="1" />
	&nbsp;
	<input type="radio" name="rating" value="2" />
	&nbsp;
	<input type="radio" name="rating" value="3" />
	&nbsp;
	<input type="radio" name="rating" value="4" />
	&nbsp;
	<input type="radio" name="rating" value="5" />
	&nbsp;<span><?php echo $entry_good; ?></span><br />
	<br />
	<b><?php echo $entry_captcha; ?></b><br />
	<input type="text" name="captcha" value="" />
	<br />
	<img src="index.php?route=product/product/captcha" alt="" id="captcha" /><br />
	<br />
	<div class="buttons">
	  <div class="right"><a id="button-review" class="button"><?php echo $button_continue; ?></a></div>
	</div>
</div>
Where I should put the scroll-pane class? Any help would be greatly appreciated.

Jay
- OpenCart 1.5.3.1
- Default theme

outoftheordinary


New member

Posts

Joined
Sun Nov 18, 2012 11:28 am
Who is online

Users browsing this forum: No registered users and 9 guests