I agree with Oliver that frames are clunky and annoying (to use, not
necessarily to develop, but doing it right is fiddly and annoying).
Try iframes?
-ben
________________________________
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kristian
Nilssen
Sent: Thursday, November 30, 2006 10:09 AM
To: Oliver Jeeves
Cc: mason-users@lists.sourceforge.net
Subject: Re: [Mason] update part of page only
I read all over the web why people don't like frames - which is
patially why I posted this in the first place. I don't understand what's
wrong with frames. In my situation, it seems logical to use them. All my
web users will be using IE5+ or Firefox so they can see frames. Will
everyone have javascript? Probably more people using frames than
javascript. I just don't like the idea of the whole page refreshing -
will look bad.
K.
Oliver Jeeves wrote:
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
-------------------------------------------------------------------------
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