View Full Version : Dreamweaver MX help with frames and anchors
warcity
05-12-04, 03:00 PM
HI i, i need a great deal of help so ill cut to the chase
i need button on page one to go to page two.
(page two has 2 frames top and bottom), and in the botton frame i need it to anchor to the middle. all at once
please help :(
i could give example of website im developing
www.blindi.com/test/index.html
cyberskye
05-12-04, 03:42 PM
<body leftmargin="45" topmargin="0">
<table width="592" height="3066" border="0">
The above is from your page - the main table for the bottom frame. In standard view, can you not set the content of the parent table to align center? Select the table properties HAlign Middle, VAlign top (or whatever)
You set a margin and a width but no alignment - so that is probably what you are getting.
Framesets:
to open a page in a specific window just name the target in the link:
<a href="page34.html" target="frame_name">
in your case, the name of the top frame is name="topFrame"
the name of the bottom frame is name="mainFrame"
thus to have a link on the top page load a page in the bottom frame the code would be:
<a href="page34.html" target="mainFrame">
To link to an anchor in the middle of the page, the anchor on that page MUST have a name and you specify that name in the link preceded by the # symbol.
example:
image in middle of the page called my_pics.html:
<img src="images/cool_pic.gif" name="cp" width="100" height="100"></img>
to link (from any page) to that image in the middle of the page, the link would be like this:
<a href="my_pics.html#cp" target="mainFrame">
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.