7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » display... Pages... Paging... with jquery
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 557 Views |
-
display... Pages... Paging... with jquery

11 April 2011 at 9:58pm
hi guys...
I' m want page my <% control Images %> $Attach.Url <% end_control %> but...
i want display first all pages to into html example:<-Page 1-->
<div>
<img 1/>
<img 2/>
<img 3/>
<img 4/>
<img 5/>
</div><-Page 2-->
<div>
<img 6/>
<img 7/>
<img 8/>
<img 9/>
<img 10/>
</div><-Page 3-->
<div>
<img 11/>
<img 12/>
<img 13/>
</div>Sorry my english!
-
Re: display... Pages... Paging... with jquery

12 April 2011 at 9:15pm
Well guys what do you think? confused no? but it work! ahhahah but i ave a problem when i' have 20 images don work because i have pos == 10
i'a want for 10, 20, 30, ... ten in ten...<% control Images %>
<% if First %><div><% end_if %>
$Attachment.SetWidth(500)
<% if Pos == 10 %> </div>
<div>
<% else %>
<% end_if %>
<% if Last %> </div> <% end_if %>
<% end_control %>solutions?
| 557 Views | ||
|
Page:
1
|
Go to Top |

