[ic] How to/where to find code to rotate links/pics?

Todd Foster interchange-users@icdevgroup.org
Fri Jun 20 22:34:00 2003


search the web for webmaster scripts.  This is common in the adult industry.

-----Original Message-----
From: Dave LaTourette [mailto:dave@davesport.com]
Sent: Friday, June 20, 2003 7:19 PM
To: interchange-users@icdevgroup.org
Subject: RE: [ic] How to/where to find code to rotate links/pics?


> > I'd like to know where I could find the code or component
> > needed to make a
> > rotating image or link for my 4.8.6 IC implementation. I'd
> > like to have
> > random images with text links show up on the index page. It
> > seems like the
> > icdevgroup site has a random rotating link already. Where
> > could I find the
> > code/implementation for this?
> > Can anyone point me in the general direction to getting this done?
> >
> > Thank you,
> >
> > Dave LaTourette
> > www.davesport.com
> > ph. 425-888-4444
> > fax 425-888-6444
>
> I used this in IC 4.9 (adapted from the foundation demo), but I think it
> would work in 4.8:
>
> [loop
> 		random="[control matches 1]"
> 		search="
> 				fi=products
> 				st=db
> 				ra=yes
> 				ml=[control pool 1000]
> 	"]
>
> <IMG SRC="itemgraphics/[loop-field sku][loop-field saletype].jpg"
> hspace=0 width=200 vspace=0 BORDER=0>
> <br>
> Item: [loop-field sku]
> <br>
> Price: $[loop-field price]
> <br>
> [loop-description]
>
>
> [order [loop-code]]Add to Basket[/order]
>
> [/loop]
>


Thanks for that. I wasn't clear enough in my initial post, but I want to
display random images/links to pages, not products. I assume I'll need to
keep a database of all the pages I want rotated. Once that's done, would the
code above be readily used with changing the database (fi argument)?

Thanks again,

Dave

_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users