• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

where do you put frame code?

 
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Talk about your most basic of basic questions. I'm trying to
play with some frames, and I'm just wondering in which file you
put the frame code.
If you have:
<FRAMESET COLS="25%,75%">
<FRAME SRC="whateverA.html">
<FRAME SRC="whateverB.html">
</FRAMESET>
In which of the 2 files do you put it in? Does it matter?
thanks!
Annette
 
Ranch Hand
Posts: 1070
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The frame code goes in a separate html file. So for you example, you are going to have 3 html files. One is the page you direct everything to, like index.html and this will have the code you wrote below. And then you have the two whateverA.html and whateverB.html files that load up in your index.html file.
Bill
 
Annette L'Heureux
Ranch Hand
Posts: 135
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that makes sense. thanks!
(You'd think they would tell you that in all those tutorials you find on the internet!)
Annette
 
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are willing to part with some cash the O'reilly book Webmaster in a Nutshell has a good section on frames and a lot of other stuff.
If you buy it online from Amazon (via JavaRanch) you also help keep JavaRanch up and running.
John
 
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
Sauce Labs - World's Largest Continuous Testing Cloud for Websites and Mobile Apps
https://coderanch.com/t/722574/Sauce-Labs-World-Largest-Continuous
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!