please can someone help me get the total cost figure where I want it.

the far right table is the hiddenprintpage, this is where I want the total
shown (TOTALCOST)
the total is in the top left table, this is the figure I want shown in the
hiddenprintpage, indicated by the (TOTALCOST)

I have tried to use the <div> method but can not seem to get it to work.

thanks for your help.

Re: need to make use of a DIV tag twice, but in different tables by Help

Help
Mon Jun 06 14:10:50 CDT 2005

www.roundshaw.co.uk/favor/customer

"Help !!" <.> wrote in message
news:%23hdiRrsaFHA.740@tk2msftngp13.phx.gbl...
> please can someone help me get the total cost figure where I want it.
>
> the far right table is the hiddenprintpage, this is where I want the total
> shown (TOTALCOST)
> the total is in the top left table, this is the figure I want shown in the
> hiddenprintpage, indicated by the (TOTALCOST)
>
> I have tried to use the <div> method but can not seem to get it to work.
>
> thanks for your help.
>
>
>
>



Re: need to make use of a DIV tag twice, but in different tables by Stefan

Stefan
Tue Jun 07 04:14:50 CDT 2005

1) You can't use the FP form handler to pass results to other windows (each frame/iframe is a window)
2) For passing form data to windows see http://irt.org/script/form.htm#10.3

PS
remove all spaces from all file/folder names - breaks your links and scripts

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Help !!" <.> wrote in message news:e8pu1tsaFHA.2996@TK2MSFTNGP10.phx.gbl...
| www.roundshaw.co.uk/favor/customer
|
| "Help !!" <.> wrote in message
| news:%23hdiRrsaFHA.740@tk2msftngp13.phx.gbl...
| > please can someone help me get the total cost figure where I want it.
| >
| > the far right table is the hiddenprintpage, this is where I want the total
| > shown (TOTALCOST)
| > the total is in the top left table, this is the figure I want shown in the
| > hiddenprintpage, indicated by the (TOTALCOST)
| >
| > I have tried to use the <div> method but can not seem to get it to work.
| >
| > thanks for your help.
| >
| >
| >
| >
|
|



Re: need to make use of a DIV tag twice, but in different tables by Help

Help
Tue Jun 07 07:05:21 CDT 2005

I have a page called index.htm that has the tables and iframes and inline
pages.
I have a script that is called gettotal.js and is called from within two of
the iframes/ tables,
in the last inline page I am wanting to use the variable 'total' that was
set in this script (gettotal.js)

how can I do this?




"Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
news:eRYcUE0aFHA.3280@TK2MSFTNGP12.phx.gbl...
> 1) You can't use the FP form handler to pass results to other windows
> (each frame/iframe is a window)
> 2) For passing form data to windows see
> http://irt.org/script/form.htm#10.3
>
> PS
> remove all spaces from all file/folder names - breaks your links and
> scripts
>
> --
>
> _____________________________________________
> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
> "Warning - Using the F1 Key will not break anything!" (-;
> To find the best Newsgroup for FrontPage support see:
> http://www.net-sites.com/sitebuilder/newsgroups.asp
> _____________________________________________
>
>
> "Help !!" <.> wrote in message
> news:e8pu1tsaFHA.2996@TK2MSFTNGP10.phx.gbl...
> | www.roundshaw.co.uk/favor/customer
> |
> | "Help !!" <.> wrote in message
> | news:%23hdiRrsaFHA.740@tk2msftngp13.phx.gbl...
> | > please can someone help me get the total cost figure where I want it.
> | >
> | > the far right table is the hiddenprintpage, this is where I want the
> total
> | > shown (TOTALCOST)
> | > the total is in the top left table, this is the figure I want shown in
> the
> | > hiddenprintpage, indicated by the (TOTALCOST)
> | >
> | > I have tried to use the <div> method but can not seem to get it to
> work.
> | >
> | > thanks for your help.
> | >
> | >
> | >
> | >
> |
> |
>
>



Re: need to make use of a DIV tag twice, but in different tables by Kevin

Kevin
Tue Jun 07 07:20:04 CDT 2005

As long as the variable is declared outside of a function, it will be
available to the entire page and all scripts/functions n it.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Ambiguity has a certain quality to it.

"Help !!" <.> wrote in message
news:%23qCEvk1aFHA.1660@tk2msftngp13.phx.gbl...
>I have a page called index.htm that has the tables and iframes and inline
>pages.
> I have a script that is called gettotal.js and is called from within two
> of the iframes/ tables,
> in the last inline page I am wanting to use the variable 'total' that was
> set in this script (gettotal.js)
>
> how can I do this?
>
>
>
>
> "Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
> news:eRYcUE0aFHA.3280@TK2MSFTNGP12.phx.gbl...
>> 1) You can't use the FP form handler to pass results to other windows
>> (each frame/iframe is a window)
>> 2) For passing form data to windows see
>> http://irt.org/script/form.htm#10.3
>>
>> PS
>> remove all spaces from all file/folder names - breaks your links and
>> scripts
>>
>> --
>>
>> _____________________________________________
>> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
>> "Warning - Using the F1 Key will not break anything!" (-;
>> To find the best Newsgroup for FrontPage support see:
>> http://www.net-sites.com/sitebuilder/newsgroups.asp
>> _____________________________________________
>>
>>
>> "Help !!" <.> wrote in message
>> news:e8pu1tsaFHA.2996@TK2MSFTNGP10.phx.gbl...
>> | www.roundshaw.co.uk/favor/customer
>> |
>> | "Help !!" <.> wrote in message
>> | news:%23hdiRrsaFHA.740@tk2msftngp13.phx.gbl...
>> | > please can someone help me get the total cost figure where I want it.
>> | >
>> | > the far right table is the hiddenprintpage, this is where I want the
>> total
>> | > shown (TOTALCOST)
>> | > the total is in the top left table, this is the figure I want shown
>> in the
>> | > hiddenprintpage, indicated by the (TOTALCOST)
>> | >
>> | > I have tried to use the <div> method but can not seem to get it to
>> work.
>> | >
>> | > thanks for your help.
>> | >
>> | >
>> | >
>> | >
>> |
>> |
>>
>>
>
>



Re: need to make use of a DIV tag twice, but in different tables by Help

Help
Tue Jun 07 11:08:27 CDT 2005

my variable is used inside the gettotal.js script that has been called
within one of the iframes, so it is inside a function. :-(

ok, how can i use the information in a form field in another .htm file which
is in one of the inline frames contained in the index.htm file.

i have the line

parent.totalcostcell.document.getElementById('theTotal').innerHTML =
adddecimal(ctotal/100);
which is in a function .js file this script also copies the value of the sum
that has been done to a table called totalcostcell, which is in one of the
tables within the index.htm file.
in one of the other tables in this index file i have an inline frame that
has the printorderpage.htm file, in this file the variable show print this
total value with the order made, but it does not work.

i can get it to have the total in the table in the top left hand box of the
index page but i can not get the total value to show when the table is
within another .htm file which is shown in the index table as a inline
frame.

this link shows you the page i am talking about.
www.roundshaw.co.uk/favor/customer
i am trying to get the total value to show where the '!!' are shown in the
far right side of the page.

thanks for your help.

Jason



"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
news:%23OLb9s1aFHA.2996@TK2MSFTNGP10.phx.gbl...
> As long as the variable is declared outside of a function, it will be
> available to the entire page and all scripts/functions n it.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> Ambiguity has a certain quality to it.
>
> "Help !!" <.> wrote in message
> news:%23qCEvk1aFHA.1660@tk2msftngp13.phx.gbl...
>>I have a page called index.htm that has the tables and iframes and inline
>>pages.
>> I have a script that is called gettotal.js and is called from within two
>> of the iframes/ tables,
>> in the last inline page I am wanting to use the variable 'total' that was
>> set in this script (gettotal.js)
>>
>> how can I do this?
>>
>>
>>
>>
>> "Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
>> news:eRYcUE0aFHA.3280@TK2MSFTNGP12.phx.gbl...
>>> 1) You can't use the FP form handler to pass results to other windows
>>> (each frame/iframe is a window)
>>> 2) For passing form data to windows see
>>> http://irt.org/script/form.htm#10.3
>>>
>>> PS
>>> remove all spaces from all file/folder names - breaks your links and
>>> scripts
>>>
>>> --
>>>
>>> _____________________________________________
>>> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
>>> "Warning - Using the F1 Key will not break anything!" (-;
>>> To find the best Newsgroup for FrontPage support see:
>>> http://www.net-sites.com/sitebuilder/newsgroups.asp
>>> _____________________________________________
>>>
>>>
>>> "Help !!" <.> wrote in message
>>> news:e8pu1tsaFHA.2996@TK2MSFTNGP10.phx.gbl...
>>> | www.roundshaw.co.uk/favor/customer
>>> |
>>> | "Help !!" <.> wrote in message
>>> | news:%23hdiRrsaFHA.740@tk2msftngp13.phx.gbl...
>>> | > please can someone help me get the total cost figure where I want
>>> it.
>>> | >
>>> | > the far right table is the hiddenprintpage, this is where I want the
>>> total
>>> | > shown (TOTALCOST)
>>> | > the total is in the top left table, this is the figure I want shown
>>> in the
>>> | > hiddenprintpage, indicated by the (TOTALCOST)
>>> | >
>>> | > I have tried to use the <div> method but can not seem to get it to
>>> work.
>>> | >
>>> | > thanks for your help.
>>> | >
>>> | >
>>> | >
>>> | >
>>> |
>>> |
>>>
>>>
>>
>>
>
>



Re: need to make use of a DIV tag twice, but in different tables by Kevin

Kevin
Tue Jun 07 11:54:13 CDT 2005

All JavaScript is inside a script. Not all JavaScript is inside a function.
And regardless, it can be moved outside a function if it is inside one.

--
HTH,

Kevin Spencer
Microsoft MVP
.Net Developer
Ambiguity has a certain quality to it.

"Help !!" <.> wrote in message news:Op2Vi13aFHA.2876@TK2MSFTNGP09.phx.gbl...
> my variable is used inside the gettotal.js script that has been called
> within one of the iframes, so it is inside a function. :-(
>
> ok, how can i use the information in a form field in another .htm file
> which is in one of the inline frames contained in the index.htm file.
>
> i have the line
>
> parent.totalcostcell.document.getElementById('theTotal').innerHTML =
> adddecimal(ctotal/100);
> which is in a function .js file this script also copies the value of the
> sum that has been done to a table called totalcostcell, which is in one of
> the tables within the index.htm file.
> in one of the other tables in this index file i have an inline frame that
> has the printorderpage.htm file, in this file the variable show print this
> total value with the order made, but it does not work.
>
> i can get it to have the total in the table in the top left hand box of
> the index page but i can not get the total value to show when the table is
> within another .htm file which is shown in the index table as a inline
> frame.
>
> this link shows you the page i am talking about.
> www.roundshaw.co.uk/favor/customer
> i am trying to get the total value to show where the '!!' are shown in
> the far right side of the page.
>
> thanks for your help.
>
> Jason
>
>
>
> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
> news:%23OLb9s1aFHA.2996@TK2MSFTNGP10.phx.gbl...
>> As long as the variable is declared outside of a function, it will be
>> available to the entire page and all scripts/functions n it.
>>
>> --
>> HTH,
>>
>> Kevin Spencer
>> Microsoft MVP
>> .Net Developer
>> Ambiguity has a certain quality to it.
>>
>> "Help !!" <.> wrote in message
>> news:%23qCEvk1aFHA.1660@tk2msftngp13.phx.gbl...
>>>I have a page called index.htm that has the tables and iframes and inline
>>>pages.
>>> I have a script that is called gettotal.js and is called from within two
>>> of the iframes/ tables,
>>> in the last inline page I am wanting to use the variable 'total' that
>>> was set in this script (gettotal.js)
>>>
>>> how can I do this?
>>>
>>>
>>>
>>>
>>> "Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
>>> news:eRYcUE0aFHA.3280@TK2MSFTNGP12.phx.gbl...
>>>> 1) You can't use the FP form handler to pass results to other windows
>>>> (each frame/iframe is a window)
>>>> 2) For passing form data to windows see
>>>> http://irt.org/script/form.htm#10.3
>>>>
>>>> PS
>>>> remove all spaces from all file/folder names - breaks your links and
>>>> scripts
>>>>
>>>> --
>>>>
>>>> _____________________________________________
>>>> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
>>>> "Warning - Using the F1 Key will not break anything!" (-;
>>>> To find the best Newsgroup for FrontPage support see:
>>>> http://www.net-sites.com/sitebuilder/newsgroups.asp
>>>> _____________________________________________
>>>>
>>>>
>>>> "Help !!" <.> wrote in message
>>>> news:e8pu1tsaFHA.2996@TK2MSFTNGP10.phx.gbl...
>>>> | www.roundshaw.co.uk/favor/customer
>>>> |
>>>> | "Help !!" <.> wrote in message
>>>> | news:%23hdiRrsaFHA.740@tk2msftngp13.phx.gbl...
>>>> | > please can someone help me get the total cost figure where I want
>>>> it.
>>>> | >
>>>> | > the far right table is the hiddenprintpage, this is where I want
>>>> the total
>>>> | > shown (TOTALCOST)
>>>> | > the total is in the top left table, this is the figure I want shown
>>>> in the
>>>> | > hiddenprintpage, indicated by the (TOTALCOST)
>>>> | >
>>>> | > I have tried to use the <div> method but can not seem to get it to
>>>> work.
>>>> | >
>>>> | > thanks for your help.
>>>> | >
>>>> | >
>>>> | >
>>>> | >
>>>> |
>>>> |
>>>>
>>>>
>>>
>>>
>>
>>
>
>



Re: need to make use of a DIV tag twice, but in different tables by Help

Help
Tue Jun 07 12:27:57 CDT 2005

have you looked at the page?

if not please take a look as this might help explain what i mean by the
inline frames and table.

or this might help..



i have a index.htm file with a table split into 3.

one table is called totalcostcell and has a <div id="theTotal"></div> in it
to show the total.

another table has an inline frame that is called orderpage. this contains
the file favororderpage.htm

and a third table also has an inline frame and is called printpage. this
conatins the file printorderpage.htm

the orderpage has pulldown menus that the customer selectes their order
from, when these are changed a call to a file called, gettotal.js (which is
in the same folder as the other .htm files i mention) is made, using
onchange=gettotal() method.

the gettotal.js function adds the order up and displays the total in the
form, and also displays the total cost in the totalcostcell using the div
method.

the printpage has the order that is being made.
it should display the total cost too, but does not. i have tried to use the
div method and tried the document.write(ctotal); and it wont work.

how do i get the total to display in the printpage?

thank you.







"Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
news:%23$j9JG4aFHA.1040@TK2MSFTNGP10.phx.gbl...
> All JavaScript is inside a script. Not all JavaScript is inside a
> function. And regardless, it can be moved outside a function if it is
> inside one.
>
> --
> HTH,
>
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> Ambiguity has a certain quality to it.
>
> "Help !!" <.> wrote in message
> news:Op2Vi13aFHA.2876@TK2MSFTNGP09.phx.gbl...
>> my variable is used inside the gettotal.js script that has been called
>> within one of the iframes, so it is inside a function. :-(
>>
>> ok, how can i use the information in a form field in another .htm file
>> which is in one of the inline frames contained in the index.htm file.
>>
>> i have the line
>>
>> parent.totalcostcell.document.getElementById('theTotal').innerHTML =
>> adddecimal(ctotal/100);
>> which is in a function .js file this script also copies the value of the
>> sum that has been done to a table called totalcostcell, which is in one
>> of the tables within the index.htm file.
>> in one of the other tables in this index file i have an inline frame that
>> has the printorderpage.htm file, in this file the variable show print
>> this total value with the order made, but it does not work.
>>
>> i can get it to have the total in the table in the top left hand box of
>> the index page but i can not get the total value to show when the table
>> is within another .htm file which is shown in the index table as a inline
>> frame.
>>
>> this link shows you the page i am talking about.
>> www.roundshaw.co.uk/favor/customer
>> i am trying to get the total value to show where the '!!' are shown in
>> the far right side of the page.
>>
>> thanks for your help.
>>
>> Jason
>>
>>
>>
>> "Kevin Spencer" <kevin@DIESPAMMERSDIEtakempis.com> wrote in message
>> news:%23OLb9s1aFHA.2996@TK2MSFTNGP10.phx.gbl...
>>> As long as the variable is declared outside of a function, it will be
>>> available to the entire page and all scripts/functions n it.
>>>
>>> --
>>> HTH,
>>>
>>> Kevin Spencer
>>> Microsoft MVP
>>> .Net Developer
>>> Ambiguity has a certain quality to it.
>>>
>>> "Help !!" <.> wrote in message
>>> news:%23qCEvk1aFHA.1660@tk2msftngp13.phx.gbl...
>>>>I have a page called index.htm that has the tables and iframes and
>>>>inline pages.
>>>> I have a script that is called gettotal.js and is called from within
>>>> two of the iframes/ tables,
>>>> in the last inline page I am wanting to use the variable 'total' that
>>>> was set in this script (gettotal.js)
>>>>
>>>> how can I do this?
>>>>
>>>>
>>>>
>>>>
>>>> "Stefan B Rusynko" <sbr_enjoy@hotmail.com> wrote in message
>>>> news:eRYcUE0aFHA.3280@TK2MSFTNGP12.phx.gbl...
>>>>> 1) You can't use the FP form handler to pass results to other windows
>>>>> (each frame/iframe is a window)
>>>>> 2) For passing form data to windows see
>>>>> http://irt.org/script/form.htm#10.3
>>>>>
>>>>> PS
>>>>> remove all spaces from all file/folder names - breaks your links and
>>>>> scripts
>>>>>
>>>>> --
>>>>>
>>>>> _____________________________________________
>>>>> SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
>>>>> "Warning - Using the F1 Key will not break anything!" (-;
>>>>> To find the best Newsgroup for FrontPage support see:
>>>>> http://www.net-sites.com/sitebuilder/newsgroups.asp
>>>>> _____________________________________________
>>>>>
>>>>>
>>>>> "Help !!" <.> wrote in message
>>>>> news:e8pu1tsaFHA.2996@TK2MSFTNGP10.phx.gbl...
>>>>> | www.roundshaw.co.uk/favor/customer
>>>>> |
>>>>> | "Help !!" <.> wrote in message
>>>>> | news:%23hdiRrsaFHA.740@tk2msftngp13.phx.gbl...
>>>>> | > please can someone help me get the total cost figure where I want
>>>>> it.
>>>>> | >
>>>>> | > the far right table is the hiddenprintpage, this is where I want
>>>>> the total
>>>>> | > shown (TOTALCOST)
>>>>> | > the total is in the top left table, this is the figure I want
>>>>> shown in the
>>>>> | > hiddenprintpage, indicated by the (TOTALCOST)
>>>>> | >
>>>>> | > I have tried to use the <div> method but can not seem to get it
>>>>> to work.
>>>>> | >
>>>>> | > thanks for your help.
>>>>> | >
>>>>> | >
>>>>> | >
>>>>> | >
>>>>> |
>>>>> |
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>