Re: REPOST: Question on Frames within Tiles
IE on mac used the same dom as standard frames. Although I imagine that you can use getElementById for IE 6 as well as other browsers. document.all is a legacy dom from ie4 , if you're support NS4 then you can use a div and load content into that and drill using document.layers["mydiv"]. The extra work required for ns4 will probably make it an undesirable activity to engage in, as you may also need to sniff the width and height of the window and then position where the display area (iframe) should be. There's also a reload issue with ns4 where you need to reload when users change window sizes. Most punks you see site building these days seem to think that only supporting IE6 is okay, even though its marred client-side development with its support for poorly formed html. getElementById is probably the best way to support mozilla, ie5+, safari to name a few. document.all support in ie6 i imagine is legacy support. Cheers Mark On 5 Feb 2004, at 22:26, Anand Patil wrote: I have done this in Internet Explorer. From any frame you can get reference to any frame using 'window.top.document.all.'. once you get reference to the iframe , I think you can get reference to the document in it and then the from inside that document. Look @ microsoft's DHTML reference for IFRAME : http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/ iframe .asp. ONCE AGAIN, I HAVE TESTED THIS ONLY WITH INTERNET EXPLORER v 6.0 Good Luck Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 1:03 PM To: 'Struts Users Mailing List' Subject: RE: REPOST: Question on Frames within Tiles Thanks so much. will try it out. However there is another issue. How do u communicate between these iframes. For example I have a footer tile that has some control buttons. When I click on one buton, I need to submit the form associated with one of these iframes. -Original Message- From: Anand Patil [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 2:27 PM To: Struts Users Mailing List Subject: RE: REPOST: Question on Frames within Tiles Have to tried using IFRAME instead of FRAMEs... IFRAME will do the trick Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 10:08 AM To: 'Struts Users Mailing List' Subject: REPOST: Question on Frames within Tiles Any suggestions please. Am desperate at this point. Can framesets even be loaded from tiles? -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:16 PM To: '[EMAIL PROTECTED]' Subject: Question on Frames within Tiles Is there a good place/article/sample code to check out, for mixing framesets and tiles. The App that I am working on seems to need to use both. Basically, we have to display content such that there are 2 frames, the left one showing some text, while the right one accepts user input. Both these also need to be scrollable separately. My intention is to somehow include these frames within a Body tile. The other issue is that there is also a footer tile, which might need to include a frameset. The reason being the the control buttons need to always be visible(without having to scroll to view them). Here is what i tried: Layout used for the Body: quiz actually has a value in the tile-defs that points to the quizcontent.jsp shown below: The problem with this is that the "/practicequizzes/quiz.jsp" is never actually sourced and I just see nothing in the body tile. Thanks, Shitij Mutreja Shitij Mutreja The College Board 11911 Freedom Drive, Suite 300 Reston, VA 20190 571.262.5701 (Phone) 703.707.5596 (Fax) [EMAIL PROTECTED] http://www.collegeboard.com/highered/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: REPOST: Question on Frames within Tiles
Make the submitting form's target="_top" Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 2:08 PM To: 'Struts Users Mailing List' Subject: RE: REPOST: Question on Frames within Tiles fantastic, the iframes seem to work. One further question though. the response to the form being submitted, is that the struts action class forwards to a tile definition. The problem is that the result just displays within the frame that is submitted. I was hoping that the entire page is replaced with the response. any suggestions?? thanks again. -Original Message- From: Anand Patil [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 4:26 PM To: Struts Users Mailing List Subject: RE: REPOST: Question on Frames within Tiles I have done this in Internet Explorer. From any frame you can get reference to any frame using 'window.top.document.all.'. once you get reference to the iframe , I think you can get reference to the document in it and then the from inside that document. Look @ microsoft's DHTML reference for IFRAME : http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/iframe .asp. ONCE AGAIN, I HAVE TESTED THIS ONLY WITH INTERNET EXPLORER v 6.0 Good Luck Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 1:03 PM To: 'Struts Users Mailing List' Subject: RE: REPOST: Question on Frames within Tiles Thanks so much. will try it out. However there is another issue. How do u communicate between these iframes. For example I have a footer tile that has some control buttons. When I click on one buton, I need to submit the form associated with one of these iframes. -Original Message- From: Anand Patil [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 2:27 PM To: Struts Users Mailing List Subject: RE: REPOST: Question on Frames within Tiles Have to tried using IFRAME instead of FRAMEs... IFRAME will do the trick Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 10:08 AM To: 'Struts Users Mailing List' Subject: REPOST: Question on Frames within Tiles Any suggestions please. Am desperate at this point. Can framesets even be loaded from tiles? -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:16 PM To: '[EMAIL PROTECTED]' Subject: Question on Frames within Tiles Is there a good place/article/sample code to check out, for mixing framesets and tiles. The App that I am working on seems to need to use both. Basically, we have to display content such that there are 2 frames, the left one showing some text, while the right one accepts user input. Both these also need to be scrollable separately. My intention is to somehow include these frames within a Body tile. The other issue is that there is also a footer tile, which might need to include a frameset. The reason being the the control buttons need to always be visible(without having to scroll to view them). Here is what i tried: Layout used for the Body: quiz actually has a value in the tile-defs that points to the quizcontent.jsp shown below: The problem with this is that the "/practicequizzes/quiz.jsp" is never actually sourced and I just see nothing in the body tile. Thanks, Shitij Mutreja Shitij Mutreja The College Board 11911 Freedom Drive, Suite 300 Reston, VA 20190 571.262.5701 (Phone) 703.707.5596 (Fax) [EMAIL PROTECTED] http://www.collegeboard.com/highered/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: REPOST: Question on Frames within Tiles
fantastic, the iframes seem to work. One further question though. the response to the form being submitted, is that the struts action class forwards to a tile definition. The problem is that the result just displays within the frame that is submitted. I was hoping that the entire page is replaced with the response. any suggestions?? thanks again. -Original Message- From: Anand Patil [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 4:26 PM To: Struts Users Mailing List Subject: RE: REPOST: Question on Frames within Tiles I have done this in Internet Explorer. From any frame you can get reference to any frame using 'window.top.document.all.'. once you get reference to the iframe , I think you can get reference to the document in it and then the from inside that document. Look @ microsoft's DHTML reference for IFRAME : http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/iframe .asp. ONCE AGAIN, I HAVE TESTED THIS ONLY WITH INTERNET EXPLORER v 6.0 Good Luck Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 1:03 PM To: 'Struts Users Mailing List' Subject: RE: REPOST: Question on Frames within Tiles Thanks so much. will try it out. However there is another issue. How do u communicate between these iframes. For example I have a footer tile that has some control buttons. When I click on one buton, I need to submit the form associated with one of these iframes. -Original Message- From: Anand Patil [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 2:27 PM To: Struts Users Mailing List Subject: RE: REPOST: Question on Frames within Tiles Have to tried using IFRAME instead of FRAMEs... IFRAME will do the trick Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 10:08 AM To: 'Struts Users Mailing List' Subject: REPOST: Question on Frames within Tiles Any suggestions please. Am desperate at this point. Can framesets even be loaded from tiles? -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:16 PM To: '[EMAIL PROTECTED]' Subject: Question on Frames within Tiles Is there a good place/article/sample code to check out, for mixing framesets and tiles. The App that I am working on seems to need to use both. Basically, we have to display content such that there are 2 frames, the left one showing some text, while the right one accepts user input. Both these also need to be scrollable separately. My intention is to somehow include these frames within a Body tile. The other issue is that there is also a footer tile, which might need to include a frameset. The reason being the the control buttons need to always be visible(without having to scroll to view them). Here is what i tried: Layout used for the Body: quiz actually has a value in the tile-defs that points to the quizcontent.jsp shown below: The problem with this is that the "/practicequizzes/quiz.jsp" is never actually sourced and I just see nothing in the body tile. Thanks, Shitij Mutreja Shitij Mutreja The College Board 11911 Freedom Drive, Suite 300 Reston, VA 20190 571.262.5701 (Phone) 703.707.5596 (Fax) [EMAIL PROTECTED] http://www.collegeboard.com/highered/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: REPOST: Question on Frames within Tiles
I have done this in Internet Explorer. From any frame you can get reference to any frame using 'window.top.document.all.'. once you get reference to the iframe , I think you can get reference to the document in it and then the from inside that document. Look @ microsoft's DHTML reference for IFRAME : http://msdn.microsoft.com/workshop/author/dhtml/reference/objects/iframe .asp. ONCE AGAIN, I HAVE TESTED THIS ONLY WITH INTERNET EXPLORER v 6.0 Good Luck Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 1:03 PM To: 'Struts Users Mailing List' Subject: RE: REPOST: Question on Frames within Tiles Thanks so much. will try it out. However there is another issue. How do u communicate between these iframes. For example I have a footer tile that has some control buttons. When I click on one buton, I need to submit the form associated with one of these iframes. -Original Message- From: Anand Patil [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 2:27 PM To: Struts Users Mailing List Subject: RE: REPOST: Question on Frames within Tiles Have to tried using IFRAME instead of FRAMEs... IFRAME will do the trick Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 10:08 AM To: 'Struts Users Mailing List' Subject: REPOST: Question on Frames within Tiles Any suggestions please. Am desperate at this point. Can framesets even be loaded from tiles? -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:16 PM To: '[EMAIL PROTECTED]' Subject: Question on Frames within Tiles Is there a good place/article/sample code to check out, for mixing framesets and tiles. The App that I am working on seems to need to use both. Basically, we have to display content such that there are 2 frames, the left one showing some text, while the right one accepts user input. Both these also need to be scrollable separately. My intention is to somehow include these frames within a Body tile. The other issue is that there is also a footer tile, which might need to include a frameset. The reason being the the control buttons need to always be visible(without having to scroll to view them). Here is what i tried: Layout used for the Body: quiz actually has a value in the tile-defs that points to the quizcontent.jsp shown below: The problem with this is that the "/practicequizzes/quiz.jsp" is never actually sourced and I just see nothing in the body tile. Thanks, Shitij Mutreja Shitij Mutreja The College Board 11911 Freedom Drive, Suite 300 Reston, VA 20190 571.262.5701 (Phone) 703.707.5596 (Fax) [EMAIL PROTECTED] http://www.collegeboard.com/highered/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: REPOST: Question on Frames within Tiles
Thanks so much. will try it out. However there is another issue. How do u communicate between these iframes. For example I have a footer tile that has some control buttons. When I click on one buton, I need to submit the form associated with one of these iframes. -Original Message- From: Anand Patil [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 2:27 PM To: Struts Users Mailing List Subject: RE: REPOST: Question on Frames within Tiles Have to tried using IFRAME instead of FRAMEs... IFRAME will do the trick Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 10:08 AM To: 'Struts Users Mailing List' Subject: REPOST: Question on Frames within Tiles Any suggestions please. Am desperate at this point. Can framesets even be loaded from tiles? -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:16 PM To: '[EMAIL PROTECTED]' Subject: Question on Frames within Tiles Is there a good place/article/sample code to check out, for mixing framesets and tiles. The App that I am working on seems to need to use both. Basically, we have to display content such that there are 2 frames, the left one showing some text, while the right one accepts user input. Both these also need to be scrollable separately. My intention is to somehow include these frames within a Body tile. The other issue is that there is also a footer tile, which might need to include a frameset. The reason being the the control buttons need to always be visible(without having to scroll to view them). Here is what i tried: Layout used for the Body: quiz actually has a value in the tile-defs that points to the quizcontent.jsp shown below: The problem with this is that the "/practicequizzes/quiz.jsp" is never actually sourced and I just see nothing in the body tile. Thanks, Shitij Mutreja Shitij Mutreja The College Board 11911 Freedom Drive, Suite 300 Reston, VA 20190 571.262.5701 (Phone) 703.707.5596 (Fax) [EMAIL PROTECTED] http://www.collegeboard.com/highered/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: REPOST: Question on Frames within Tiles
Have to tried using IFRAME instead of FRAMEs... IFRAME will do the trick Anand -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 10:08 AM To: 'Struts Users Mailing List' Subject: REPOST: Question on Frames within Tiles Any suggestions please. Am desperate at this point. Can framesets even be loaded from tiles? -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:16 PM To: '[EMAIL PROTECTED]' Subject: Question on Frames within Tiles Is there a good place/article/sample code to check out, for mixing framesets and tiles. The App that I am working on seems to need to use both. Basically, we have to display content such that there are 2 frames, the left one showing some text, while the right one accepts user input. Both these also need to be scrollable separately. My intention is to somehow include these frames within a Body tile. The other issue is that there is also a footer tile, which might need to include a frameset. The reason being the the control buttons need to always be visible(without having to scroll to view them). Here is what i tried: Layout used for the Body: quiz actually has a value in the tile-defs that points to the quizcontent.jsp shown below: The problem with this is that the "/practicequizzes/quiz.jsp" is never actually sourced and I just see nothing in the body tile. Thanks, Shitij Mutreja Shitij Mutreja The College Board 11911 Freedom Drive, Suite 300 Reston, VA 20190 571.262.5701 (Phone) 703.707.5596 (Fax) [EMAIL PROTECTED] http://www.collegeboard.com/highered/index.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
REPOST: Question on Frames within Tiles
Any suggestions please. Am desperate at this point. Can framesets even be loaded from tiles? -Original Message- From: Mutreja, Shitij [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:16 PM To: '[EMAIL PROTECTED]' Subject: Question on Frames within Tiles Is there a good place/article/sample code to check out, for mixing framesets and tiles. The App that I am working on seems to need to use both. Basically, we have to display content such that there are 2 frames, the left one showing some text, while the right one accepts user input. Both these also need to be scrollable separately. My intention is to somehow include these frames within a Body tile. The other issue is that there is also a footer tile, which might need to include a frameset. The reason being the the control buttons need to always be visible(without having to scroll to view them). Here is what i tried: Layout used for the Body: quiz actually has a value in the tile-defs that points to the quizcontent.jsp shown below: The problem with this is that the "/practicequizzes/quiz.jsp" is never actually sourced and I just see nothing in the body tile. Thanks, Shitij Mutreja Shitij Mutreja The College Board 11911 Freedom Drive, Suite 300 Reston, VA 20190 571.262.5701 (Phone) 703.707.5596 (Fax) [EMAIL PROTECTED] http://www.collegeboard.com/highered/index.html