You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

prev/next link stop working being wrapped with span Created Nov 10, 2009

This thread is solved

Views: 403     Replies: 1     Last reply Nov 18, 2009  
You must login first before you can use this feature

Aramaki

Posts: 25

Registered:
Sep 11, 2009

prev/next link stop working being wrapped with span

Posted: Nov 10, 2009

Hi all.

The problem is the following: I have simple horizontal scrollable with prev and next controls under it - it works ok.

But when I wrap controls with div or span for some styling they stop working - they are shown always and have no effect on scrollable


   $("div.scrollable").scrollable({
		size : 1
   }); 
Working

<div class="frame">
	<div class="scrollable">  
		<div class="items">
			<div class="item">
				<p>text</p>
			</div>
			<div class="item">
				<p>text</p>
			</div>
		</div>
	</div>
	<a class="prevPage browse left">left</a> 
	<a class="nextPage browse right">right</a>
</div>

Not working

<div class="frame">
	... 
	... 
	... 
	<span>
		<a class="prevPage browse left">left</a>
		<a class="nextPage browse right">right</a>
	</span>
</div>

gagnesto

Posts: 1

Registered:
Nov 18, 2009

Don"t forget the id

Posted: Nov 18, 2009

Reply to: prev/next link stop working being wrapped with span, from Aramaki
I don't know if span works, but DIV does if you append the ID "actions" to it:

<div id="actions"> 
        <a class="prevPage browse left">left</a> 
        <a class="nextPage browse right">right</a> 
</div>