Forum Moderators: phranque

Message Too Old, No Replies

Refreshing content

I want to refresh a portion of a page

         

KA_Curtis

4:45 am on Mar 22, 2003 (gmt 0)

10+ Year Member



I'm not sure where to ask this question, so forgive me if it should have be in another forum.

I've got a client that wants some quotes to refresh while a visitor is on the page. I've got the quotes coming in on an SSI for a random text generator. My problem is that I can't seem to figure out how to refresh just the quote without having 10k of javascript.

Does anyone know how I could do it efficiently? Is there a prewritten script anywhere?

Thx

txbakers

12:55 pm on Mar 22, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If there aren't too too many I would put all the quotes in an animated gif file and let it roll that way.

I do that on one site and it works very well.

KA_Curtis

5:22 pm on Mar 22, 2003 (gmt 0)

10+ Year Member



Hi,

I thought about making a Flash animation, but I want it to be read by search engines. Also this site is based on percentages which make the tables expand and shrink based on the views browser size, the problem with anything like an animation is that it will have to be a fixed size.

I thought about just using the huge JavaScript but calling if from the server. It may speed up things a little, it's just that it doesn't look good from a designers standpoint.

I may do as you suggested though.

thanks,

Ken

mechanical messiah

8:18 pm on Mar 22, 2003 (gmt 0)

10+ Year Member



the way i have mine, i have it in a pretty simple php script that just loads each time you change pages. (http://noize.box.sk on every page but the main one on the bottom left)

what about scrolling horizontal marquees or the numerous java marquee top to bottom scrollers?

KA_Curtis

9:07 pm on Mar 22, 2003 (gmt 0)

10+ Year Member



That's how I have it set up now, each time the page refreshes the quote changes (and some images). The client wants it to rotate constantly.

I decided to go with Flash, but since I loose the dynamic content element, I am going to try to explain to them that what they want will make their new site look like one big banner, and that search engines will ignore anything that is in the Flash (or .js) Next thing they're going to want is a monkey flying from one side of the page to the other, and require the visitor to click on it. :)

I looked into the JAVA Applets, but I couldn't find one that allowed for an image background, or no background at all. Since they agreed on the original design that had the background in the cell, I don't want to try to explain why I chose JAVA over another language.

ken