Newbie prob with frames and hyperlinks

liunx

Guest
Hi, <br />
I devided my screen into 5 frames with this code: <br />
<br />
<br />
<frameset rows="19%,73%,8%" framespacing="0"><br />
<frame framenaam="mbframe" src=http://www.webdeveloper.com/forum/archive/index.php/"middenboven.htm" frameborder="0" noresize scrolling="no"><br />
<frameset cols="15%,70%,15%" framespacing="0"><br />
<frame framenaam="lframe" src=http://www.webdeveloper.com/forum/archive/index.php/"links.htm" frameborder="0" noresize scrolling="no"><br />
<frame framenaam="mmframe" src=http://www.webdeveloper.com/forum/archive/index.php/"middenmidden.htm" frameborder="0" noresize><br />
<frame framenaam="rframe" src=http://www.webdeveloper.com/forum/archive/index.php/"rechts.htm" frameborder="0" noresize scrolling="no"><br />
</frameset> <br />
<frame framenaam="moframe" src=http://www.webdeveloper.com/forum/archive/index.php/"middenonder.htm" frameborder="0" noresize scrolling="no"><br />
</frameset><br />
<br />
<br />
In the topframe I added a rolloverbutton. When I press this button I want to load two pages: one in lframe and one in mmframe. To do this I added the following code:<br />
<br />
<applet code="fphover.class" codebase="./" width="112" height="24"><br />
<param name="color" value="#000080"><br />
<param name="hovercolor" value="#0000FF"><br />
<param name="textcolor" value="#FFFFFF"><br />
<param name="effect" value="glow"><br />
<param name="image" valuetype="ref" value="images/focus.gif"><br />
<param name="hoverimage" valuetype="ref" value="images/focus_hoover.gif"><br />
<param name="url" valuetype="ref" value="linksfocus.htm"><br />
<param name="target" value="lframe"><br />
</applet><br />
<br />
<br />
But then the page is loaded over my original page, so the only thing I see is the "linksfocus.htm"-page.<br />
<br />
Is it possible to load the "linksfocus.htm"-page into the "lframe" and to load yet another page (let's call it "focusmain.htm") in the "mmframe" by pushing the button??<br />
<br />
Hope you guys can help :-)<br />
<br />
Greetzzz<br />
Shauni<!--content-->Originally posted by Shauni <br />
Is it possible to load the "linksfocus.htm"-page into the "lframe" and to load yet another page (let's call it "focusmain.htm") in the "mmframe" by pushing the button?? <br />
<br />
While this is not an applet it seems to work quite nicely. I have used it several times.<br />
<br />
You will probably hear about how it will only work with browsers that have javascript enabled and that is true. Personally if javascript isn't enabled I really don't care if they visit my page or not. (I'll probably catch it for that comment). Same goes for users that don't have frames enabled.<br />
<br />
Anyway check out <!-- m --><a class="postlink" href="http://javascript.internet.com/navigation/change-2-frames-source.html">http://javascript.internet.com/navigati ... ource.html</a><!-- m --><!--content-->I also explain how to do it here<br />
<br />
<!-- m --><a class="postlink" href="http://forums.webdeveloper.com/showthread.php?s=&threadid=1941&highlight=frames">http://forums.webdeveloper.com/showthre ... ght=frames</a><!-- m --><!--content-->Hey guys thanxxx !! :D <br />
I'm gonna try this out tomorrow and I'll let you know how it went :cool: <br />
<br />
Greetzzz<br />
Shauni<!--content-->Well, it didn't work with the rollover-button made by frontpage.<br />
So I made a rollover with javascript and it works just perfect!!<br />
<br />
Thanxxx :cool: <br />
Shauni<!--content-->
 
Back
Top