HighDots Forums  

screen size changes layer position

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss screen size changes layer position in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
sbsmithfl
 
Posts: n/a

Default screen size changes layer position - 03-01-2004 , 12:09 PM






Greetings,
I am a low-mid level DWmx designer and CFmx programmer. I'm looking for a
easy to implement/understand way of getting the following done: I need to
setup a system where a page determines what the screen size is, and then
positions a layer at a certain distance from the L margin. Using % or static
px distances are not working.

I'd guess this involves using a series of cfif statements in the head, but I
don't know how to pull the screen size. Thanks so much.

Here is the page address:
[L=http://www.wpta.org/index2.cfm]http://www.wpta.org/index2.cfm[/L] It is
worthy of note that the graphic is on the actual page, and the lookup tool is
on the layer. The graphic is centered, but the layer changes its positions
according to screen size, and is not always under the WI state graphic.

Thanks,
Stephen
Tallahassee, FL


Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: screen size changes layer position - 03-01-2004 , 12:20 PM






sbsmithfl wrote:


Quote:
Here is the page address:
[L=http://www.wpta.org/index2.cfm]http://www.wpta.org/index2.cfm[/L] It is
worthy of note that the graphic is on the actual page, and the lookup tool is
on the layer. The graphic is centered, but the layer changes its positions
according to screen size, and is not always under the WI state graphic.

You either can get the free 'snap layer' extention from
www.projectseven.com look under the extentions listings or you can wrap
your main design in a relatively positioned <div> and then place your
absolutely positioned <divs> inside the relative one. They will take the
x/y positioning from the top/left corner of the relatively positioned
<div> not the edge of the browser window.

Snap layer does just what it says, snaps a layer relative to something
on your page, usually an image.



Reply With Quote
Reply




Thread Tools
Display Modes

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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.