• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Dreamweaver Help Needed (Frames) :pic:

alex_bgnet

Limp Gawd
Joined
Aug 15, 2003
Messages
510
So I am building a site for one student organisation I'm in and I started with a template Dreamweaver offered me.
I see that I can make my life easier by using the target button on the bottom but I cannot figure it out.

Macromedia.jpg


1. I want all the buttons and the top to be on one page and for them to open the new page in the middle (where the feature title and the image are), how do I go about making that space able to open other pages?
If I have to change only one link I'd have to go through all pages.

Any ideas?
 
I used to do that with frames but I don't remember how.

I think a better way would be to have to "buttons and the top" as it's own php file. Then any page you open could call that php to load.
This has the added bonus of being able to edit your menus in one place and have the edit be dynamic.

Is this making any sense?
 
I have no experience with PHP, I will just stick with all the pages, it is not that important.
I will try to google more.
thnaks for the reply'
 
Wow I had the same problem! Ok, first start by naming that frame, the default is centerFrame or something like that but find it out. Next, where it says target, enter the frame name (Case sensetive). This should work. Good Luck!

P.S. If you hit the down button, you can see some of the frames you have, so you can play with that till it targets the right frame, or just find our frame there!
 
Yes, Target is how you do it with frames. I just tried specifying a Div as a target and couldn't get it to work. It opens in a _blank page no matter what I div I tell it to.
It could be there is another way to name a div???

PHP for this is easy to implement, the second time - haha. A little confusing the first time.
 
Ok i find iframes are better than frames, but PHP is better than that.

This is something I wrote up for another post:

Ok for Iframe the table and td are wherever you content will go.

Code:
Iframe:

<table>
<td>
<iframe width="bla" height="bla" frameborder="0" scrolling="auto" src="mainpageconentname.html" name="content"></iframe>
</td>
</table>


A Link to it:

<a href="bla.html" target="content">Link1</a>

NOTE: the bla.html needs to be premade with all the content in.

Once again the table and td are wherever the content goes.

Code:
PHP:

<table>
<td>
<?php include ("$id.html"); ?>
</td>
<table>


A Link to it:

<a href="core.php?id=2ndpage"></a>


NOTE: In this example the main page name is core.php.
Also, using this way if you dont have a redirect url you would need to use this sort of thing:

[url]http://www.noredirect.com/core.php?id=home[/url]

home being a file named home.html, which includes the main page content.

Hope this helps at all, if you have any questions just ask
 
Back
Top