Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] positioning an element


  • From: iztok.polanic at amis.net (Iztok Polanic)
  • Subject: [Javascript] positioning an element
  • Date: Mon Jul 19 15:27:45 2004

Hi!

No no. If the page is in the cache then it works like a charm. Here are some
more details. First, the script gets the height of an object. This object is
a table which height depends from page to page. If the table is loaded
before the positioning of another object then it works, but sometimes, the
other object (not the table) is loaded befor the table and the object isn't
positioned on the right place. For a more detail view you can check at
www.intering-holding.si What you should look for are the two images (kg
rakican and sgp pomgrad). The site iz in Slovenian language so don't be
scared ;)

Bye,

Iztok 
-----Original Message-----
From: javascript-bounces@xxxxxxxxxx [mailto:javascript-bounces@xxxxxxxxxx]
On Behalf Of Peter Brunone
Sent: 19. julij 2004 20:32
To: '[JavaScript List]'
Subject: RE: [Javascript] positioning an element


	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@xxxxxxxxxx  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@xxxxxxxxxx
[mailto:javascript-bounces@xxxxxxxxxx]
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@xxxxxxxxxx
[mailto:javascript-bounces@xxxxxxxxxx] 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 


_______________________________________________
Javascript mailing list
Javascript@xxxxxxxxxx
https://lists.LaTech.edu/mailman/listinfo/javascript