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.
|
|
|
|
|
![]() |
||
can anyone solve my external php problem?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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. |
|
|
|
#2
|
||||
|
||||
|
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? |
|
#3
|
|||
|
|||
|
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.
|
|
#4
|
|||
|
|||
|
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.
__________________
http://www.freemortgagecalculator.net |
![]() |
| Tags |
| div, external, joomla, layers, php |
| Thread Tools | |
|
|
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 |