Kristian Nilssen wrote:
> I am making a viewer component for a sequence of images. Usual stuff - 
> start, stop, next frame, previous frame, animation speed. How can I tell 
> just the image part to update - I don't want the whole page to refresh 
> when a new frame is due to be drawn.
> 
> K.

This isn't really a mason question.

However, there are several ways you can do this:

First, you could use a frameset, and have links load a new URL in the
frame, which contains only the image. However, nobody likes using frames.

Secondly, you could use javascript to change the 'src' attribute of your
image element.

However, I'd try and aim to have as little processing required to draw
the rest of the page as possible, so that you can redraw the whole page
with no significant difference in the user experience. Even if you go
for the frames of javascript approach, you ought to have it work this
way too as a fall back for accessibility reasons.

-Oli

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to