Current location: Hot Scripts Forums » Programming Languages » PHP » Dynamic content using php?, iframes dont work in firefox


Dynamic content using php?, iframes dont work in firefox

Reply
  #1 (permalink)  
Old 01-09-05, 08:08 AM
Bazzio Bazzio is offline
Newbie Coder
 
Join Date: May 2004
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
Dynamic content using php?, iframes dont work in firefox

Is there a way i can change the content of a page, without refreshing it?
http://www.4qradio.com
this is my site, and i am using iframes. The page content resizes the iframe, and works fine in IE.
Not in firefox however.
I cant use a regular ?id= etc because that will refresh the whole page, i need it just to refresh the content.

Any ideas??
Reply With Quote
  #2 (permalink)  
Old 01-09-05, 12:23 PM
jasong jasong is offline
Wannabe Coder
 
Join Date: Feb 2004
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
While I don't know exactly how, there is a way to do it in JavaScript, as well as flash.
Your best route however, would be just not to use frames, and use real pages.

If you want, you can create php files with just the header bit, one for the left side column, one for the right side column etc, and then include them in the page file.
Reply With Quote
  #3 (permalink)  
Old 01-09-05, 12:50 PM
Bazzio Bazzio is offline
Newbie Coder
 
Join Date: May 2004
Posts: 50
Thanks: 0
Thanked 0 Times in 0 Posts
the problem is i need only the content of the main sectoin to change.
There is a player that runs in the top when people are listening to the shows.
so if the whole page has to be refreshed, they have to start the show again.
I wanted to stay away from this.
The only way i know to refresh only the certain bit is iframes, but i use a line of code to make the iframe change to be the size of the content.
Firefox will not recognise this.
Reply With Quote
  #4 (permalink)  
Old 01-10-05, 12:58 PM
End User's Avatar
End User End User is offline
Level II Curmudgeon
 
Join Date: Dec 2004
Posts: 3,027
Thanks: 14
Thanked 35 Times in 33 Posts
Quote:
Originally Posted by Bazzio
the problem is i need only the content of the main sectoin to change.
There is a player that runs in the top when people are listening to the shows.
so if the whole page has to be refreshed, they have to start the show again.
I wanted to stay away from this.
The only way i know to refresh only the certain bit is iframes, but i use a line of code to make the iframe change to be the size of the content.
Firefox will not recognise this.
Why not create a hidden frameset (1 pixel high, for example) and play the show in that frame?
Reply With Quote
  #5 (permalink)  
Old 01-12-05, 08:41 PM
1jetsam 1jetsam is offline
Wannabe Coder
 
Join Date: Apr 2004
Posts: 128
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by End User
Why not create a hidden frameset (1 pixel high, for example) and play the show in that frame?
Thats why I was going to say:
Code:
<iframe src="http://www.google.com" width="100%" frameborder="0"></iframe>
Insert the php url in the src field. If it doesn't show up, try using the full url: "http://" and the rest of the url from there.
__________________
Quate CMS 0.3.3 Released - A simple, fast Content Management System.
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Art Nexus seeking PHP programmers TheArtNexus Job Offers & Assistance 5 02-26-08 03:08 AM
Need fellow PHP programmer to share workload (paid work) helmutjd Job Offers & Assistance 0 01-07-05 06:30 PM
[For Hire] Freelance PHP Programmer/Web Designer 3+ yrs exp Czaries Job Offers & Assistance 0 01-04-05 12:53 PM
Error On Registeration timmy408 ASP 2 09-05-04 02:53 PM
Grafix Work Submitting in PHP ports1980 PHP 1 08-09-04 11:31 AM


All times are GMT -5. The time now is 05:24 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.