Full runable pakage please download it here : http://www.mediafire.com/?gfd73y9j8ws044h
Smooth div scroll plugin for Cakephp by Niceit - tuantinhoc@yahoo.com
How to use :
- Scroll take insite a <ul> tag, elements take <li> tags.
***
- Take css for <ul> tag : position:relative;
***
- Put following tag insite your <ul> scroll tag:
<ul>
<div id="makeMeScrollable"> //You can change id you want
<div class="scrollingHotSpotLeft"></div>
<div class="scrollingHotSpotRight"></div>
<div class="scrollWrapper">
<div class="scrollableArea>"
<li>...</li>//Your scroll elements
<li>...</li>//Your scroll elements
....
</div>
</div>
</div>
</ul>
- Use in view just call : $this->Smoothscroll->SmoothDivScroller(<Your tag id>);
EX : $this->Smoothscroll->SmoothDivScroller("makeMeSrollable");
|