|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
'cascading' framesIt works beautifully, and it's much simpler than your method.
-- Show quoteMurray "Kevin Spencer" <kspen***@takempis.com> wrote in message news:OtUHaBazEHA.1392@TK2MSFTNGP14.phx.gbl... >I suppose what method you would use depends upon your requirements. It > certainly is a different way, though, I'll go along with you there! > > -- > HTH, > Kevin Spencer > .Net Developer > Microsoft MVP > Neither a follower > nor a lender be. > > "Murray" <for***@HAHAgreat-web-sights.com> wrote in message > news:#VFWKpZzEHA.924@TK2MSFTNGP10.phx.gbl... >> There is a simpler way, Kevin. You make page 2 load page2b into the > content >> frame when it loads, e.g., >> >> in page 2 you have (ALERT - Pseudocode) - >> >> <body onLoad="gotoURL(page2b - target='contentFrame')" >> >> -- >> Murray >> >> "Kevin Spencer" <kspen***@takempis.com> wrote in message >> news:O3PtdiYzEHA.3408@tk2msftngp13.phx.gbl... >> > Sure.Use a JavaScript function. Example: >> > >> > <script type="text/javascript"><!-- >> > function changeFrames(url1, url2) { >> > window.parent.framename1.document.location = url1; >> > window.parent.framename2.document.location = url2; >> > } >> > // --></script> >> > >> > <a href="javascript:changeFrames('http://www.microsoft.com', >> > 'http://www.microsoft.com')">Change Frames</a> >> > -- >> > HTH, >> > Kevin Spencer >> > .Net Developer >> > Microsoft MVP >> > Neither a follower >> > nor a lender be. >> > >> > "douglas" <dro***@800mcmahan.com> wrote in message >> > news:d999ee4b.0411180710.207f4848@posting.google.com... >> >> I am in a Front Page class. We were doing a frames exercise with a >> >> banner, contents, and main frame. The banner had different pets on the >> >> link bar. Selecting a pet caused the contents frame to display choices >> >> specific to that pet. >> >> >> >> We started out with the default choice, dogs, on the banner. The >> >> contents frame had dog-specific choices, starting with 'dog food', and >> >> the main frame had info on dog food. >> >> >> >> When we selected 'cats' on the banner frame, the contents frame >> >> displayed cat-specific choices, but the main frame continued to show >> >> the dog food info. >> >> >> >> Is there any way to change the document loaded in the main frame when >> >> the contents frame changes? >> >> >> >> Thanks >> > >> > >> >> > > |
|||||||||||||||||||||||