HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Can You Load Two Frames At Once?
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame
View previous topic :: View next topic  
Author Message
Ken Boggs



Joined: 12 Oct 2004
Posts: 3
Location: Pittsboro, North Carolina

PostPosted: Tue Oct 12, 2004 7:06 am     Can You Load Two Frames At Once? Reply with quote

Is there a way to load two frames at once? I currently have coded
<A TARGET="menu" HREF="Main Menu.htm">Main Menu</A>
which works just fine.

However I also have another frame "display" that I want to initialize when I load the main menu. Right now I have no way to do this. Is there a coding that could?

Thanks for any help you all can give.

Ken Boggs

jkennethboggsatmindspring.com
Ken Boggs



Joined: 12 Oct 2004
Posts: 3
Location: Pittsboro, North Carolina

PostPosted: Tue Oct 12, 2004 7:31 am     Reply with quote

I should have read further in these forums for my question has already been answered by Corey in another posting.

I will try the suggestions and see where I am.

Thanks to all

Ken
Ken Boggs



Joined: 12 Oct 2004
Posts: 3
Location: Pittsboro, North Carolina

PostPosted: Tue Oct 12, 2004 8:33 am     HELP. What have I done wrong? Reply with quote

Here is what I have coded that does not seem to activate the onClick part of the code. Pls advise me.

Note this first file is my attempt in my main menu to load two frames. The normal load works but the second does not.

The second piece of code at the end is my index.htm file that contains the frames definitions. Note that there are two framesets. I am suspecious that this is throwing off the code.

Any help will be most appreciated.

Thanks

Ken
========================================

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!Note the target=display tag causes all three of the loads to go to that named frame>
<html>
<head>

<script language="JavaScript" type="text/JavaScript">
<!--
<function multipleUpdate(secondUpdatePage){parent.frames[2].location=secondUpdatePage;}
//-->
</script>

</head>
<BODY BGCOLOR=#EEEEEE TEXT=#000000 LINK=#000000 VLINK=#000000>
<P><A target="display" HREF="../Objectives.htm"> <I>Objectives of the Artist </I></A>

<P><A target="menu" HREF="2003 Studio - Menu.htm" onClick="multipleUpdate('../2003 Art/Intro.htm');"><I>2003 Open Studio Tour</I></A>

<P><A target="menu" HREF="2004 Studio - Menu.htm"> <I>2004 Open Studio Tour </I></A>
<P><A target="menu" HREF="Baby Quilts - Menu.htm"> <I>Baby Quilts </I></A>
<P><A target="menu" HREF="Six Flags - Menu.htm"> <I>Six Altered American Flags </I></A>
<P><A target="display" HREF="../Contact.htm"> <I>Contact Mary </I></A>
<P><A target="display" HREF="../Counter.htm"> <I>Count of folks who visited here so far</I></A>
</body>
</html>


=============================================


<!doctype html public "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<title>Fabric Artist - Mary Lucas</title>
</head>
<FRAMESET ROWS="170,*" BORDER=0 frameborder="0"><!Note that the BORDER value of 0 stops user resizing of frame
and turns off the rendering of the border itself>
<FRAMESET COLS="25%,*">
<FRAME NAME="Picture" SRC="Picture.htm" SCROLLING="NO">
<FRAME NAME="Intro" SRC="Intro.htm" SCROLLING="NO">
</FRAMESET>
<FRAMESET COLS="24%,10,*"><!Note the width of the spacer is in the COLS variable and here set to 10 pixels.>
<FRAME NAME="menu" SRC="Menus/Main Menu.htm">
<FRAME NAME="spacer" SRC="White Spacer.htm" SCROLLING="NO">
<FRAME NAME="display" SRC="Objectives.htm">
</FRAMESET>
</FRAMESET></NOFRAMES>
</html>
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Frame All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial