Welcome to Dream.In.Code
Become an Expert!

Join 150,423 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,088 people online right now. Registration is fast and FREE... Join Now!




Problem with frames

 
Reply to this topicStart new topic

Problem with frames

gabehabe
16 Mar, 2008 - 04:43 PM
Post #1

better than jam.
Group Icon

Joined: 6 Feb, 2008
Posts: 5,851



Thanked: 104 times
Dream Kudos: 2700
Expert In: slobbing.

My Contributions
I'm having trouble with frames in HTML. Basically, I've got a whole layout working, it's just that the last frameset doesn't actually show the right pages.

Here's the code:
CODE
<frameset rows="25%,*" border="0">
    <frame name="title" src="../title.html">
<frameset cols="20%,*">
        <frame name="menu" src="../menu.html">
        <frameset rows="37%,*">
        <frame name="products" src="../product-list.html">
        <frame name="spec" src="../product-spec.html"> <---This row shows the same as the one above--->
        </frameset>        
    </frameset>
</frameset>


It's probably just something really simple, but what am I doing wrong? I've tried loads of different things, but it just DOES NOT work.
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Problem With Frames
16 Mar, 2008 - 04:51 PM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,660



Thanked: 314 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
Did you happen to copy product-list.html and rename it product-spec.html? Are you sure they are not separate files but with the same exact content in them so they look the same? Because from what you show there, it is now how you specify your pages. Make sure that you didn't accidentally copy the same content into both product-list.html and product-spec.html.

Oh and btw... frames are really discouraged on the net these days. It is considered bad design and leads to some pretty ugly sites. You might want to consider staying away from them in the future.

Hopefully it is something minor with the "content of your pages" and not the actual frameset code.

smile.gif
User is offlineProfile CardPM
+Quote Post

gabehabe
RE: Problem With Frames
16 Mar, 2008 - 04:56 PM
Post #3

better than jam.
Group Icon

Joined: 6 Feb, 2008
Posts: 5,851



Thanked: 104 times
Dream Kudos: 2700
Expert In: slobbing.

My Contributions
No, I just tried it again and realised it was just because my browser was being stupid. I closed it and reloaded, it was just refreshing the older version of the page for some reason?

Never mind...

Thanks for your help anyway =]
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 1/9/09 08:35PM

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month