3
Contributors
5
Replies
7
Views
5 Years
Discussion Span
Last Post by davy_yg
0

My guess is that it cannot find the referenced CSS files. Also, the <link> tags only function correctly when they are in the <head> section of your page.

0

Do you think I cannot use include in this case?

In other case, I use include and the css is still link to the page (eventhough not as many as this one).

there are too many css link. That's why I am trying to use include to simplify the code.

include('gallery/index.html');

basically is linking index.html codes and extract it (run it) in image_gallery.php.

Oh.. I just tried to place <link> tags inside <head> section but it does not work yet. The gallery/index.html does work if I run in by itself but not as an include function.

Edited by davy_yg: n/a

0

Do you think I cannot use include in this case?

In other case, I use include and the css is still link to the page (eventhough not as many as this one).

there are too many css link. That's why I am trying to use include to simplify the code.

include('gallery/index.html');

basically is linking index.html codes and extract it (run it) in image_gallery.php.

Oh.. I just tried to place <link> tags inside <head> section but it does not work yet. The gallery/index.html does work if I run in by itself but not as an include function.

if the problem is what pritaeas described then go ahead and include them in head tag

<html>
<head>
<?php include (....); ?>
<head>
......
0

I modify the script and file structure. Now I have some errors:

meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Masterlink International</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="includes/navstyle.css" />

<link rel="stylesheet" type="text/css" href="gallery/css/sliderkit-core.css" media="screen, projection" />
<link rel="stylesheet" type="text/css" href="gallery/css/sliderkit-demos.css" media="screen, projection" />  
<link rel="stylesheet" href="gallery/css/main.css" type="text/css" />  
<link rel="stylesheet" type="text/css" href="gallery/css/sliderkit-demos-ie7.css" />  

<script src="gallery/js/jquery-1.5.2.min.js"></script>  
<script type="text/javascript" src="gallery/js/jquery.sliderkit.1.5.1.pack.js"></script>  
<script type="text/javascript" src="gallery/js/jquery.easing.1.3.min.js"></script>  
<script type="text/javascript" src="gallery/js/jquery.mousewheel.min.js"></script>  
<script type="text/javascript" src="gallery/js/main.js"></script>

<script type="text/javascript" src="includes/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="includes/superfish.js"></script>
<script type="text/javascript">
jQuery(function(){
	jQuery('ul.menu').superfish({
		animation: {opacity:'show',height:'show'},
		speed: 'slow', 
		autoArrows: true
	});
});
</script>

All the href="filename" are underline green. If I place cussor on top of it, it says: Found 1 error in external css file.

but I do not know what type of error is it and how to fix it? I basically do not see the picture and thumbnail in the gallery.

By the way, I am taking the gallery script from here: http://www.script-tutorials.com/how-to-create-photo-gallery-using-slider-kit-jquery/.

I also have been using firebug.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.