i have a fixed text box that is requiring a value to be added when needed, but now i have this my fi

  • Thread starter java script help needed
  • Start date
J

java script help needed

i have a fixed text box that is requiring a value to be added when needed,
but now i have this my fixed background image has gone.

how can i have both working?
 
J

java script help needed

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>Scroll...</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">

<style type="text/css">

HTML, BODY, #oFIXED {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
border: none;
}

BODY {
background: #c0c0c0;
}

#oFIXED {
position: fixed;
top: 0;
left: 0;
z-index: 5;
width: auto;
height: auto;
}

#testTable {
margin: 10px;
background: #ff0;
border: 2px solid #000;
}

#testTable td {
padding: 10px;
}

</style>

<!--[if IE]>

<style type="text/css">

HTML, BODY, #oFIXED {
overflow-x: hidden;
overflow-y: hidden;
}

BODY, #oBODY {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}

#oBODY {
background: #c0c0c0;
z-index: 4;
overflow-x: auto;
overflow-y: auto;
}


#oFIXED {
position: absolute;
/*
width: expression(oBODY.clientWidth +'px');
height: expression(oBODY.clientHeight+'px');
*/
overflow-x: hidden;
overflow-y: hidden;
}

</style>

<![endif]-->


<script language="JavaScript" type="text/javascript"><!--
//--></script>

</head>

<body bg='logo.jpg'>
<!--[if IE]>
<div id=oBODY>
<![endif]-->text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
<!--[if IE]>
</div>
<![endif]--><div id=oFIXED>
<table id="testTable"><tr><td>this is a fixed box</td></tr></table>
</div>
</div>
</body></html>
 
M

MD Websunlimited

There is not enough information here to determine what your problem is. Please be specific.
 
J

java script help needed

below is the html file that is not working right.

i have an image that i would like showing in the background. the image is
called logo.jpg and is in the root directory

there is a text box that is always in view even when page is scrolled. this
is working ok now.


i just need to get the image in the back group to show.

thank you






--------------



<html><head>
<title>Scroll...</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">

<style type="text/css">

HTML, BODY, #oFIXED {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
border: none;
}

BODY {
background: #c0c0c0;
}

#oFIXED {
position: fixed;
top: 0;
left: 0;
z-index: 5;
width: auto;
height: auto;
}

#testTable {
margin: 10px;
background: #ff0;
border: 2px solid #000;
}

#testTable td {
padding: 10px;
}

</style>

<!--[if IE]>

<style type="text/css">

HTML, BODY, #oFIXED {
overflow-x: hidden;
overflow-y: hidden;
}

BODY, #oBODY {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}

#oBODY {
background: #c0c0c0;
z-index: 4;
overflow-x: auto;
overflow-y: auto;
}


#oFIXED {
position: absolute;
/*
width: expression(oBODY.clientWidth +'px');
height: expression(oBODY.clientHeight+'px');
*/
overflow-x: hidden;
overflow-y: hidden;
}

</style>

<![endif]-->


<script language="JavaScript" type="text/javascript"><!--
//--></script>

</head>

<body>
<STYLE type="text/css">
<!--
body
{
background-image:url('logo.jpg');
background-attachment:fixed
}
-->
</STYLE>

<!--[if IE]>
<div id=oBODY>
<![endif]-->text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
<!--[if IE]>
</div>
<![endif]--><div id=oFIXED>
<table id="testTable"><tr><td>this is a fixed box</td></tr></table>
</div>
</div>
</body></html>
 
J

java script help needed

only need for it in internet explorer, only one page has logo as background.
since adding fixed text box it goes.



Murray said:
Do you lose the fixed background in all browsers, or only some?

--
Murray

java script help needed said:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>Scroll...</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">

<style type="text/css">

HTML, BODY, #oFIXED {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
border: none;
}

BODY {
background: #c0c0c0;
}

#oFIXED {
position: fixed;
top: 0;
left: 0;
z-index: 5;
width: auto;
height: auto;
}

#testTable {
margin: 10px;
background: #ff0;
border: 2px solid #000;
}

#testTable td {
padding: 10px;
}

</style>

<!--[if IE]>

<style type="text/css">

HTML, BODY, #oFIXED {
overflow-x: hidden;
overflow-y: hidden;
}

BODY, #oBODY {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}

#oBODY {
background: #c0c0c0;
z-index: 4;
overflow-x: auto;
overflow-y: auto;
}


#oFIXED {
position: absolute;
/*
width: expression(oBODY.clientWidth +'px');
height: expression(oBODY.clientHeight+'px');
*/
overflow-x: hidden;
overflow-y: hidden;
}

</style>

<![endif]-->


<script language="JavaScript" type="text/javascript"><!--
//--></script>

</head>

<body bg='logo.jpg'>
<!--[if IE]>
<div id=oBODY>
<![endif]-->text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
<!--[if IE]>
</div>
<![endif]--><div id=oFIXED>
<table id="testTable"><tr><td>this is a fixed box</td></tr></table>
</div>
</div>
</body></html>
 
M

Murray

In that case, I have no clue what might be happening. Sorry to have strung
you on.

Your use of CSS is too advanced for me.

--
Murray


java script help needed said:
only need for it in internet explorer, only one page has logo as background.
since adding fixed text box it goes.



Murray said:
Do you lose the fixed background in all browsers, or only some?

--
Murray

java script help needed said:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>Scroll...</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">

<style type="text/css">

HTML, BODY, #oFIXED {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
border: none;
}

BODY {
background: #c0c0c0;
}

#oFIXED {
position: fixed;
top: 0;
left: 0;
z-index: 5;
width: auto;
height: auto;
}

#testTable {
margin: 10px;
background: #ff0;
border: 2px solid #000;
}

#testTable td {
padding: 10px;
}

</style>

<!--[if IE]>

<style type="text/css">

HTML, BODY, #oFIXED {
overflow-x: hidden;
overflow-y: hidden;
}

BODY, #oBODY {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}

#oBODY {
background: #c0c0c0;
z-index: 4;
overflow-x: auto;
overflow-y: auto;
}


#oFIXED {
position: absolute;
/*
width: expression(oBODY.clientWidth +'px');
height: expression(oBODY.clientHeight+'px');
*/
overflow-x: hidden;
overflow-y: hidden;
}

</style>

<![endif]-->


<script language="JavaScript" type="text/javascript"><!--
//--></script>

</head>

<body bg='logo.jpg'>
<!--[if IE]>
<div id=oBODY>
<![endif]-->text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
<!--[if IE]>
</div>
<![endif]--><div id=oFIXED>
<table id="testTable"><tr><td>this is a fixed box</td></tr></table>
</div>
</div>
</body></html>
 
J

Jens Peter Karlsen[FP-MVP]

It is not there because you have this:
<body bg='logo.jpg'>
There is no attribute called bg. It should be background="logo.jpg"
instead.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: java script help needed [mailto:thank you for your help]
Posted At: 28. juli 2004 02:32
Posted To: microsoft.public.frontpage.programming
Conversation: i have a fixed text box that is requiring a value to be
added when needed, but now i have this my fixed background image has
gone
Subject: Re: i have a fixed text box that is requiring a value to be
added when needed, but now i have this my fixed background image has
gone


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<title>Scroll...</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">

<style type="text/css">

HTML, BODY, #oFIXED {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
border: none;
}

BODY {
background: #c0c0c0;
}

#oFIXED {
position: fixed;
top: 0;
left: 0;
z-index: 5;
width: auto;
height: auto;
}

#testTable {
margin: 10px;
background: #ff0;
border: 2px solid #000;
}

#testTable td {
padding: 10px;
}

</style>

<!--[if IE]>

<style type="text/css">

HTML, BODY, #oFIXED {
overflow-x: hidden;
overflow-y: hidden;
}

BODY, #oBODY {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}

#oBODY {
background: #c0c0c0;
z-index: 4;
overflow-x: auto;
overflow-y: auto;
}


#oFIXED {
position: absolute;
/*
width: expression(oBODY.clientWidth +'px');
height: expression(oBODY.clientHeight+'px');
*/
overflow-x: hidden;
overflow-y: hidden;
}

</style>

<![endif]-->


<script language="JavaScript" type="text/javascript"><!-- //--></script>

</head>

<body bg='logo.jpg'>
<!--[if IE]>
<div id=oBODY>
<![endif]-->text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
text 2 scroll<br>
<!--[if IE]>
</div>
<![endif]--><div id=oFIXED>
<table id="testTable"><tr><td>this is a fixed box</td></tr></table>
</div> </div> </body></html>
 
M

Murray

LOL. That's a case of not being able to see the trees for the forest.

But how could he then have seen the background at all?
 
J

Jens Peter Karlsen[FP-MVP]

He probably changed something. For instance, he could have specified it
in his CSS (which I would recommend since he already uses CSS).

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.

-----Original Message-----
From: Murray [mailto:[email protected]]
Posted At: 28. juli 2004 15:02
Posted To: microsoft.public.frontpage.programming
Conversation: i have a fixed text box that is requiring a value to be
added when needed, but now i have this my fixed background image has
gone
Subject: Re: i have a fixed text box that is requiring a value to be
added when needed, but now i have this my fixed background image has
gone


LOL. That's a case of not being able to see the trees for the forest.

But how could he then have seen the background at all?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top