Jump to content

[Request] Help me how to add floating banner script.


Maxtor

Recommended Posts

Can you help me edit the DIV to add a custom IMG instead of it? thanks.

 

<HTML>
<Head>
<Script Language=JavaScript>

var xV1 = 0;
var xV2 = 0;

function stayHome(){	

	nV = document.body.scrollTop;	
	document.getElementById('isFloat1').style.top = xV1+nV;
	document.getElementById('isFloat2').style.top = xV2+nV;
}

function init(){

	xV1 = document.getElementById('isFloat1').offsetTop;
	xV2 = document.getElementById('isFloat2').offsetTop;
}

window.onload=init;
window.onscroll=stayHome;


</Script>
</Head>
<Body>

<DIV id='isFloat1' style='position:absolute;top:50px;left:15%;Height:28px;Padding-Left:10px; Padding-Right:10px;Padding-Top:5px;Padding-Bottom:5px;Width:200px;Border-Top:#C0C0C0 1px solid;Border-Left:#C0C0C0 1px solid;Border-Bottom:Black 1px solid;Border-Right:Black 1px solid;Text-Align:center;background-color:lightblue'> This is Float 1 </Div>

<DIV id='isFloat2' style='position:absolute;top:45%;left:350;Height:30px;Padding-Left:10px; Padding-Right:10px;Padding-Top:5px;Padding-Bottom:5px;Width:200px;Border-Top:#C0C0C0 1px solid;Border-Left:#C0C0C0 1px solid;Border-Bottom:Black 1px solid;Border-Right:Black 1px solid;Text-Align:center;background-color:lightyellow'>
<Select>
<option> Make a selection </option>
<option> First </option>
<option> Second </option>
</Select>
</Div>

<Table><TR><TD>
<p>U.S. Census 2000 pegged Lakewood's population at 56,646. This tally represents a 5.1% DECREASE from 1990. Lakewood is the 14th largest city in Ohio and second largest suburb in Cuyahoga County. 21% of Lakewood's population is under age 18. In racial/ethnic categories census figures show: 52,723 White (93%); 1,116 Black (1.9%); 139 American Indian; 815 Asian; 349 other; 1,504 multi-racial; 1,269 Hispanic. The 1999 effective residential property tax is $77.67 per $1,000 of tax valuation. Cuyahoga County assesses residential property at 35% of the current market value. The average sale price for a home in Lakewood for 1999, the latest year for which data is available, was $121,200. The income tax rate is 1.5%. U.S. Census 2000 pegged Lakewood's population at 56,646. This tally represents a 5.1% DECREASE from 1990. Lakewood is the 14th largest city in Ohio and second largest suburb in Cuyahoga County. 21% of Lakewood's population is under age 18. In racial/ethnic categories census figures show: 52,723 White (93%); 1,116 Black (1.9%); 139 American Indian; 815 Asian; 349 other; 1,504 multi-racial; 1,269 Hispanic. The 1999 effective residential property tax is $77.67 per $1,000 of tax valuation. Cuyahoga County assesses residential property at 35% of the current market value. The average sale price for a home in Lakewood for 1999, the latest year for which data is available, was $121,200. The income tax rate is 1.5%.Lakewood is located along the southern shore of Lake Erie, 5 miles west of Cleveland's Public Square. Lakewood is widely known as the "City of Homes." It offers both the amenities of city living and the charm of a small town.Solidly built one and two-family homes, many with comfortable front porches, line its tree-lined streets. Within Lakewood's 5.6 square miles there is a diversity in housing, from modest single homes to luxury "Gold Coast" condominiums. The northern section of Clifton Park, a residential neighborhood, is listed in the National Register of Historic Places.</p>>U.S. Census 2000 pegged Lakewood's population at 56,646. This tally represents a 5.1% DECREASE from 1990. Lakewood is the 14th largest city in Ohio and second largest suburb in Cuyahoga County. 21% of Lakewood's population is under age 18. In racial/ethnic categories census figures show: 52,723 White (93%); 1,116 Black (1.9%); 139 American Indian; 815 Asian; 349 other; 1,504 multi-racial; 1,269 Hispanic. The 1999 effective residential property tax is $77.67 per $1,000 of tax valuation. Cuyahoga County assesses residential property at 35% of the current market value. The average sale price for a home in Lakewood for 1999, the latest year for which data is available, was $121,200. The income tax rate is 1.5%. U.S. Census 2000 pegged Lakewood's population at 56,646. This tally represents a 5.1% DECREASE from 1990. Lakewood is the 14th largest city in Ohio and second largest suburb in Cuyahoga County. 21% of Lakewood's population is under age 18. In racial/ethnic categories census figures show: 52,723 White (93%); 1,116 Black (1.9%); 139 American Indian; 815 Asian; 349 other; 
</TD></TR></Table>

</Body>
</HTML>

Link to comment
Share on other sites

maxtor,do you really believe that requesting to do something for you,we will do it?

THE REASON?the ignorance you make us on pm's?or for your activity?-_-

 

no offense

 

He always answers in my pms so I am gonna try this.

:P

Link to comment
Share on other sites

Take a look here. There is a post which shows something..

 

http://www.webdeveloper.com/forum/showthread.php?t=74532

 

Or here:

 

http://www.w3schools.com/css/css_padding.asp

Link to comment
Share on other sites

maxtor,do you really believe that requesting to do something for you,we will do it?

THE REASON?the ignorance you make us on pm's?or for your activity?-_-

 

no offense

http://www.maxcheaters.com/forum/index.php?topic=11.0

there are 25 ppl in staff. You can PM them.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...