can anyone solve my external php problem?

This is a discussion on "can anyone solve my external php problem?" within the PHP Forum section. This forum, and the thread "can anyone solve my external php problem? are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 19th, 2007, 11:38
New Member
Join Date: Apr 2007
Location: Wales
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
can anyone solve my external php problem?

Hello all, I have a scenario I'm trying to find a solution to, and I keep getting myself in deeper and deeper until my head hurts. Perhaps someone can help me.

I am currently making a site using the open source cms 'Joomla' but making my own templates etc. The site is for a band and I have a flash animation for the header and a music player (all in flash) on the page, and for this reason, I do not want the page to reload. What I want to do is have a different php feed come up when I clikc different nav buttons.

I have considered using layers with the timeline palette in Dreamweaver, but they don't seem to be very browser compliant from what I understand. I have also considered ajax,iframes and tables, but all these would mean that my background iamge would clash.

What I thought might be a possiblity but don't knoe enough about php to know for sure is this.. the links to each content looks sometihng like this
'index.php?option=com_content&task=view&id=5&Itemi d=9' .. obviously the index.php part is causing the whole page to reload, but is there a way to use the info after 'option=com_content...' etc to change the cotnent without reloading the page?

Anyone have any ideas? Many thanks.
Reply With Quote

  #2 (permalink)  
Old Apr 19th, 2007, 16:19
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: can anyone solve my external php problem?

I don't see how you cannot reload the page using a PHP framework, although you could code content in PHP within some sort of asynchronous framework.

The three words that pop into my head here are DHTML, iframe, and AJAX.

One thought - can you preload Flash files using javascript?
Reply With Quote
  #3 (permalink)  
Old Apr 19th, 2007, 17:30
New Member
Join Date: Apr 2007
Location: Wales
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: can anyone solve my external php problem?

Thanks for the reply, masonbarge. I want to avoid Iframes and Ajax because i then wouldn't have a seamless background, as I understand it? Both these would bring a background image from somwhere else, and my background is a image of paper. Is there a way of putting in a php tag that will call the php part and not reload the whole page? So example just the text etc.
Reply With Quote
  #4 (permalink)  
Old Apr 19th, 2007, 21:04
Junior Member
Join Date: Jun 2006
Location: Wisconsin
Age: 30
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Re: can anyone solve my external php problem?

ajax is your answer. Check out this page http://javascript.internet.com/ajax/...vigation2.html

Wait for the whole thing to load and then click on the General | Notes | Source Code and so on. Ajax will allow you to build a page navigation structure that will allow you to keep you flash stuff alone while changing the body of your site.
Reply With Quote
Reply

Tags
div, external, joomla, layers, php

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
external javascript problem Damian PHP Forum 0 Dec 5th, 2007 09:44
solve my problem?! karoliina Starting Out 9 Feb 21st, 2007 09:25
html expert required to solve one problem DannyP43 Job Opportunities 1 Oct 10th, 2006 10:30
Problem with IE, think its external javascript includes rewind1000 JavaScript Forum 5 Aug 19th, 2005 12:00
Problem with latency when loading external movies ST Flash & Multimedia Forum 10 Aug 4th, 2005 11:19


All times are GMT. The time now is 01:56.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43