Flash and Frames

jonny912

Baseband Member
Messages
80
Hi. I'm building a whole website using a flash navbar and logo, an the rest in HTML. I am using frames for one of my pages in order to integrate an IBP forum webiste. I have a frame for the logo (at top) one for the nav bar (column left) and one for the forums (rest of page). When I preview the forum page from Dreamweaver everything looks great but when I try to enter another page from the nav bar the forum frame remains inplace while the other two change to the correct page. I'm not sure why it does this and am wondering if anyone knows a fix for this. Heres the code. Save it into an HTML doc to view it.

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<frameset rows="80,*" cols="*" frameborder="no" border="0" framespacing="0">
  <frame src="UntitledFrame-2.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
  <frameset rows="356*" cols="182,*" framespacing="0" frameborder="no" border="0">
    <frame src="UntitledFrame-3.html" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
    <frame src="http://s10.invisionfree.com/Uber_Knights/index.php?act=idx" name="mainFrame" id="mainFrame" scrolling="auto" noresize="noresize" title="mainFrame" />

  </frameset>
</frameset>
<noframes><body>
</body>
</noframes></html>
I'm developing locally so it wont work that well (links to files on my HDD.)
Is this a problem with my navbar? I noticed in the flash builder were the links will open (_self _blank _parent _top) Should I change one of these?

Heres two screenshots to illustrate my problem more clearly.
Sorry there kinda big, if thats a prob just say so and I'll put them on a seperate web page.

flashframe1fd3.jpg

when the join button is clicked (which links to join.htm of which has no frames) it goes to this:
flashframe2kq3.jpg

So the nav bar and the logo on top change correctly but the main frame remains.
Anyone?
Thx in advance.
 
You need to change the link to "_parent" for it to work properly.

But to be honest, iframes are dying breed and can cause problems. They never usually display things that well (mainly if you have lots of them).

The best thing is, is to use some PHP include scripts. They are more versatile and can be a lot easier to work with.
 
Ok thanks.
Am i really using iframes because my code is <frameset> not <iframe> ?
I'll look up that thing on PHP.
 
Back
Top Bottom