Re: Website Development Question
On Thu, 2007-12-20 at 13:25 -0500, Travis Roy wrote: > I'm working on a site for somebody that does promotion work at trade > shows. As a result she wants to have a number of pictures on one of > the sidebars on the site. > > I tried a few javascript apps and some flash apps that just didn't > work the way I wanted. She wants them to change randomly on the page. > The only other thing I can think of is to just have it pick them > randomly when the page loads. this will work fine - just put the pic bar in an iframe and have the source for the iframe refresh itself every minute or so. or to make it hurt the eyes, put all the images in their own iframe and have them refresh at different times ;) > > Does anybody have any other suggestions or pointers? > ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: Website Development Question
On Dec 20, 2007, at 13:25, Travis Roy wrote: > She wants them to change randomly on the page. When the page loads or after the page has loaded? Javascript is probably the best solution for both, though you can manage server-side contrivances for both scenarios. You can get callbacks from the javascript engine on a timed basis, for the latter case. -Bill - Bill McGonigle, Owner Work: 603.448.4440 BFC Computing, LLC Home: 603.448.1668 [EMAIL PROTECTED] Cell: 603.252.2606 http://www.bfccomputing.com/Page: 603.442.1833 Blog: http://blog.bfccomputing.com/ VCard: http://bfccomputing.com/vcard/bill.vcf ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: Website Development Question
> I just googled "javascript random image" and got: > http://www.javascript-page.com/ranimage.html > > I think that does what you're after. Actually, I tried that one. Worked great for one image, but when I tried to do two images on one page with different times that the image would switch (to give a semi-random effect), it fell apart and didn't work. None of the images cycled at all. -- Travis Roy ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: Website Development Question
On Dec 20, 2007 1:25 PM, Travis Roy <[EMAIL PROTECTED]> wrote: > I'm working on a site for somebody that does promotion work at trade > shows. As a result she wants to have a number of pictures on one of > the sidebars on the site. > > I tried a few javascript apps and some flash apps that just didn't > work the way I wanted. She wants them to change randomly on the page. > The only other thing I can think of is to just have it pick them > randomly when the page loads. > > Does anybody have any other suggestions or pointers? > > -- > Travis Roy > ___ > I just googled "javascript random image" and got: http://www.javascript-page.com/ranimage.html I think that does what you're after. -- "America is at that awkward stage. It's too late to work within the system, but too early to shoot the bastards." --Claire Wolfe ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Re: Website Development Question
Why not just do it with PHP or Perl, or whatever the site is coded in? Get your layout together, throw the rotational images in a dir, read the contents of the dir, pick x random images. Shouldn't require javascript or flash, or anything other than fairly straight-forward coding. On 12/20/07 1:25 PM, "Travis Roy" <[EMAIL PROTECTED]> wrote: > I'm working on a site for somebody that does promotion work at trade > shows. As a result she wants to have a number of pictures on one of > the sidebars on the site. > > I tried a few javascript apps and some flash apps that just didn't > work the way I wanted. She wants them to change randomly on the page. > The only other thing I can think of is to just have it pick them > randomly when the page loads. > > Does anybody have any other suggestions or pointers? ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Website Development Question
I'm working on a site for somebody that does promotion work at trade shows. As a result she wants to have a number of pictures on one of the sidebars on the site. I tried a few javascript apps and some flash apps that just didn't work the way I wanted. She wants them to change randomly on the page. The only other thing I can think of is to just have it pick them randomly when the page loads. Does anybody have any other suggestions or pointers? -- Travis Roy ___ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/