HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 5th, 2000, 04:32 PM
flourish flourish is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2000
Location: Houston, TX
Posts: 1 flourish User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I can work with an element's position and sizes in ie with document.all[elementID].style.<p-attribute>. I can use this to set the left, height, width, top, etc. The problem I'm having is getting those positions prior to positioning.

I have a stable element. I want to position another element to it. But when I try to get document.all[stable].style.left I get no value unless I've positioned the stable element with javascript. But I don't want to. I want to use its inherent and automatic position.

Basicly, I'm writing a simple drop down menu system. I found some pluggable solutions, but I don't like having to use their conventions, and they do a lot more than I need in most cases. And I'll be storing the menus in xml format. I'd rather transform them to a nice html format rather than javascript arrays or some other nonsense.

Thanks,
Matt

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > trying to reposition elements


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway