Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<A href> Question

Status
Not open for further replies.

zzfive03

Programmer
Jun 11, 2001
267
How can I make my <a> link to a page called default.htm....

This Default.htm page describes the 3 frames that it holds. I named the frames: 'Header', 'Side', and 'Main'. In my URL, I want to tell it to go to default.htm but under each of the 3 frames, I have a seprate web page it should show:

header='myheader.htm'
side='myside.htm'
main='mymain.htm'

How do I include all of this information in my <a> tag?
Thank you in advance for any help on this.
MH
 
have you tried

<a href=&quot;default.htm&quot; target=&quot;_top&quot;>
this should work
 
Well, I know that using _top, it will put the page over the top of everything, but what I am intrested in doing is assigning a specific .htm page to each of the 3 frames that default.htm contains. (this means that in my URL I will be specifying a total of 4 .htm files) A horse walks into the bar, and the bartender says &quot;Why the long face&quot;?
 
is this like a &quot;My Yahoo&quot; thing? a user defines his website and you make it look they way they want?
what if you made your default frames page an .asp page. in your frame decloration do this.

<frameset rows=&quot;64,*&quot;>
<frame name=&quot;banner&quot; scrolling=&quot;no&quot; noresize target=&quot;contents&quot; src=&quot;<%= request.form(&quot;banner&quot;)%>&quot;>
<frameset cols=&quot;150,*&quot;>
<frame name=&quot;contents&quot; target=&quot;main&quot; src=&quot;<%= request.form(&quot;contents&quot;) %>&quot;>
<frame name=&quot;main&quot; src=&quot;<%= request.form(&quot;contents&quot;) %>&quot; target=&quot;main&quot;>
</frameset>


I just used request.form as an example it would actualy be what ever the input method was. <%= recordset(&quot;home&quot;)%> maybe. the value would of course have to include the whole url
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top