ole: 3 Frames laden ?

Beitrag lesen

hi,

bau dir einfach diese kleine script ein wenig um und schon kannst du 3 frames auf einal ändern :-).

das script und noch viele andere findest du unter http://javascript.internet.com

alles liebe
ole
(8-)>

ps: bedienunganleitung liegt bei *g*

<!-- TWO STEPS TO INSTALL CHANGE 2 FRAMES (FRAMESET):

1.  Copy the frameset code into your HTML document
   2.  Be sure to give each frame a unique 'name' -->

<!-- STEP ONE:  Copy this FRAMESET code into your FRAMESET page  -->

<html>

<head>

<title>Your Site's Title Here</title>

</head>

<frameset cols="160,*">

<frame src="http://www.yoursite.com/links-page.html">

<frameset rows="50%,50%">

<frame src="http://www.yoursite.com/top-page.html" name="Frame_A">

<frame src="http://www.yoursite.com/bottom-page.html" name="Frame_B">

</frameset>

</frameset>

</html>

<!-- STEP TWO:  Give each frame a name!  (frame name="left") -->

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  0.70 KB  -->

<!-- TWO STEPS TO INSTALL CHANGE 2 FRAMES (LINKS PAGE):

1.  Put the first code in the HEAD of your links page
   2.  Copy the links code into the BODY of your links page -->

<!-- STEP ONE: Put this code into the HEAD of your links document  -->

<HEAD>

<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function loadFrames(frame1,page1,frame2,page2) {
eval("parent."+frame1+".location='"+page1+"'");
eval("parent."+frame2+".location='"+page2+"'");
}
// End -->

</script>

</head>

<!-- STEP TWO:  Change all the links to the BODY of your links page  -->

<BODY>

Our Links...<br>
<br>
Click a link below to get started!
<br>
<br>

<a href="javascript:loadFrames('Frame_A', 'page-1.html', 'Frame_B', 'page-2.html')">Load Page 1 & Page 2</a><br>
<br>
<a href="javascript:loadFrames('Frame_A', 'page-3.html', 'Frame_B', 'page-3.html')">Load Page 3 & Page 4</a><br>
<br>
<center>Or ....<br>
<a href="no-frames-home.html" target="_top">Go to site without frames</a></center>

<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>

<!-- Script Size:  0.96 KB  -->