Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | How can i show value that updates evey min on the WEB

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

How can i show value that updates evey min on the WEB - mary_adly2003 - Oct 10 14:08:24 2008

I made a code that have a varible that inceremmnt every min so i need
that value to be shown in the web and it update it self without
refreshing the page .
becouse i try the refreshing page way it reload the whole page all
again and again
thank you
best regards
mary mekhael
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )


Re: How can i show value that updates evey min on the WEB - Steve Trigero - Oct 10 14:32:10 2008

One way of doing what you want is to create an invisible frame
and have that frame refresh itself at whatever rate you need.
Then use javascript in the invisible frame to update the variable(s)
in the visible frame(s) you want updated with each refresh. That
way you don't see the web page blinking all the time as it reloads
the page.

Steve

----- Original Message ----
From: mary_adly2003
To: r...@yahoogroups.com
Sent: Friday, October 10, 2008 11:08:04 AM
Subject: [rabbit-semi] How can i show value that updates evey min on the WEB
I made a code that have a varible that inceremmnt every min so i need
that value to be shown in the web and it update it self without
refreshing the page .
becouse i try the refreshing page way it reload the whole page all
again and again
thank you
best regards
mary mekhael



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: How can i show value that updates evey min on the WEB - mary_adly2003 - Oct 10 15:07:05 2008

thank you for your replying
wel my HTML page is SHTML page so ..you have nay idea of how to
write this code
and here is my code below for the SHTML page:
---------------------------------------------------------------------






("location.href='index.shtml'",1000)>




















Name Status
Speed
Speed now
Speed low
Humidity




------------------------------------------------------------------

so can you help me in modifying in it ?
thank you and best regards
Mary Mekhael

--- In r...@yahoogroups.com, Steve Trigero
wrote:
>
> One way of doing what you want is to create an invisible frame
> and have that frame refresh itself at whatever rate you need.
> Then use javascript in the invisible frame to update the variable(s)
> in the visible frame(s) you want updated with each refresh. That
> way you don't see the web page blinking all the time as it reloads
> the page.
>
> Steve
>
> ----- Original Message ----
> From: mary_adly2003
> To: r...@yahoogroups.com
> Sent: Friday, October 10, 2008 11:08:04 AM
> Subject: [rabbit-semi] How can i show value that updates evey min
on the WEB
> I made a code that have a varible that inceremmnt every min so i
need
> that value to be shown in the web and it update it self without
> refreshing the page .
> becouse i try the refreshing page way it reload the whole page all
> again and again
> thank you
> best regards
> mary mekhael
>

------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Re: How can i show value that updates evey min on the WEB - Steve Trigero - Oct 10 18:00:34 2008

I can't write your code for you. You need to read up on frames, if
you're not familiar with them, and on javascript if you're not
familiar with that either. But here are some tips.

You need an html file defining your frames. And each frame will
have its own html file. A frame is treated like a separate web page
even though all the frames are displayed in the same browser
window.

In an application I did, my frames file looked like this:

"http://www.w3.org/TR/html4/loose.dtd">



Xicom Technology Web Interface








Frame4 is the frame that's updated. The other frames are mainly boilerplate stuff like company logos,
static status parameters, etc.

You'll notice that frame5 is the invisible frame, because the frameset command defines its area in
the brower window as zero. Meaning it's not displayed.

Frame5 code looks like this.

"http://www.w3.org/TR/html4/loose.dtd">














You'll notice that javascript function "UpdateStatus()" gets called each time the frame refreshes.
Inside UpdateStatus functions in frame4 are called passing in the updated parameters.

In frame4, these javascript functions would update the displayed parameters in the frame.

To give you one example, one of the parameters is the Transmit State. It's an input box defined as:



In the javascript section of the html file, is this function that is called by frame5 to update this input box:

function SetXmitState(xmState) {
try {
if (xmState == 0) {
document.statusForm.txState.value = "Disabled";
}
else {
document.statusForm.txState.value = "Enabled";
}
}
catch (e) {
alert("SetXmitState: " + e.name + ":" + e.message);
}
}
Hope that helps.

Steve

----- Original Message ----
From: mary_adly2003
To: r...@yahoogroups.com
Sent: Friday, October 10, 2008 12:06:58 PM
Subject: [rabbit-semi] Re: How can i show value that updates evey min on the WEB
thank you for your replying
wel my HTML page is SHTML page so ..you have nay idea of how to
write this code
and here is my code below for the SHTML page:
------------ --------- --------- --------- --------- --------- -







("location.href= 'index.shtml' ",1000)>


















Name Status
Speed
Speed now
Speed low
Humidity< /td>




------------ --------- --------- --------- --------- --------- -

so can you help me in modifying in it ?
thank you and best regards
Mary Mekhael

--- In rabbit-semi@ yahoogroups. com, Steve Trigero
wrote:
>
> One way of doing what you want is to create an invisible frame
> and have that frame refresh itself at whatever rate you need.
> Then use javascript in the invisible frame to update the variable(s)
> in the visible frame(s) you want updated with each refresh. That
> way you don't see the web page blinking all the time as it reloads
> the page.
>
> Steve
>
> ----- Original Message ----
> From: mary_adly2003
> To: rabbit-semi@ yahoogroups. com
> Sent: Friday, October 10, 2008 11:08:04 AM
> Subject: [rabbit-semi] How can i show value that updates evey min
on the WEB
> I made a code that have a varible that inceremmnt every min so i
need
> that value to be shown in the web and it update it self without
> refreshing the page .
> becouse i try the refreshing page way it reload the whole page all
> again and again
> thank you
> best regards
> mary mekhael
>



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: How can i show value that updates evey min on the WEB - mary_adly2003 - Oct 14 8:33:05 2008


Dear
i realy appricate your effort so much,
but i tried to use your way but didnt work so may be i worte somthing
wrong ...so i copy paste my code so you take a look at it and tell me
where did i made my mistake
besides i just remined you that i dont want the page to be reloaded
or refreshed again becouse when i added

>

this code it refresh the whole page again :(
so you have any idea where is my mistake or how can i handel this
thank you for your effort so much
best regards
mary mekhael











frameborder="0" scrolling="no" noresize>
























Name Status
Speed
Speed now
Speed low
Humidity





--- In r...@yahoogroups.com, Steve Trigero
wrote:
>
> I can't write your code for you. You need to read up on frames, if
> you're not familiar with them, and on javascript if you're not
> familiar with that either. But here are some tips.
>
> You need an html file defining your frames. And each frame will
> have its own html file. A frame is treated like a separate web page
> even though all the frames are displayed in the same browser
> window.
>
> In an application I did, my frames file looked like this:
>
> > "http://www.w3.org/TR/html4/loose.dtd">
>
>
>
> Xicom Technology Web Interface
>
>
> frameborder="0" scrolling="no" noresize>
> frameborder="0" scrolling="no" >
> frameborder="1" scrolling="yes" >
> frameborder="0" scrolling="no" >
>
>
> Frame4 is the frame that's updated. The other frames are mainly
boilerplate stuff like company logos,
> static status parameters, etc.
>
> You'll notice that frame5 is the invisible frame, because the
frameset command defines its area in
> the brower window as zero. Meaning it's not displayed.
>
> Frame5 code looks like this.
>
> > "http://www.w3.org/TR/html4/loose.dtd">
>
>
>
>
>
>
>
>
>
>
>
>
> You'll notice that javascript function "UpdateStatus()" gets called
each time the frame refreshes.
> Inside UpdateStatus functions in frame4 are called passing in the
updated parameters.
>
> In frame4, these javascript functions would update the displayed
parameters in the frame.
>
> To give you one example, one of the parameters is the Transmit
State. It's an input box defined as:
>
> maxlength="8" size="6" readonly > In the javascript section of the html file, is this function that
is called by frame5 to update this input box:
>
> function SetXmitState(xmState) {
> try {
> if (xmState == 0) {
> document.statusForm.txState.value = "Disabled";
> }
> else {
> document.statusForm.txState.value = "Enabled";
> }
> }
> catch (e) {
> alert("SetXmitState: " + e.name + ":" + e.message);
> }
> }
> Hope that helps.
>
> Steve
>
> ----- Original Message ----
> From: mary_adly2003
> To: r...@yahoogroups.com
> Sent: Friday, October 10, 2008 12:06:58 PM
> Subject: [rabbit-semi] Re: How can i show value that updates evey
min on the WEB
> thank you for your replying
> wel my HTML page is SHTML page so ..you have nay idea of how to
> write this code
> and here is my code below for the SHTML page:
> ------------ --------- --------- --------- --------- --------- -
>
>
>
> setTimeout
> ("location.href= 'index.shtml' ",1000)>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
NameStatus
>
Speed
Speed now
Speed low
Humidity< /td>
>

>
> ------------ --------- --------- --------- --------- --------- -
>
> so can you help me in modifying in it ?
> thank you and best regards
> Mary Mekhael
>
> --- In rabbit-semi@ yahoogroups. com, Steve Trigero

> wrote:
> >
> > One way of doing what you want is to create an invisible frame
> > and have that frame refresh itself at whatever rate you need.
> > Then use javascript in the invisible frame to update the variable
(s)
> > in the visible frame(s) you want updated with each refresh. That
> > way you don't see the web page blinking all the time as it
reloads
> > the page.
> >
> > Steve
> >
> >
> >
> > ----- Original Message ----
> > From: mary_adly2003
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Friday, October 10, 2008 11:08:04 AM
> > Subject: [rabbit-semi] How can i show value that updates evey min
> on the WEB
> >
> >
> > I made a code that have a varible that inceremmnt every min so i
> need
> > that value to be shown in the web and it update it self without
> > refreshing the page .
> > becouse i try the refreshing page way it reload the whole page
all
> > again and again
> > thank you
> > best regards
> > mary mekhael
>
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Re: How can i show value that updates evey min on the WEB - Steve Trigero - Oct 14 9:43:33 2008

You put all the code in one file?

----- Original Message ----
From: mary_adly2003
To: r...@yahoogroups.com
Sent: Tuesday, October 14, 2008 5:32:30 AM
Subject: [rabbit-semi] Re: How can i show value that updates evey min on the WEB

Dear
i realy appricate your effort so much,
but i tried to use your way but didnt work so may be i worte somthing
wrong ...so i copy paste my code so you take a look at it and tell me
where did i made my mistake
besides i just remined you that i dont want the page to be reloaded
or refreshed again becouse when i added

>

this code it refresh the whole page again :(
so you have any idea where is my mistake or how can i handel this
thank you for your effort so much
best regards
mary mekhael










frameborder= "0" scrolling="no" noresize>






















Name Status
Speed
Speed now
Speed low
Humidity< /td>





--- In rabbit-semi@ yahoogroups. com, Steve Trigero
wrote:
>
> I can't write your code for you. You need to read up on frames, if
> you're not familiar with them, and on javascript if you're not
> familiar with that either. But here are some tips.
>
> You need an html file defining your frames. And each frame will
> have its own html file. A frame is treated like a separate web page
> even though all the frames are displayed in the same browser
> window.
>
> In an application I did, my frames file looked like this:
>
> > "http://www.w3. org/TR/html4/ loose.dtd">
>
>
>
> Xicom Technology Web Interface
>
>
> frameborder= "0" scrolling="no" noresize>
> frameborder= "0" scrolling="no" >
> frameborder= "1" scrolling="yes" >
> frameborder= "0" scrolling="no" >
>
>
> Frame4 is the frame that's updated. The other frames are mainly
boilerplate stuff like company logos,
> static status parameters, etc.
>
> You'll notice that frame5 is the invisible frame, because the
frameset command defines its area in
> the brower window as zero. Meaning it's not displayed.
>
> Frame5 code looks like this.
>
> > "http://www.w3. org/TR/html4/ loose.dtd">
>
>
>
>
>
>
>
>
>
>
>
>
> You'll notice that javascript function "UpdateStatus( )" gets called
each time the frame refreshes.
> Inside UpdateStatus functions in frame4 are called passing in the
updated parameters.
>
> In frame4, these javascript functions would update the displayed
parameters in the frame.
>
> To give you one example, one of the parameters is the Transmit
State. It's an input box defined as:
>
> maxlength="8" size="6" readonly > In the javascript section of the html file, is this function that
is called by frame5 to update this input box:
>
> function SetXmitState( xmState) {
> try {
> if (xmState == 0) {
> document.statusForm .txState. value = "Disabled";
> }
> else {
> document.statusForm .txState. value = "Enabled";
> }
> }
> catch (e) {
> alert("SetXmitState : " + e.name + ":" + e.message);
> }
> }
> Hope that helps.
>
> Steve
>
> ----- Original Message ----
> From: mary_adly2003
> To: rabbit-semi@ yahoogroups. com
> Sent: Friday, October 10, 2008 12:06:58 PM
> Subject: [rabbit-semi] Re: How can i show value that updates evey
min on the WEB
> thank you for your replying
> wel my HTML page is SHTML page so ..you have nay idea of how to
> write this code
> and here is my code below for the SHTML page:
> ------------ --------- --------- --------- --------- --------- -
>
>
>
> setTimeout
> ("location.href= 'index.shtml' ",1000)>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
NameStatus
>
Speed
Speed now
Speed low
Humidity< /td>
>

>
> ------------ --------- --------- --------- --------- --------- -
>
> so can you help me in modifying in it ?
> thank you and best regards
> Mary Mekhael
>
> --- In rabbit-semi@ yahoogroups. com, Steve Trigero

> wrote:
> >
> > One way of doing what you want is to create an invisible frame
> > and have that frame refresh itself at whatever rate you need.
> > Then use javascript in the invisible frame to update the variable
(s)
> > in the visible frame(s) you want updated with each refresh. That
> > way you don't see the web page blinking all the time as it
reloads
> > the page.
> >
> > Steve
> >
> >
> >
> > ----- Original Message ----
> > From: mary_adly2003
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Friday, October 10, 2008 11:08:04 AM
> > Subject: [rabbit-semi] How can i show value that updates evey min
> on the WEB
> >
> >
> > I made a code that have a varible that inceremmnt every min so i
> need
> > that value to be shown in the web and it update it self without
> > refreshing the page .
> > becouse i try the refreshing page way it reload the whole page
all
> > again and again
> > thank you
> > best regards
> > mary mekhael
>



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: How can i show value that updates evey min on the WEB - mary_adly2003 - Oct 14 9:49:15 2008

yes and the page is SHTML page

--- In r...@yahoogroups.com, Steve Trigero
wrote:
>
> You put all the code in one file?
>
> ----- Original Message ----
> From: mary_adly2003
> To: r...@yahoogroups.com
> Sent: Tuesday, October 14, 2008 5:32:30 AM
> Subject: [rabbit-semi] Re: How can i show value that updates evey
min on the WEB
>
> Dear
> i realy appricate your effort so much,
> but i tried to use your way but didnt work so may be i worte
somthing
> wrong ...so i copy paste my code so you take a look at it and tell
me
> where did i made my mistake
> besides i just remined you that i dont want the page to be reloaded
> or refreshed again becouse when i added
>
> > this code it refresh the whole page again :(
> so you have any idea where is my mistake or how can i handel this
> thank you for your effort so much
> best regards
> mary mekhael
>
>
> >
>
>
>
> > frameborder= "0" scrolling="no" noresize>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
NameStatus
>
Speed
Speed now
Speed low
Humidity< /td>
>

>
>
> --- In rabbit-semi@ yahoogroups. com, Steve Trigero

> wrote:
> >
> > I can't write your code for you. You need to read up on frames, if
> > you're not familiar with them, and on javascript if you're not
> > familiar with that either. But here are some tips.
> >
> > You need an html file defining your frames. And each frame will
> > have its own html file. A frame is treated like a separate web
page
> > even though all the frames are displayed in the same browser
> > window.
> >
> > In an application I did, my frames file looked like this:
> >
> > > > "http://www.w3. org/TR/html4/ loose.dtd">
> >
> >
> >
> > Xicom Technology Web Interface
> >
> >
> > > frameborder= "0" scrolling="no" noresize>
> > > frameborder= "0" scrolling="no" >
> > > frameborder= "1" scrolling="yes" >
> > > frameborder= "0" scrolling="no" >
> >
> >
> >
> >
> > Frame4 is the frame that's updated. The other frames are mainly
> boilerplate stuff like company logos,
> > static status parameters, etc.
> >
> > You'll notice that frame5 is the invisible frame, because the
> frameset command defines its area in
> > the brower window as zero. Meaning it's not displayed.
> >
> > Frame5 code looks like this.
> >
> > > > "http://www.w3. org/TR/html4/ loose.dtd">
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > You'll notice that javascript function "UpdateStatus( )" gets
called
> each time the frame refreshes.
> > Inside UpdateStatus functions in frame4 are called passing in the
> updated parameters.
> >
> > In frame4, these javascript functions would update the displayed
> parameters in the frame.
> >
> > To give you one example, one of the parameters is the Transmit
> State. It's an input box defined as:
> >
> > name="txState"
> maxlength="8" size="6" readonly >
> >
> > In the javascript section of the html file, is this function that
> is called by frame5 to update this input box:
> >
> > function SetXmitState( xmState) {
> > try {
> > if (xmState == 0) {
> > document.statusForm .txState. value = "Disabled";
> > }
> > else {
> > document.statusForm .txState. value = "Enabled";
> > }
> > }
> > catch (e) {
> > alert("SetXmitState : " + e.name + ":" + e.message);
> > }
> > }
> >
> >
> > Hope that helps.
> >
> > Steve
> >
> >
> >
> > ----- Original Message ----
> > From: mary_adly2003
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Friday, October 10, 2008 12:06:58 PM
> > Subject: [rabbit-semi] Re: How can i show value that updates evey
> min on the WEB
> >
> >
> > thank you for your replying
> > wel my HTML page is SHTML page so ..you have nay idea of how to
> > write this code
> > and here is my code below for the SHTML page:
> > ------------ --------- --------- --------- --------- --------- -
> >
> >
> >
> >
> >
> >
> >
> > > setTimeout
> > ("location.href= 'index.shtml' ",1000)>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
NameStatus
> >
Speed
Speed now
Speed low
Humidity< /td>
> >

> >
> >
> >
> > ------------ --------- --------- --------- --------- --------- -
> >
> > so can you help me in modifying in it ?
> > thank you and best regards
> > Mary Mekhael
> >
> > --- In rabbit-semi@ yahoogroups. com, Steve Trigero
>
> > wrote:
> > >
> > > One way of doing what you want is to create an invisible frame
> > > and have that frame refresh itself at whatever rate you need.
> > > Then use javascript in the invisible frame to update the
variable
> (s)
> > > in the visible frame(s) you want updated with each refresh.
That
> > > way you don't see the web page blinking all the time as it
> reloads
> > > the page.
> > >
> > > Steve
> > >
> > >
> > >
> > > ----- Original Message ----
> > > From: mary_adly2003
> > > To: rabbit-semi@ yahoogroups. com
> > > Sent: Friday, October 10, 2008 11:08:04 AM
> > > Subject: [rabbit-semi] How can i show value that updates evey
min
> > on the WEB
> > >
> > >
> > > I made a code that have a varible that inceremmnt every min so
i
> > need
> > > that value to be shown in the web and it update it self without
> > > refreshing the page .
> > > becouse i try the refreshing page way it reload the whole page
> all
> > > again and again
> > > thank you
> > > best regards
> > > mary mekhael
> > >
>
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: How can i show value that updates evey min on the WEB - mary_adly2003 - Oct 14 10:30:58 2008

yes and the page in SHTML page

--- In r...@yahoogroups.com, Steve Trigero
wrote:
>
> You put all the code in one file?
>
> ----- Original Message ----
> From: mary_adly2003
> To: r...@yahoogroups.com
> Sent: Tuesday, October 14, 2008 5:32:30 AM
> Subject: [rabbit-semi] Re: How can i show value that updates evey
min on the WEB
>
> Dear
> i realy appricate your effort so much,
> but i tried to use your way but didnt work so may be i worte
somthing
> wrong ...so i copy paste my code so you take a look at it and tell
me
> where did i made my mistake
> besides i just remined you that i dont want the page to be reloaded
> or refreshed again becouse when i added
>
> > this code it refresh the whole page again :(
> so you have any idea where is my mistake or how can i handel this
> thank you for your effort so much
> best regards
> mary mekhael
>
>
> >
>
>
>
> > frameborder= "0" scrolling="no" noresize>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
NameStatus
>
Speed
Speed now
Speed low
Humidity< /td>
>

>
>
> --- In rabbit-semi@ yahoogroups. com, Steve Trigero

> wrote:
> >
> > I can't write your code for you. You need to read up on frames, if
> > you're not familiar with them, and on javascript if you're not
> > familiar with that either. But here are some tips.
> >
> > You need an html file defining your frames. And each frame will
> > have its own html file. A frame is treated like a separate web
page
> > even though all the frames are displayed in the same browser
> > window.
> >
> > In an application I did, my frames file looked like this:
> >
> > > > "http://www.w3. org/TR/html4/ loose.dtd">
> >
> >
> >
> > Xicom Technology Web Interface
> >
> >
> > > frameborder= "0" scrolling="no" noresize>
> > > frameborder= "0" scrolling="no" >
> > > frameborder= "1" scrolling="yes" >
> > > frameborder= "0" scrolling="no" >
> >
> >
> >
> >
> > Frame4 is the frame that's updated. The other frames are mainly
> boilerplate stuff like company logos,
> > static status parameters, etc.
> >
> > You'll notice that frame5 is the invisible frame, because the
> frameset command defines its area in
> > the brower window as zero. Meaning it's not displayed.
> >
> > Frame5 code looks like this.
> >
> > > > "http://www.w3. org/TR/html4/ loose.dtd">
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > You'll notice that javascript function "UpdateStatus( )" gets
called
> each time the frame refreshes.
> > Inside UpdateStatus functions in frame4 are called passing in the
> updated parameters.
> >
> > In frame4, these javascript functions would update the displayed
> parameters in the frame.
> >
> > To give you one example, one of the parameters is the Transmit
> State. It's an input box defined as:
> >
> > name="txState"
> maxlength="8" size="6" readonly >
> >
> > In the javascript section of the html file, is this function that
> is called by frame5 to update this input box:
> >
> > function SetXmitState( xmState) {
> > try {
> > if (xmState == 0) {
> > document.statusForm .txState. value = "Disabled";
> > }
> > else {
> > document.statusForm .txState. value = "Enabled";
> > }
> > }
> > catch (e) {
> > alert("SetXmitState : " + e.name + ":" + e.message);
> > }
> > }
> >
> >
> > Hope that helps.
> >
> > Steve
> >
> >
> >
> > ----- Original Message ----
> > From: mary_adly2003
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Friday, October 10, 2008 12:06:58 PM
> > Subject: [rabbit-semi] Re: How can i show value that updates evey
> min on the WEB
> >
> >
> > thank you for your replying
> > wel my HTML page is SHTML page so ..you have nay idea of how to
> > write this code
> > and here is my code below for the SHTML page:
> > ------------ --------- --------- --------- --------- --------- -
> >
> >
> >
> >
> >
> >
> >
> > > setTimeout
> > ("location.href= 'index.shtml' ",1000)>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
NameStatus
> >
Speed
Speed now
Speed low
Humidity< /td>
> >

> >
> >
> >
> > ------------ --------- --------- --------- --------- --------- -
> >
> > so can you help me in modifying in it ?
> > thank you and best regards
> > Mary Mekhael
> >
> > --- In rabbit-semi@ yahoogroups. com, Steve Trigero
>
> > wrote:
> > >
> > > One way of doing what you want is to create an invisible frame
> > > and have that frame refresh itself at whatever rate you need.
> > > Then use javascript in the invisible frame to update the
variable
> (s)
> > > in the visible frame(s) you want updated with each refresh.
That
> > > way you don't see the web page blinking all the time as it
> reloads
> > > the page.
> > >
> > > Steve
> > >
> > >
> > >
> > > ----- Original Message ----
> > > From: mary_adly2003
> > > To: rabbit-semi@ yahoogroups. com
> > > Sent: Friday, October 10, 2008 11:08:04 AM
> > > Subject: [rabbit-semi] How can i show value that updates evey
min
> > on the WEB
> > >
> > >
> > > I made a code that have a varible that inceremmnt every min so
i
> > need
> > > that value to be shown in the web and it update it self without
> > > refreshing the page .
> > > becouse i try the refreshing page way it reload the whole page
> all
> > > again and again
> > > thank you
> > > best regards
> > > mary mekhael
> > >
>
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: Re: How can i show value that updates evey min on the WEB - Steve Trigero - Oct 14 10:35:34 2008

I told you that you needed separate files. I hope you pay better attention in class.

----- Original Message ----
From: mary_adly2003
To: r...@yahoogroups.com
Sent: Tuesday, October 14, 2008 6:47:32 AM
Subject: [rabbit-semi] Re: How can i show value that updates evey min on the WEB
yes and the page in SHTML page

--- In rabbit-semi@ yahoogroups. com, Steve Trigero
wrote:
>
> You put all the code in one file?
>
> ----- Original Message ----
> From: mary_adly2003
> To: rabbit-semi@ yahoogroups. com
> Sent: Tuesday, October 14, 2008 5:32:30 AM
> Subject: [rabbit-semi] Re: How can i show value that updates evey
min on the WEB
>
> Dear
> i realy appricate your effort so much,
> but i tried to use your way but didnt work so may be i worte
somthing
> wrong ...so i copy paste my code so you take a look at it and tell
me
> where did i made my mistake
> besides i just remined you that i dont want the page to be reloaded
> or refreshed again becouse when i added
>
> > this code it refresh the whole page again :(
> so you have any idea where is my mistake or how can i handel this
> thank you for your effort so much
> best regards
> mary mekhael
>
>
> >
>
>
>
> > frameborder= "0" scrolling="no" noresize>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
NameStatus
>
Speed
Speed now
Speed low
Humidity< /td>
>

>
>
> --- In rabbit-semi@ yahoogroups. com, Steve Trigero

> wrote:
> >
> > I can't write your code for you. You need to read up on frames, if
> > you're not familiar with them, and on javascript if you're not
> > familiar with that either. But here are some tips.
> >
> > You need an html file defining your frames. And each frame will
> > have its own html file. A frame is treated like a separate web
page
> > even though all the frames are displayed in the same browser
> > window.
> >
> > In an application I did, my frames file looked like this:
> >
> > > > "http://www.w3. org/TR/html4/ loose.dtd">
> >
> >
> >
> > Xicom Technology Web Interface
> >
> >
> > > frameborder= "0" scrolling="no" noresize>
> > > frameborder= "0" scrolling="no" >
> > > frameborder= "1" scrolling="yes" >
> > > frameborder= "0" scrolling="no" >
> >
> >
> >
> >
> > Frame4 is the frame that's updated. The other frames are mainly
> boilerplate stuff like company logos,
> > static status parameters, etc.
> >
> > You'll notice that frame5 is the invisible frame, because the
> frameset command defines its area in
> > the brower window as zero. Meaning it's not displayed.
> >
> > Frame5 code looks like this.
> >
> > > > "http://www.w3. org/TR/html4/ loose.dtd">
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > You'll notice that javascript function "UpdateStatus( )" gets
called
> each time the frame refreshes.
> > Inside UpdateStatus functions in frame4 are called passing in the
> updated parameters.
> >
> > In frame4, these javascript functions would update the displayed
> parameters in the frame.
> >
> > To give you one example, one of the parameters is the Transmit
> State. It's an input box defined as:
> >
> > name="txState"
> maxlength="8" size="6" readonly >
> >
> > In the javascript section of the html file, is this function that
> is called by frame5 to update this input box:
> >
> > function SetXmitState( xmState) {
> > try {
> > if (xmState == 0) {
> > document.statusForm .txState. value = "Disabled";
> > }
> > else {
> > document.statusForm .txState. value = "Enabled";
> > }
> > }
> > catch (e) {
> > alert("SetXmitState : " + e.name + ":" + e.message);
> > }
> > }
> >
> >
> > Hope that helps.
> >
> > Steve
> >
> >
> >
> > ----- Original Message ----
> > From: mary_adly2003
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Friday, October 10, 2008 12:06:58 PM
> > Subject: [rabbit-semi] Re: How can i show value that updates evey
> min on the WEB
> >
> >
> > thank you for your replying
> > wel my HTML page is SHTML page so ..you have nay idea of how to
> > write this code
> > and here is my code below for the SHTML page:
> > ------------ --------- --------- --------- --------- --------- -
> >
> >
> >
> >
> >
> >
> >
> > > setTimeout
> > ("location.href= 'index.shtml' ",1000)>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
NameStatus
> >
Speed
Speed now
Speed low
Humidity< /td>
> >

> >
> >
> >
> > ------------ --------- --------- --------- --------- --------- -
> >
> > so can you help me in modifying in it ?
> > thank you and best regards
> > Mary Mekhael
> >
> > --- In rabbit-semi@ yahoogroups. com, Steve Trigero
>
> > wrote:
> > >
> > > One way of doing what you want is to create an invisible frame
> > > and have that frame refresh itself at whatever rate you need.
> > > Then use javascript in the invisible frame to update the
variable
> (s)
> > > in the visible frame(s) you want updated with each refresh.
That
> > > way you don't see the web page blinking all the time as it
> reloads
> > > the page.
> > >
> > > Steve
> > >
> > >
> > >
> > > ----- Original Message ----
> > > From: mary_adly2003
> > > To: rabbit-semi@ yahoogroups. com
> > > Sent: Friday, October 10, 2008 11:08:04 AM
> > > Subject: [rabbit-semi] How can i show value that updates evey
min
> > on the WEB
> > >
> > >
> > > I made a code that have a varible that inceremmnt every min so
i
> > need
> > > that value to be shown in the web and it update it self without
> > > refreshing the page .
> > > becouse i try the refreshing page way it reload the whole page
> all
> > > again and again
> > > thank you
> > > best regards
> > > mary mekhael
> > >
>



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: How can i show value that updates evey min on the WEB - mary_adly2003 - Oct 14 10:36:00 2008

waiting for your feedback
i am trying to read more a bout frames and how its work
waiting for your advice
thank you best regards

--- In r...@yahoogroups.com, Steve Trigero
wrote:
>
> You put all the code in one file?
>
> ----- Original Message ----
> From: mary_adly2003
> To: r...@yahoogroups.com
> Sent: Tuesday, October 14, 2008 5:32:30 AM
> Subject: [rabbit-semi] Re: How can i show value that updates evey
min on the WEB
>
> Dear
> i realy appricate your effort so much,
> but i tried to use your way but didnt work so may be i worte
somthing
> wrong ...so i copy paste my code so you take a look at it and tell
me
> where did i made my mistake
> besides i just remined you that i dont want the page to be reloaded
> or refreshed again becouse when i added
>
> > this code it refresh the whole page again :(
> so you have any idea where is my mistake or how can i handel this
> thank you for your effort so much
> best regards
> mary mekhael
>
>
> >
>
>
>
> > frameborder= "0" scrolling="no" noresize>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
NameStatus
>
Speed
Speed now
Speed low
Humidity< /td>
>

>
>
> --- In rabbit-semi@ yahoogroups. com, Steve Trigero

> wrote:
> >
> > I can't write your code for you. You need to read up on frames, if
> > you're not familiar with them, and on javascript if you're not
> > familiar with that either. But here are some tips.
> >
> > You need an html file defining your frames. And each frame will
> > have its own html file. A frame is treated like a separate web
page
> > even though all the frames are displayed in the same browser
> > window.
> >
> > In an application I did, my frames file looked like this:
> >
> > > > "http://www.w3. org/TR/html4/ loose.dtd">
> >
> >
> >
> > Xicom Technology Web Interface
> >
> >
> > > frameborder= "0" scrolling="no" noresize>
> > > frameborder= "0" scrolling="no" >
> > > frameborder= "1" scrolling="yes" >
> > > frameborder= "0" scrolling="no" >
> >
> >
> >
> >
> > Frame4 is the frame that's updated. The other frames are mainly
> boilerplate stuff like company logos,
> > static status parameters, etc.
> >
> > You'll notice that frame5 is the invisible frame, because the
> frameset command defines its area in
> > the brower window as zero. Meaning it's not displayed.
> >
> > Frame5 code looks like this.
> >
> > > > "http://www.w3. org/TR/html4/ loose.dtd">
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > You'll notice that javascript function "UpdateStatus( )" gets
called
> each time the frame refreshes.
> > Inside UpdateStatus functions in frame4 are called passing in the
> updated parameters.
> >
> > In frame4, these javascript functions would update the displayed
> parameters in the frame.
> >
> > To give you one example, one of the parameters is the Transmit
> State. It's an input box defined as:
> >
> > name="txState"
> maxlength="8" size="6" readonly >
> >
> > In the javascript section of the html file, is this function that
> is called by frame5 to update this input box:
> >
> > function SetXmitState( xmState) {
> > try {
> > if (xmState == 0) {
> > document.statusForm .txState. value = "Disabled";
> > }
> > else {
> > document.statusForm .txState. value = "Enabled";
> > }
> > }
> > catch (e) {
> > alert("SetXmitState : " + e.name + ":" + e.message);
> > }
> > }
> >
> >
> > Hope that helps.
> >
> > Steve
> >
> >
> >
> > ----- Original Message ----
> > From: mary_adly2003
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Friday, October 10, 2008 12:06:58 PM
> > Subject: [rabbit-semi] Re: How can i show value that updates evey
> min on the WEB
> >
> >
> > thank you for your replying
> > wel my HTML page is SHTML page so ..you have nay idea of how to
> > write this code
> > and here is my code below for the SHTML page:
> > ------------ --------- --------- --------- --------- --------- -
> >
> >
> >
> >
> >
> >
> >
> > > setTimeout
> > ("location.href= 'index.shtml' ",1000)>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
NameStatus
> >
Speed
Speed now
Speed low
Humidity< /td>
> >

> >
> >
> >
> > ------------ --------- --------- --------- --------- --------- -
> >
> > so can you help me in modifying in it ?
> > thank you and best regards
> > Mary Mekhael
> >
> > --- In rabbit-semi@ yahoogroups. com, Steve Trigero
>
> > wrote:
> > >
> > > One way of doing what you want is to create an invisible frame
> > > and have that frame refresh itself at whatever rate you need.
> > > Then use javascript in the invisible frame to update the
variable
> (s)
> > > in the visible frame(s) you want updated with each refresh.
That
> > > way you don't see the web page blinking all the time as it
> reloads
> > > the page.
> > >
> > > Steve
> > >
> > >
> > >
> > > ----- Original Message ----
> > > From: mary_adly2003
> > > To: rabbit-semi@ yahoogroups. com
> > > Sent: Friday, October 10, 2008 11:08:04 AM
> > > Subject: [rabbit-semi] How can i show value that updates evey
min
> > on the WEB
> > >
> > >
> > > I made a code that have a varible that inceremmnt every min so
i
> > need
> > > that value to be shown in the web and it update it self without
> > > refreshing the page .
> > > becouse i try the refreshing page way it reload the whole page
> all
> > > again and again
> > > thank you
> > > best regards
> > > mary mekhael
> > >
>
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: How can i show value that updates evey min on the WEB - mary_adly2003 - Oct 14 10:40:17 2008

i am doing my best belive me
but i still need your hints and help
if you dont mind
...
i read about frames and i conclude too that i need to have my SHTML
page included in the fram page but it keep giving me error so if you
alow me to send you all code i made in C and SHTML and you help me
with it i will be more then happy to see your modifications and learn
from it

thank you and
best regard
mary mekhael

--- In r...@yahoogroups.com, Steve Trigero
wrote:
>
> I told you that you needed separate files. I hope you pay better
attention in class.
>
> ----- Original Message ----
> From: mary_adly2003
> To: r...@yahoogroups.com
> Sent: Tuesday, October 14, 2008 6:47:32 AM
> Subject: [rabbit-semi] Re: How can i show value that updates evey
min on the WEB
> yes and the page in SHTML page
>
> --- In rabbit-semi@ yahoogroups. com, Steve Trigero

> wrote:
> >
> > You put all the code in one file?
> >
> >
> >
> > ----- Original Message ----
> > From: mary_adly2003
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Tuesday, October 14, 2008 5:32:30 AM
> > Subject: [rabbit-semi] Re: How can i show value that updates evey
> min on the WEB
> >
> >
> >
> > Dear
> > i realy appricate your effort so much,
> > but i tried to use your way but didnt work so may be i worte
> somthing
> > wrong ...so i copy paste my code so you take a look at it and
tell
> me
> > where did i made my mistake
> > besides i just remined you that i dont want the page to be
reloaded
> > or refreshed again becouse when i added
> >
> > >
> >
> > this code it refresh the whole page again :(
> > so you have any idea where is my mistake or how can i handel this
> > thank you for your effort so much
> > best regards
> > mary mekhael
> >
> >
> >
> >
> >
> >
> > > >
> >
> >
> >
> >
> >
> > > > frameborder= "0" scrolling="no" noresize>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
NameStatus
> >
Speed
Speed now
Speed low
Humidity< /td>
> >

> >
> >
> >
> >
> > --- In rabbit-semi@ yahoogroups. com, Steve Trigero
>
> > wrote:
> > >
> > > I can't write your code for you. You need to read up on frames,
if
> > > you're not familiar with them, and on javascript if you're not
> > > familiar with that either. But here are some tips.
> > >
> > > You need an html file defining your frames. And each frame will
> > > have its own html file. A frame is treated like a separate web
> page
> > > even though all the frames are displayed in the same browser
> > > window.
> > >
> > > In an application I did, my frames file looked like this:
> > >
> > > > > > "http://www.w3. org/TR/html4/ loose.dtd">
> > >
> > >
> > >
> > > Xicom Technology Web Interface
> > >
> > >
> > > > > frameborder= "0" scrolling="no" noresize>
> > > > > frameborder= "0" scrolling="no" >
> > > > > frameborder= "1" scrolling="yes" >
> > > > > frameborder= "0" scrolling="no" >
> > >
> > >
> > >
> > >
> > > Frame4 is the frame that's updated. The other frames are mainly
> > boilerplate stuff like company logos,
> > > static status parameters, etc.
> > >
> > > You'll notice that frame5 is the invisible frame, because the
> > frameset command defines its area in
> > > the brower window as zero. Meaning it's not displayed.
> > >
> > > Frame5 code looks like this.
> > >
> > > > > > "http://www.w3. org/TR/html4/ loose.dtd">
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > You'll notice that javascript function "UpdateStatus( )" gets
> called
> > each time the frame refreshes.
> > > Inside UpdateStatus functions in frame4 are called passing in
the
> > updated parameters.
> > >
> > > In frame4, these javascript functions would update the
displayed
> > parameters in the frame.
> > >
> > > To give you one example, one of the parameters is the Transmit
> > State. It's an input box defined as:
> > >
> > > > name="txState"
> > maxlength="8" size="6" readonly >
> > >
> > > In the javascript section of the html file, is this function
that
> > is called by frame5 to update this input box:
> > >
> > > function SetXmitState( xmState) {
> > > try {
> > > if (xmState == 0) {
> > > document.statusForm .txState. value = "Disabled";
> > > }
> > > else {
> > > document.statusForm .txState. value = "Enabled";
> > > }
> > > }
> > > catch (e) {
> > > alert("SetXmitState : " + e.name + ":" + e.message);
> > > }
> > > }
> > >
> > >
> > > Hope that helps.
> > >
> > > Steve
> > >
> > >
> > >
> > > ----- Original Message ----
> > > From: mary_adly2003
> > > To: rabbit-semi@ yahoogroups. com
> > > Sent: Friday, October 10, 2008 12:06:58 PM
> > > Subject: [rabbit-semi] Re: How can i show value that updates
evey
> > min on the WEB
> > >
> > >
> > > thank you for your replying
> > > wel my HTML page is SHTML page so ..you have nay idea of how
to
> > > write this code
> > > and here is my code below for the SHTML page:
> > > ------------ --------- --------- --------- --------- --------- -
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > > > setTimeout
> > > ("location.href= 'index.shtml' ",1000)>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
NameStatus
> > >
Speed
Speed now
Speed low
Humidity< /td>
> > >

> > >
> > >
> > >
> > > ------------ --------- --------- --------- --------- --------- -
> > >
> > > so can you help me in modifying in it ?
> > > thank you and best regards
> > > Mary Mekhael
> > >
> > > --- In rabbit-semi@ yahoogroups. com, Steve Trigero
> >
> > > wrote:
> > > >
> > > > One way of doing what you want is to create an invisible
frame
> > > > and have that frame refresh itself at whatever rate you need.
> > > > Then use javascript in the invisible frame to update the
> variable
> > (s)
> > > > in the visible frame(s) you want updated with each refresh.
> That
> > > > way you don't see the web page blinking all the time as it
> > reloads
> > > > the page.
> > > >
> > > > Steve
> > > >
> > > >
> > > >
> > > > ----- Original Message ----
> > > > From: mary_adly2003
> > > > To: rabbit-semi@ yahoogroups. com
> > > > Sent: Friday, October 10, 2008 11:08:04 AM
> > > > Subject: [rabbit-semi] How can i show value that updates evey
> min
> > > on the WEB
> > > >
> > > >
> > > > I made a code that have a varible that inceremmnt every min
so
> i
> > > need
> > > > that value to be shown in the web and it update it self
without
> > > > refreshing the page .
> > > > becouse i try the refreshing page way it reload the whole
page
> > all
> > > > again and again
> > > > thank you
> > > > best regards
> > > > mary mekhael
> > > >
> > >
>
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: How can i show value that updates evey min on the WEB - Jon - Oct 14 17:58:23 2008

Steve, that is really cool! I hadn't thought about a hidden frame.
I'll have to find an opportunity to give this a shot - the blinks
during refresh were bugging me.

Jon

--- In r...@yahoogroups.com, Steve Trigero wrote:
>
> I can't write your code for you. You need to read up on frames, if
> you're not familiar with them, and on javascript if you're not
> familiar with that either. But here are some tips.
>
> You need an html file defining your frames. And each frame will
> have its own html file. A frame is treated like a separate web page
> even though all the frames are displayed in the same browser
> window.
>
> In an application I did, my frames file looked like this:
>
> > "http://www.w3.org/TR/html4/loose.dtd">
>
>
>
> Xicom Technology Web Interface
>
>
> scrolling="no" noresize>
> scrolling="no" >
> scrolling="yes" >
> scrolling="no" >
>
>
> Frame4 is the frame that's updated. The other frames are mainly
boilerplate stuff like company logos,
> static status parameters, etc.
>
> You'll notice that frame5 is the invisible frame, because the
frameset command defines its area in
> the brower window as zero. Meaning it's not displayed.
>
> Frame5 code looks like this.
>
> > "http://www.w3.org/TR/html4/loose.dtd">
>
>
>
>
>
>
>
>
>
>
>
>
> You'll notice that javascript function "UpdateStatus()" gets called
each time the frame refreshes.
> Inside UpdateStatus functions in frame4 are called passing in the
updated parameters.
>
> In frame4, these javascript functions would update the displayed
parameters in the frame.
>
> To give you one example, one of the parameters is the Transmit
State. It's an input box defined as:
>
> maxlength="8" size="6" readonly > In the javascript section of the html file, is this function that is
called by frame5 to update this input box:
>
> function SetXmitState(xmState) {
> try {
> if (xmState == 0) {
> document.statusForm.txState.value = "Disabled";
> }
> else {
> document.statusForm.txState.value = "Enabled";
> }
> }
> catch (e) {
> alert("SetXmitState: " + e.name + ":" + e.message);
> }
> }
> Hope that helps.
>
> Steve
>
> ----- Original Message ----
> From: mary_adly2003
> To: r...@yahoogroups.com
> Sent: Friday, October 10, 2008 12:06:58 PM
> Subject: [rabbit-semi] Re: How can i show value that updates evey
min on the WEB
> thank you for your replying
> wel my HTML page is SHTML page so ..you have nay idea of how to
> write this code
> and here is my code below for the SHTML page:
> ------------ --------- --------- --------- --------- --------- -
>
>
>
> > ("location.href= 'index.shtml' ",1000)>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
NameStatus
>
Speed
Speed now
Speed low
Humidity< /td>
>

>
> ------------ --------- --------- --------- --------- --------- -
>
> so can you help me in modifying in it ?
> thank you and best regards
> Mary Mekhael
>
> --- In rabbit-semi@ yahoogroups. com, Steve Trigero
> wrote:
> >
> > One way of doing what you want is to create an invisible frame
> > and have that frame refresh itself at whatever rate you need.
> > Then use javascript in the invisible frame to update the variable(s)
> > in the visible frame(s) you want updated with each refresh. That
> > way you don't see the web page blinking all the time as it reloads
> > the page.
> >
> > Steve
> >
> >
> >
> > ----- Original Message ----
> > From: mary_adly2003
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Friday, October 10, 2008 11:08:04 AM
> > Subject: [rabbit-semi] How can i show value that updates evey min
> on the WEB
> >
> >
> > I made a code that have a varible that inceremmnt every min so i
> need
> > that value to be shown in the web and it update it self without
> > refreshing the page .
> > becouse i try the refreshing page way it reload the whole page all
> > again and again
> > thank you
> > best regards
> > mary mekhael
>
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )

Re: How can i show value that updates evey min on the WEB - mary_adly2003 - Oct 15 10:46:11 2008

i finaly made it and it works :)))
thank you so much
have a great day
--- In r...@yahoogroups.com, Steve Trigero
wrote:
>
> I told you that you needed separate files. I hope you pay better
attention in class.
>
> ----- Original Message ----
> From: mary_adly2003
> To: r...@yahoogroups.com
> Sent: Tuesday, October 14, 2008 6:47:32 AM
> Subject: [rabbit-semi] Re: How can i show value that updates evey
min on the WEB
> yes and the page in SHTML page
>
> --- In rabbit-semi@ yahoogroups. com, Steve Trigero

> wrote:
> >
> > You put all the code in one file?
> >
> >
> >
> > ----- Original Message ----
> > From: mary_adly2003
> > To: rabbit-semi@ yahoogroups. com
> > Sent: Tuesday, October 14, 2008 5:32:30 AM
> > Subject: [rabbit-semi] Re: How can i show value that updates evey
> min on the WEB
> >
> >
> >
> > Dear
> > i realy appricate your effort so much,
> > but i tried to use your way but didnt work so may be i worte
> somthing
> > wrong ...so i copy paste my code so you take a look at it and
tell
> me
> > where did i made my mistake
> > besides i just remined you that i dont want the page to be
reloaded
> > or refreshed again becouse when i added
> >
> > >
> >
> > this code it refresh the whole page again :(
> > so you have any idea where is my mistake or how can i handel this
> > thank you for your effort so much
> > best regards
> > mary mekhael
> >
> >
> >
> >
> >
> >
> > > >
> >
> >
> >
> >
> >
> > > > frameborder= "0" scrolling="no" noresize>
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
NameStatus
> >
Speed
Speed now
Speed low
Humidity< /td>
> >

> >
> >
> >
> >
> > --- In rabbit-semi@ yahoogroups. com, Steve Trigero
>
> > wrote:
> > >
> > > I can't write your code for you. You need to read up on frames,
if
> > > you're not familiar with them, and on javascript if you're not
> > > familiar with that either. But here are some tips.
> > >
> > > You need an html file defining your frames. And each frame will
> > > have its own html file. A frame is treated like a separate web
> page
> > > even though all the frames are displayed in the same browser
> > > window.
> > >
> > > In an application I did, my frames file looked like this:
> > >
> > > > > > "http://www.w3. org/TR/html4/ loose.dtd">
> > >
> > >
> > >
> > > Xicom Technology Web Interface
> > >
> > >
> > > > > frameborder= "0" scrolling="no" noresize>
> > > > > frameborder= "0" scrolling="no" >
> > > > > frameborder= "1" scrolling="yes" >
> > > > > frameborder= "0" scrolling="no" >
> > >
> > >
> > >
> > >
> > > Frame4 is the frame that's updated. The other frames are mainly
> > boilerplate stuff like company logos,
> > > static status parameters, etc.
> > >
> > > You'll notice that frame5 is the invisible frame, because the
> > frameset command defines its area in
> > > the brower window as zero. Meaning it's not displayed.
> > >
> > > Frame5 code looks like this.
> > >
> > > > > > "http://www.w3. org/TR/html4/ loose.dtd">
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > You'll notice that javascript function "UpdateStatus( )" gets
> called
> > each time the frame refreshes.
> > > Inside UpdateStatus functions in frame4 are called passing in
the
> > updated parameters.
> > >
> > > In frame4, these javascript functions would update the
displayed
> > parameters in the frame.
> > >
> > > To give you one example, one of the parameters is the Transmit
> > State. It's an input box defined as:
> > >
> > > > name="txState"
> > maxlength="8" size="6" readonly >
> > >
> > > In the javascript section of the html file, is this function
that
> > is called by frame5 to update this input box:
> > >
> > > function SetXmitState( xmState) {
> > > try {
> > > if (xmState == 0) {
> > > document.statusForm .txState. value = "Disabled";
> > > }
> > > else {
> > > document.statusForm .txState. value = "Enabled";
> > > }
> > > }
> > > catch (e) {
> > > alert("SetXmitState : " + e.name + ":" + e.message);
> > > }
> > > }
> > >
> > >
> > > Hope that helps.
> > >
> > > Steve
> > >
> > >
> > >
> > > ----- Original Message ----
> > > From: mary_adly2003
> > > To: rabbit-semi@ yahoogroups. com
> > > Sent: Friday, October 10, 2008 12:06:58 PM
> > > Subject: [rabbit-semi] Re: How can i show value that updates
evey
> > min on the WEB
> > >
> > >
> > > thank you for your replying
> > > wel my HTML page is SHTML page so ..you have nay idea of how
to
> > > write this code
> > > and here is my code below for the SHTML page:
> > > ------------ --------- --------- --------- --------- --------- -
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > > > setTimeout
> > > ("location.href= 'index.shtml' ",1000)>
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
NameStatus
> > >
Speed
Speed now
Speed low
Humidity< /td>
> > >

> > >
> > >
> > >
> > > ------------ --------- --------- --------- --------- --------- -
> > >
> > > so can you help me in modifying in it ?
> > > thank you and best regards
> > > Mary Mekhael
> > >
> > > --- In rabbit-semi@ yahoogroups. com, Steve Trigero
> >
> > > wrote:
> > > >
> > > > One way of doing what you want is to create an invisible
frame
> > > > and have that frame refresh itself at whatever rate you need.
> > > > Then use javascript in the invisible frame to update the
> variable
> > (s)
> > > > in the visible frame(s) you want updated with each refresh.
> That
> > > > way you don't see the web page blinking all the time as it
> > reloads
> > > > the page.
> > > >
> > > > Steve
> > > >
> > > >
> > > >
> > > > ----- Original Message ----
> > > > From: mary_adly2003
> > > > To: rabbit-semi@ yahoogroups. com
> > > > Sent: Friday, October 10, 2008 11:08:04 AM
> > > > Subject: [rabbit-semi] How can i show value that updates evey
> min
> > > on the WEB
> > > >
> > > >
> > > > I made a code that have a varible that inceremmnt every min
so
> i
> > > need
> > > > that value to be shown in the web and it update it self
without
> > > > refreshing the page .
> > > > becouse i try the refreshing page way it reload the whole
page
> > all
> > > > again and again
> > > > thank you
> > > > best regards
> > > > mary mekhael
> > > >
> > >
>
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )