PDA

Click to See Complete Forum and Search --> : Help with Frames...


kidlaley
Aug 18th, 2004, 01:14 PM
Hi People..

I have some issues regarding a webpage..
I'm doning a webpage that contains two frames.. left and right

well, the one in the right is the main page which has all the body of the website... the one on the left is just like a quick navigating option..

the left frame has a couple of shapes.. what i want to do is that if the user click on a shape on the left frame, the frame in the right would position himself in a seccion of the website...

for example, is they click on the shape that has a laber with "Contacts"
it will make the right frame move automatically to the section were the emails are...

i'm not really good with Front Page and i'm starting to used it!!

Thanks for your help!!!:eek2:

davebat
Aug 19th, 2004, 02:34 AM
by shapes do you mean images? If so put a hyperlink on the image such as:


<a href="www.google.com" target="MainFrame">


Make the target the same as whatever you called your main frame and then it will work.

I'd also suggest you read up about html.

http://www.w3schools.com/html/default.asp

ober0330
Aug 19th, 2004, 07:27 AM
Example:

This is the code you'd have as your index.htm or whatever your index page is: <frameset cols="115,*" frameborder=no>
<noframes><body>
<p>If you are seeing this message, your browser cannot handle frames, which are contained on this page and are used to enhance the page for viewing pleasure. Please download the latest version of your browser or download the latest version of Internet Explorer or Netscape Navigator. This page is best viewed by Internet Explorer 5.0+ with a resolution of at least 600 x 800 pixels. You can also go to our alternate site which does not contain frames. The address is xxxxxxxxxxxxx Thanks for visiting! </p>
</body></noframes>
<frame name="frindx" src="lnkfrm.php" noresize scrolling="no" >
<frame name="frhome" src="montnew.php" >
</frameset>

Then in your "navigation" page in the left frame: <a href="montnew.php" base target="frhome">Home</a> You just use a bunch of links like someone else mentioned.

vbNeo
Aug 24th, 2004, 09:28 AM
Frames often is a bad idea... you should look into another form of doing things if it's about design(Divs...)...