Skip to main content
Inspiring
February 6, 2007
Question

Horizontal Looper - Change Rows & Cols

  • February 6, 2007
  • 3 replies
  • 345 views
Hi Guys,
I asked a while back an how to loop horizontally and was put on to Tom Muck's horizontal looper, and this works brilliantly.

But I thought Id put in a bit to allow the user to state the colums and rows via list boxes and tried this and set these values to Vars and where the looper code in my page is i changed the numeric values to may new vars and its just lost the plot...

The recordset and looper dissapear from my server behavors window and the page does work but the navigation bar doesnt show ??

Im wondering if any of you guys have tried this and how you did it?

Thanks again
Tag


numberColumns = 4
numrows = 15

to

numberColumns = MyVar1
numrows = MyVar2
This topic has been closed for replies.

3 replies

Inspiring
February 9, 2007
> Here is what I came up with using your looper Tom
>
> http://gallery.staffdata.co.uk/VotingGallery/
>
> I hope you dont mind, thanks again



Looks great. Thanks for posting.


--
Tom Muck
co-author Dreamweaver MX 2004: The Complete Reference
http://www.tom-muck.com/

Cartweaver Development Team
http://www.cartweaver.com

Extending Knowledge Daily
http://www.communitymx.com/


Tag2007Author
Inspiring
February 8, 2007
Thanks Tom,
Sorry im slow with replying to you...
Your extension is brill saved me 'oooodles' of time.. Thank You.

It took me a while to figure out what was going on in my loop and I was forgetting to configure one var to get col * rows so my display counter was all over the place... but all is well now.

Its probably pretty run of the mill stuff to you guys but your support is always appreciated .

Here is what I came up with using your looper Tom

http://gallery.staffdata.co.uk/VotingGallery/

I hope you dont mind, thanks again
Tag
Inspiring
February 6, 2007
It will disappear from the menu, but the code should work fine.


--
--
Tom Muck
co-author Dreamweaver MX 2004: The Complete Reference
http://www.tom-muck.com/

Cartweaver Development Team
http://www.cartweaver.com

Extending Knowledge Daily
http://www.communitymx.com/

"Tag2007" <webforumsuser@macromedia.com> wrote in message
news:eq8n1r$8hh$1@forums.macromedia.com...
> Hi Guys,
> I asked a while back an how to loop horizontally and was put on to Tom
> Muck's
> horizontal looper, and this works brilliantly.
>
> But I thought Id put in a bit to allow the user to state the colums and
> rows
> via list boxes and tries this and set these values to Vars and where the
> looper
> code in my page is i changed the numeric values to may new vars and its
> just
> lost the plot...
>
> The recordset and looper dissapear from my server behavors window and the
> page
> does work but the navigation bar doesnt show ??
>
> Im wondering if any of you guys have tried this and how you did it?
>
> Thanks again
> Tag
>
>

> numberColumns = 4
> numrows = 15
>
> to
>
> numberColumns = MyVar1
> numrows = MyVar2
>

>