|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Frames and such.
I have a problem using frames.
I have my initial login page setting up the frameset. I have two frames, one is the main screen, the other a background frame that is hidden. The background frame I use to do calculations and such to update fields in the visible frame. The problem I am having now is that the hidden frame doesn't seem to thing that there is another frame. It returns an error. frame names are 'mainFrame' and 'hidden' I have changed the rows to be 90,10 so that I can visibly see that the page has two frames. And it does. I can display a new page in the hidden frame, but it won't allow me to update the fields in the mainFrame. I am using top.mainFrame.document.form.txtSize.value = some calculated value to change the value. From the mainFrame, I can top.document.hidden.location="blah.cfm" and it will redirect the hidden frame to that page. But that page contains the top.mainFrame.document.formname.txtSize.value statement...the error is because top.mainFrame.document.formname is Null or invalid I am wondering if this is a common frames problem and I just did something stupid, or if I need to do something else to get it to work. Is there a way to display what frames you have when the page loads? Sort of like a dump? Any help is appreciated. Thanks in advance. |
|
#2
|
||||
|
||||
|
Why not ditch frames and use js to do the calculations?
__________________
Please don't PM me asking for solutions outside the scope of a thread. Keeping all responses in a thread stands to help others who come along later, which is after all what this forum's all about. |
|
#3
|
|||
|
|||
|
The main reason was that I am doing Cold Fusion, and I needed a query for the javascript.
But for this specific page, I think I can get away with not using a frame. So I'll try a work-around for now. Thanks. Shawn. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Frames and such. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|