What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » PHP includes, SHTML, iFrames?

PHP includes, SHTML, iFrames?
Author: Message:
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. Huh?  PHP includes, SHTML, iFrames?
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?
[Image: top.gif]
04-27-2005 11:18 PM
Profile PM Web Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: PHP includes, SHTML, iFrames?
use an iframe with height=100% width=100%

simple as that
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
04-28-2005 01:54 AM
Profile PM Web Find Quote Report
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. RE: PHP includes, SHTML, iFrames?
Thanks it worked great.
[Image: top.gif]
04-28-2005 02:08 AM
Profile PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
35 / Male / Flag
Joined: Mar 2004
RE: PHP includes, SHTML, iFrames?
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?

[Image: dt2.0v2.png]      Happy Birthday, WDZ
04-28-2005 05:12 AM
Profile PM Web Find Quote Report
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
RE: PHP includes, SHTML, iFrames?
Why would we want music to play, disrupting our own music, when visiting your site?
The previous sentence is false. The following sentence is true.
04-28-2005 06:59 AM
Profile PM Find Quote Report
Underlord
Veteran Member
*****

Avatar

Posts: 1037
Reputation: 40
35 / Male / Flag
Joined: Jul 2003
RE: PHP includes, SHTML, iFrames?
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.
04-28-2005 07:00 AM
Profile E-Mail PM Find Quote Report
DJeX
Veteran Member
*****

Avatar


Posts: 1138
Reputation: 11
– / Male / –
Joined: Jul 2003
O.P. RE: PHP includes, SHTML, iFrames?
ugh, it dose not play automaticly and it only plays web radio not mp3s and such.
[Image: top.gif]
04-28-2005 10:06 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On