List Info

Thread: refresh/reload script




refresh/reload script
country flaguser name
United States
2007-08-13 17:00:01
 
Is there an easy way to create an element -- perhaps a
scheduled
element -- to have content change on each refresh/reload of
the page?
The solution can't involve hacks or scripts, since the user
who will
need to create the elements is not a developer. The idea is
to have an
array of photos rotate through on every refresh.
 
At the moment, the only solution I can think of is a render
handler,
but I was hoping there might be something simpler - is there
a built-in
javascript available for this?
 
Brenna Harris
Data Manager
SoM, The Office of the Dean
494-0207
_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om

RE: refresh/reload script
country flaguser name
United States
2007-08-20 10:01:51
Hi Brenna,

One way off the top of my head to do this is to drop a
container where
you want the content to appear and then in the container
drop multiple
elements of what you want to appear. Go into layout
properties of the
container and check "Limit the number of contained
elements to" and
enter 1 for the number and also check "Random
display".

So for instance, say you want to randomly rotate through a
small group
of images on a page, drop a container on the page and then
drop several
image elements inside the container. Then configure layout
properties of
the container like I mentioned above. Once you finish, upon
every load
of the page a random picture will be displayed from the
images stored in
the container.

Samuel Smith ~~~ ssmithpaperthin.com
Professional Services Consultant, MCR
617-471-4440 x239

https://www.livemeeting.com/cc/paperthin/meet/ssmith

> -----Original Message-----
> From: commonspot-bounceschattyfig.figleaf.com 
> [mailto:commonspot-bounceschattyfig.figleaf.com] On
Behalf 
> Of Brenna Harris
> Sent: Monday, August 13, 2007 6:00 PM
> To: commonspotchattyfig.figleaf.com
> Subject: [Commonspot] refresh/reload script
> 
>  
> Is there an easy way to create an element -- perhaps a
scheduled
> element -- to have content change on each
refresh/reload of the page?
> The solution can't involve hacks or scripts, since the
user who will
> need to create the elements is not a developer. The
idea is to have an
> array of photos rotate through on every refresh.
>  
> At the moment, the only solution I can think of is a
render handler,
> but I was hoping there might be something simpler - is
there 
> a built-in
> javascript available for this?
>  
> Brenna Harris
> Data Manager
> SoM, The Office of the Dean
> 494-0207
_______________________________________________
Commonspotchattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/commonspot


Brought to you by Fig Leaf Software
Premier Authorized Paperthin Consulting and Training
http://www.figleaf.com
http://training.figleaf.c
om

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )