perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allen haim <al...@netherrealm.net>
Subject %udat and frames
Date Tue, 15 Feb 2005 04:20:42 GMT
Hi,

I've narrowed down the problem I was referring to in my previous letter. Try
this:

bottom.html:
#################################################
<html>
    <head><title>bottom</title></head>
        <body>
            this is the bottom

            the value is: [+ $udat{'a'} +]
#################################################


top.html:
#################################################
<html>
    <head><title>top</title></head>

    <body>
        this is the top

        the value is: [+ $udat{'a'} +]
#################################################


frameset.html:
#################################################
[-

$udat{'a'} = 'a';
$udat{'b'} = 'b';
$udat{'c'} = 'c';

-]


<html>

        <head>
            <title>frame test</title>
        </head>

        <frameset rows='10%,90%'>
            <frame src='top.html'>
            <frame src='bottom.html'>
        </frameset>

</html>
#################################################


base.html:
#################################################
[- Execute ('*')  -]
#################################################


and point your browser to 'frameset.html'. You will see that 'a' doesn't show up on both frames
at once. My expectation was that it would.

Now click reload. For me, the 'a' now jumps from the top to the bottom! Then I
click reload again, and now the 'a' is visible in both frames.

Do I have a flawed expectation of how this should work with frames?

Thanks

Allen

-- 
happy random george orwell advice for making tea:

	Anyone who has used that comforting phrase 'a nice cup of tea' invariably means Indian tea.

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message