Jump to content

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


Recommended Posts

Posted

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>

Posted

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

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock