I configure my home FreeBSD OS as server. I run FreeBSD under WinXP with VMWare Workstation 4.
On my work, Web Programmers company, FreeSD is configured so
(DNS under FreeBSD is configured for zone "office.net" with hosts host1 & host2),
that from WinXP I can ping host1 and host2...
I configured DNS (bind9) and Apache in FreeBSD 4.7 (IP: 192.168.1.1).
My server name on FreeBSD - myserver.mydomain.com
This server configuration:
1. /etc/resolv.conf
domain mydomain.com
nameserver 192.168.1.1
2. Bind config:
I have domain:
mydomain.com
This domain hosts...
I configured DNS (bind9) and Apache in FreeBSD 4.7 (IP: 192.168.1.1).
My server name on FreeBSD - myserver.mydomain.com
This server configuration:
1. /etc/resolv.conf
domain mydomain.com
nameserver 192.168.1.1
2. Bind config:
I have domain:
mydomain.com
This domain hosts...
How to read valid bitmap image from MS Access db field, which was
inserted into database with Microsoft Access 2000 Application?
Application saves in database file info + (bitmap) + anotherinfo.
When I create stream, his size is greater than fileStream of image, wich
was inserted into database...
For example I am on page: http://www.site.com/download.html
How can I now, from what page user come to this page?
If he come from page http://www.site.com/... (from other page
of my site), then all is Ok. Else redirect this user to main
page of my site.
I have object "img":
<img id="img1" alt="" width="100" height="100" border="0">
Can I in JavaScript set the path to the file (src="image.jpg"),
from where this image will load, when I have image "id"?
Ok. This script workes in Opera, but I need that script workes
automatic, for example so he workes in Internet Explorer:
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Ñîäåðæèìîå-Òèï"...
Why my cod workes in Internet Explorer 6 and changes width of the layer
from 200 px to 1000 px, but in Opera 6 not?
Help to correct this problem, please.
My cod:
<html>
<head>
<title>Untitled Document</title>
<meta...
How can I set the size of layer in JavaScript?
My script works only after layers loading.
I need to set size of the layer before his
loading starts.
Help please
My script:
<html>
<head>
<title>Untitled Document</title>
</head>
<body>
<div id="layer1" style="position:absolute...
Write please not difficult example for using window.document.styleSheets
to set css style for document
(dont use please <link rel="stylesheet" href="style_1.css"> )
I need to load css-file (<link rel="stylesheet" href="style.css" type="text/css"> ) but in body of Java Script. How can I make so?
I have big text. How I can print this text in
body of html document with java script?
For exmple this:
document.write('fjghjhfgh
ghghghgjhj
ghghghghgh
ghghghghgh');
That is mistake so to write. But write many
"document.write" i dont want.
I need depending on some
Conditions to set the sizes of a layer and the table
For an explanation a question I shall guide a simple example:
< div id = "Layer1" style = " position:absolute; width:200px; height:115px; z-index:1; left: 12px; top: 71px " > </div>
< table border...
(in JavaScript)
I need to get screen width and height
If (screen.width==800)
{w=100;
h=100;} else
{w = 50
h=50}
(in body of html)
<img src="file:inage.jpg" width= ?w? height=?h?>
?w?, ?h? - Is it impossible?
What can I make?
In Java Script I define screen width and height and
depending on him some variables w and h become
the necessary values.
Is it possible in body of html document (not in script)
to use values of these variables for setting the sizes
of picture or other object? Variant with...
Why method 1 is right and workes,
but method 2 is not right?
Method 1:
<script language="JavaScript">
sw = screen.width;
sh = screen.height;
document.write(sw);
if (sw == 1024)
document.body.background = "background.jpg"
</script>
Method 2:
<script...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.