/    Sign up×
Community /Pin to ProfileBookmark

Frame sets and linking

ok i am develeping a site to sell items.

now i want to have a frame on the left, that displays the product and a link, and when you lcik say paint, i want it to laod in the right side of the page. now i am reading my book but it isnt to clear on how to link frames and stuff. does anyone have a basic 2 frame site and how to link them?

to post a comment
HTML

6 Comments(s)

Copy linkTweet thisAlerts:
@rhsundergroundApr 26.2004 — many people here frown upon frames, but here's what you need to get started anyway:

for the index.html page:
[code=php]
<html><head></head>
<frameset cols="250,*">
<frame name="links" src="linkspage.html" frameborder="0">
<frame name="main" src="main.html" frameborder="0">
</frameset>
</html>
[/code]

for the links page :
[code=php]
<html><head></head>
<body>
<a href="product1.html" target="main">product 1</a><br>
<a href="product2.html" target="main">product 2</a><br>
<a href="product3.html" target="main">product 3</a><br>
<a href="product4.html" target="main">product 4</a><br>
</body></html>
[/code]
Copy linkTweet thisAlerts:
@modifier_guyauthorApr 26.2004 — thanks,

i figured frames would be easy for what i need, if there is a better way i am all open
Copy linkTweet thisAlerts:
@modifier_guyauthorApr 26.2004 — is there a better way to link to items? see i need a side menu, and when you click on a link, then it opens the page on the right side leaving the menu. it makes it easy for people to nav that way. easier way then frames

or if i use frames, now i am confised with the above code.

do i make an page liek products.html then make a page links.html. and then link it or what.

wwwhttp://detailmaster.com/Merchant2/merchant.mvc?Screen=CTGY&Store_Code=detailmaster&Category_Code=DM-Flocking

theres an example of what i want
Copy linkTweet thisAlerts:
@jdaviaApr 26.2004 — You can make your first page with the menu on the left, and rename it to all your other pages. This way all pages will show the same menu. Then add different data in each page. they will look exactly as frames but are not, and ou will be better off.

If you must have frames, it would be because you want more than two frames in a window.
Copy linkTweet thisAlerts:
@modifier_guyauthorApr 26.2004 — last night i was thinking on how to do this, and thought , exactly what jdavia said. something so easy could be mind racking! thanks i got it
Copy linkTweet thisAlerts:
@PhillMcApr 26.2004 — If you are selling items on this site, then frames are a bad idea. Either go with jdavia's suggestion, or use a DIV/CSS layout with ServerSide Includes; either way would be much better than using frames. ?
×

Success!

Help @modifier_guy spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.5,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...