@import url("xxx"); felan sadece css de oluyor. htmldede bunu yapabilecek birisi varmı? lütfen bilenler bildiğini esirgemesin. şimdiden teşekkürler. herkese kolay gelsin
<!--#include file="header.html" -->
<h1>Burası En Üst</h2><br>
<h2>Burası En Alt</h2>
<!--#include file="en_ust.txt" -->
BURASI ANA SAYFA KARDEŞİM<br>
<!--#include file="en_alt.txt" -->
<!--#include file="en_ust.txt" -->
BURASI DENEME SAYFASI<br>
<!--#include file="en_alt.txt" -->
<script>
function clientSideInclude(id, url) {
var req = false;
// For Safari, Firefox, and other non-MS browsers
if (window.XMLHttpRequest) {
try {
req = new XMLHttpRequest();
} catch (e) {
req = false;
}
} else if (window.ActiveXObject) {
// For Internet Explorer on Windows
try {
req = new ActiveXObject("Msxml2.XMLHTTP");
} catch (e) {
try {
req = new ActiveXObject("Microsoft.XMLHTTP");
} catch (e) {
req = false;
}
}
}
var element = document.getElementById(id);
if (!element) {
alert("Bad id " + id +
"passed to clientSideInclude." +
"You need a div or span element " +
"with this id in your page.");
return;
}
if (req) {
// Synchronous request, wait till we have it all
req.open('GET', url, false);
req.send(null);
element.innerHTML = req.responseText;
} else {
element.innerHTML =
"Sorry, your browser does not support " +
"XMLHTTPRequest objects. This page requires " +
"Internet Explorer 5 or better for Windows, " +
"or Firefox for any system, or Safari. Other " +
"compatible browsers may also exist.";
}
}
</script>
<script language="JavaScript" src="include.js">
</script>
<body onLoad="clientSideInclude('ilkinclude', 'ilkinclude.html');">
<span id="ilkinclude">
</span>
<?php
include("ust.php");
include("html/index.html");
include("alt.php");
?>
<?php
include ("html/ust.html");
?>
<?php
include ("html/alt.html");
?>
Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir