PDA

View Full Version : inside include file jscript not working properly



hesashe
29 Apr 2011, 04:12 AM
Good Day!

Hi! i have this
"<?php
include('view/header.php');

$vPageID = $_GET['pageid'];
if (!defined('BASE_FILE')) define( 'BASE_FILE',1);

echo "<div id=bodyFrame>";
switch ($vPageID) {
case "": //company
include('view/main.php'); "

code in my index,
in the main.php i put there a slider.
I tested the slider alone it works so good, but when i put it in my main.php the slider wont work and does not display properly. The slider have a jscript and css file.

Please help.!

Thanks!