[Javascript] positioning an element

Peter Brunone peter at brunone.com
Mon Jul 19 13:31:40 CDT 2004


	You mean if the page is in the browser cache, it won't do normal
startup tasks?  That doesn't seem right...

-----Original Message-----
From: javascript-bounces at LaTech.edu  On Behalf Of Iztok Polanic

Hi!

I already tried both but without luck. Sometime it works sometimes it
doesn't :( It depends if the page is in browser cache.

Bye,

Iztok 
-----Original Message-----
From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu]
On Behalf Of Peter Brunone

Hi Iztok,

	No vacation here; I'm still slaving away.

	You could add an onLoad function to the body, or you could put a
positioning script at the bottom of the page (which might or might not
work).  For example...

<script language="javascript">
function moveMe() {
	// do positioning here
	}
</script>

<body onLoad="moveMe()">

Cheers,

Peter Brunone
_______________
EasyListBox.com

-----Original Message-----
From: javascript-bounces at LaTech.edu
[mailto:javascript-bounces at LaTech.edu] On Behalf Of Iztok Polanic

Hi!

I know that this is the time for a vacation, but I hope there are still
some people out there that have to work ;) 
I'm using javascript to position an element on the right x, y
coordinates. Because x,y coordinates are gathered from an another object
on the page, I was wondering, if it is possible to position this object
when the page is fully loaded. Can this be accomplished?

Bye,

Iztok 





More information about the Javascript mailing list