Shoutbox

PHP includes, SHTML, iFrames? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: PHP includes, SHTML, iFrames? (/showthread.php?tid=43765)

PHP includes, SHTML, iFrames? by DJeX on 04-27-2005 at 11:18 PM

Ok I’m working on my new site and I want to make it so when I click a link it opens in the middle table on the site between the 2 side menus (one on left one on right).

So I used the PHP include to do this. It works fine but the only problem is that when a link is click it (in the middle table or one of the menus) it refreshes the whole page which I don't want it to do. I have a music player at the top right of the site and when the page refreshes the music player refreshes also and stops playing the song. All's I want is the middle to change to the new page and the rest (mainly the header) to not refresh.

Example at: http://www.beachassaultstudios.com/mrn/new/site.php 
*Note: Music player only shows in IE

What would I use? iFrame won't work because it does not resize when the page is resized and I don't know if my server will run shtml and is shtml will work any better.

Would a frame set work?


RE: PHP includes, SHTML, iFrames? by ShawnZ on 04-28-2005 at 01:54 AM

use an iframe with height=100% width=100%

simple as that


RE: PHP includes, SHTML, iFrames? by DJeX on 04-28-2005 at 02:08 AM

Thanks it worked great.


RE: PHP includes, SHTML, iFrames? by -dt- on 04-28-2005 at 05:12 AM

quote:
Originally posted by Djex

....................
Example at: http://www.beachassaultstudios.com/mrn/new/site.php 

*Note: Music player only shows in IE

Why dont you use something like http://musicplayer.sourceforge.net/ to play music in any browser?


RE: PHP includes, SHTML, iFrames? by segosa on 04-28-2005 at 06:59 AM

Why would we want music to play, disrupting our own music, when visiting your site?


RE: PHP includes, SHTML, iFrames? by Underlord on 04-28-2005 at 07:00 AM

quote:
Originally posted by Segosa
Why would we want music to play, disrupting our own music, when visiting your site?
I agree with Segosa. I hate music randomly playing on sites i visit.
RE: PHP includes, SHTML, iFrames? by DJeX on 04-28-2005 at 10:06 PM

ugh, it dose not play automaticly and it only plays web radio not mp3s and such.