04-09-2009, 04:06 AM
(This post was last modified: 04-10-2009, 09:01 PM by greatmamut.)
Hi!!
I want design one html code what the link of the image of the banner of my server was one variable, so i can use same code for all the servers.
It script is in the site:
"http://www.sitescriptfree.com/banner.html"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Welcome to SpecialAttack</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}
#content {
position:relative;
z-index:1;
margin:0 auto;
}
</style>
</head>
<body>
<img src="http://website/motd.jpg"/>
</body>
</html>
I have it script in one free site, but I want what the tag <img src> was one variable!!!!
So I call my script:
"http://www.sitescriptfree.com/banner.html?var=http://website/motd.jpg"
and my script now is using the link var image:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Welcome to SpecialAttack</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}
#content {
position:relative;
z-index:1;
margin:0 auto;
}
</style>
</head>
<body>
<img src=%%var%%>
</body>
</html>
How Can I do it script? Somebody can help me in HTML CODE?¿
Thanks!
I want design one html code what the link of the image of the banner of my server was one variable, so i can use same code for all the servers.
It script is in the site:
"http://www.sitescriptfree.com/banner.html"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Welcome to SpecialAttack</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}
#content {
position:relative;
z-index:1;
margin:0 auto;
}
</style>
</head>
<body>
<img src="http://website/motd.jpg"/>
</body>
</html>
I have it script in one free site, but I want what the tag <img src> was one variable!!!!
So I call my script:
"http://www.sitescriptfree.com/banner.html?var=http://website/motd.jpg"
and my script now is using the link var image:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Welcome to SpecialAttack</title>
<style type="text/css">
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}
#content {
position:relative;
z-index:1;
margin:0 auto;
}
</style>
</head>
<body>
<img src=%%var%%>
</body>
</html>
How Can I do it script? Somebody can help me in HTML CODE?¿
Thanks!