|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Meta Transition Tag
I have a normal file called index.php that requires another php file at its middle to echo
out different contents based on the different required file. Basically, index.php is just like any other html files, but just for dynamic needs and purposes, only its middle portion will change accordingly. Hence, any links in index.php will always point to itself as such: http://123.123.123.123/test/index.php?content=home http://123.123.123.123/test/index.php?content=aboutme http://123.123.123.123/test/index.php?content=hobbies http://123.123.123.123/test/index.php?content=music Based on the received $content values, the appropriate php file will be called(e.g. home.php, aboutme.php...etc) I have the following in index.php ------------------------------------------------------------- <html> <head> <title>Test</title> <meta http-equiv="Page-Enter" content="revealTrans(Duration=1.0,Transition=12)"> </head> <body> <table.........> <? // My top row links go here ?> </table> <table........> <? // My middle content portion $file = $content . "php"; require("$file"); ?> </table> <body> </html> ------------------------------------------------------------------ What happens here, initially, was, when i clicked on different links and have the middle changed, the loading of content is affected by the transition effect specified at the <head> section. But,...then, later another day, when i tried it did not work. It only worked when i click on the back button. I did not do any major changes but what is the problem? However, when i tried calling 4 other files (going out from index.php itself)...e.g. http://123.123.123.123/test/home.php http://123.123.123.123/test/aboutme.php http://123.123.123.123/test/music.php (i placed the meta transition tag for each of the files) the transition worked. Is there anything wrong with my index.php architecture (requiring contents like that) that caused it not to work? btw i am using IE6.
__________________
Beginner |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Meta Transition Tag |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|