Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Frameset not working

I'm doing a frameset with two pages, the first page is 'index.php', which would be the page with the main content of my site. The second page is the 'mp3.html', which is an mp3 player that should be aligned to the footer.

I did get the frameset but only a white screen appears. What could be my problem?

HTML frameset page (intro.php) => http://pastebin.com/enJeVXSG

<body>
    <frameset rows="*,30" frameborder="no" border="0" framespacing="0">
        <frame src="<?php echo BASE_URL; ?>index.php" name="mainFrame" id="mainFrame" />
        <frame src="<?php echo BASE_URL; ?>mp3.html" name="bottomFrame" scrolling="No" noresize="noresize" id="bottomFrame" />
    </frameset>
</body>

mp3.html => http://pastebin.com/0ShSj3RA

<div class="player">
  <object type="application/x-shockwave-flash" ... /></object>
</div>

I'm doing these framesets so that the user can browse the site without the music player stop playing.


The result:
https://i.sstatic.net/Pzx1x.png
https://i.sstatic.net/tVl3S.png


2 Answers

You need to divide the frames within <frameset> tag, and need to avoid the <body> tag.
Only use <frameset> along with <frame>

You can refer to the link for frame demo.

Use <frameset> instead of <body>, not inside of <body>

like image 32
Alohci Avatar answered Oct 23 '25 12:10

Alohci



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!