We help IT Professionals succeed at work.

How to assign layer top at run time.

dashish
dashish asked
on
Hi there,

   I have used div and layer in my asp page,

 Div get its position automatically in IE.

 But Layer positio get disturbed in Netscape as I changed the m/c  
 resolution from 800*600 to 1024*768

  Is there any technique so that I can find out the top of any object and assigned layer top with reference to  the calculate top of  that obect.

All suggestions are always welcome.

 Thanks and regards

 dAshish

 
Comment
Watch Question

Top Expert 2013

Commented:
<grading_history>
   <Qs_asked> 6 </Qs_asked>
   <Qs_graded> 0 </Qs_graded>
   <average_points_offered> </average_points_offered>
</grading_history>
<Possibility_of_help_from_a_dinosaur> ZERO </possibility_of_help_fron_a_dinosaur>

Cd&
Top Expert 2013

Commented:
<ammendment>
   <average_points_offered> 25 </average_points_offered>
</ammendment>

Cd&
Cd&...

There's a fault in your XML code...

<Possibility_of_help_from_a_dinosaur> ZERO </possibility_of_help_fron_a_dinosaur>

It's from...not fron... lol...

But to answer dashish's question...yes there are ways to do that...I did that for a website which you can find here..

http://www.vodwrecruitment.nl/

The menu you see in faint green is being positioned by means of javascript so it will be displayed properly in different resolutions...

Max.
Top Expert 2013

Commented:
Might as well make it an answer Max.  True to form, dashish has again demonstrated they are not worthy of help; and should be kicked off the site.

Cd&
Okiedokie Cd&,

Here I go...

Max.
Well, hello there....welcome back dashish...

It would have been better if you would have just told me what you needed for improvements, that way I might have been able to help you better and the grade B would not have been needed...

But thanks anyway for finishing this question.. :)

Max.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.