using repeater????

G

Guest

i have this part of htmlcode in my apsx page:
Code:
<div class="gamesRow" id="Div1">
<h1>test11111</h1>
<ul class="items clearfix">
<li class="green"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some gam1e, some long
text and very long sentence.." /></a><a href="#" class="text">Game
Title</a></li>
<li class="orange"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game2" /></a><a
href="#" class="text">Game Title</a></li>
<li class="blue"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game3" /></a><a
href="#" class="text">Game Title</a></li>
<li class="purple"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game4" /></a><a
href="#" class="text">Game Title</a></li>
<li class="red"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game5" /></a><a
href="#" class="text">Game Title</a></li>
</ul>
<div class="bottomRow clearfix">
<a href="#" class="exitBtn"></a>
[QUOTE]
<li>2</li
<li>3</li
<li>4</li
</ul>[/QUOTE]
</div><!-- end bottomRow  -->
<div class="seperator"></div>
</div><!-- end gamesRow  -->

what i am trying to build here is a
<TITLE>
<img1>...<img5>
<paging1>..<paging(i)>

which mean's :
i have a block of div that repeat itself,
it contians a title,
images can be show up to 5 (but if there are less then show less then 5,and
if there are more then 5 show only 5 first)
and paging - means put nuumber for paging where assumed 5 images per page!

and this structre can repeat itself - how can i do this?
thnaksi n advance
peleg
 
T

Teemu Keiski

Repeater with PagedDataSource is good start if you need strict control of
the markup.


--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

pelegk1 said:
i have this part of htmlcode in my apsx page:
Code:
<div class="gamesRow" id="Div1">
<h1>test11111</h1>
<ul class="items clearfix">
<li class="green"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some gam1e, some long
text and very long sentence.." /></a><a href="#" class="text">Game
Title</a></li>
<li class="orange"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game2" /></a><a
href="#" class="text">Game Title</a></li>
<li class="blue"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game3" /></a><a
href="#" class="text">Game Title</a></li>
<li class="purple"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game4" /></a><a
href="#" class="text">Game Title</a></li>
<li class="red"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game5" /></a><a
href="#" class="text">Game Title</a></li>
</ul>
<div class="bottomRow clearfix">
<a href="#" class="exitBtn"></a>
[QUOTE]
<li>2</li
<li>3</li
<li>4</li
</ul>[/QUOTE]
</div><!-- end bottomRow  -->
<div class="seperator"></div>
</div><!-- end gamesRow  -->

what i am trying to build here is a
<TITLE>
<img1>...<img5>
<paging1>..<paging(i)>

which mean's :
i have a block of div that repeat itself,
it contians a title,
images can be show up to 5 (but if there are less then show less then
5,and
if there are more then 5 show only 5 first)
and paging - means put nuumber for paging where assumed 5 images per page!

and this structre can repeat itself - how can i do this?
thnaksi n advance
peleg
 
G

Guest

can you give more detilaed info?

Teemu Keiski said:
Repeater with PagedDataSource is good start if you need strict control of
the markup.


--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

pelegk1 said:
i have this part of htmlcode in my apsx page:
Code:
<div class="gamesRow" id="Div1">
<h1>test11111</h1>
<ul class="items clearfix">
<li class="green"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some gam1e, some long
text and very long sentence.." /></a><a href="#" class="text">Game
Title</a></li>
<li class="orange"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game2" /></a><a
href="#" class="text">Game Title</a></li>
<li class="blue"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game3" /></a><a
href="#" class="text">Game Title</a></li>
<li class="purple"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game4" /></a><a
href="#" class="text">Game Title</a></li>
<li class="red"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game5" /></a><a
href="#" class="text">Game Title</a></li>
</ul>
<div class="bottomRow clearfix">
<a href="#" class="exitBtn"></a>
[QUOTE]
<li>2</li
<li>3</li
<li>4</li
</ul>[/QUOTE]
</div><!-- end bottomRow  -->
<div class="seperator"></div>
</div><!-- end gamesRow  -->

what i am trying to build here is a
<TITLE>
<img1>...<img5>
<paging1>..<paging(i)>

which mean's :
i have a block of div that repeat itself,
it contians a title,
images can be show up to 5 (but if there are less then show less then
5,and
if there are more then 5 show only 5 first)
and paging - means put nuumber for paging where assumed 5 images per page!

and this structre can repeat itself - how can i do this?
thnaksi n advance
peleg
 
T

Teemu Keiski

Hi,

http://www.codeproject.com/useritems/paging.asp


--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

pelegk1 said:
can you give more detilaed info?

Teemu Keiski said:
Repeater with PagedDataSource is good start if you need strict control of
the markup.


--
Teemu Keiski
AspInsider, ASP.NET MVP
http://blogs.aspadvice.com/joteke
http://teemukeiski.net

pelegk1 said:
i have this part of htmlcode in my apsx page:
Code:
<div class="gamesRow" id="Div1">
<h1>test11111</h1>
<ul class="items clearfix">
<li class="green"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some gam1e, some
long
text and very long sentence.." /></a><a href="#" class="text">Game
Title</a></li>
<li class="orange"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game2"
/></a><a
href="#" class="text">Game Title</a></li>
<li class="blue"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game3"
/></a><a
href="#" class="text">Game Title</a></li>
<li class="purple"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game4"
/></a><a
href="#" class="text">Game Title</a></li>
<li class="red"><div></div><a href="#" class="image"><img
src="images/gamezone/temp.jpg" alt="" title="This is some game5"
/></a><a
href="#" class="text">Game Title</a></li>
</ul>
<div class="bottomRow clearfix">
<a href="#" class="exitBtn"></a>
<ul class="pager">
<li class="active">1</li
<li>2</li
<li>3</li
<li>4</li
</ul>
</div><!-- end bottomRow  -->
<div class="seperator"></div>
</div><!-- end gamesRow  -->

what i am trying to build here is a
<TITLE>
<img1>...<img5>
<paging1>..<paging(i)>

which mean's :
i have a block of div that repeat itself,
it contians a title,
images can be show up to 5 (but if there are less then show less then
5,and
if there are more then 5 show only 5 first)
and paging - means put nuumber for paging where assumed 5 images per
page!

and this structre can repeat itself - how can i do this?
thnaksi n advance
peleg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top