SunQuest
           Client Side Things
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesClient Side Things

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 Codewalkers Forums Sponsor:
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
  #1  
Old April 18th, 2004, 07:09 PM
linal linal is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Westcliff-on-Sea
Posts: 3 linal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Layers: Constant Position

Hey is it possible to position a layer so that it's always the same position away from the edge of the browser. For example it was always in the top left hand corner of the page even when the user scrolled down.

Thanks

Reply With Quote
  #2  
Old April 18th, 2004, 07:27 PM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Layers: Constant Position

can be done, with position: fixed; but doesn't work in IE. have to do it with javascript (but i don't like JS).

Reply With Quote
  #3  
Old April 18th, 2004, 07:33 PM
linal linal is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Westcliff-on-Sea
Posts: 3 linal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Layers: Constant Position

Thanks, damn IE Does anyone know how to do this in JS?

Thanks

Reply With Quote
  #4  
Old April 18th, 2004, 07:36 PM
zombie zombie is offline
Codewalkers Intermediate (1500 - 1999 posts)
 
Join Date: Apr 2007
Location: serbia
Posts: 1,876 zombie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 3
RE: Layers: Constant Position

search for ie7. it's a JS extension for the ie6. i think it includes fixed position..

Reply With Quote
  #5  
Old April 18th, 2004, 07:46 PM
linal linal is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Westcliff-on-Sea
Posts: 3 linal User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
RE: Layers: Constant Position

php Code:
Original - php Code
  1.  
  2. <html>
  3. <head>
  4.     <title></title>
  5.     <style type="text/css">
  6.     body {margin:0; padding:0 10px 0 10px; border:0; height:100%; overflow-y:auto; background:rgb(123,187,221);}
  7.     * html #menu {position:absolute;}
  8.     </style>
  9.         <!--[if IE 6]>
  10.         <STYLE type=text/css>
  11.         /*<![CDATA[*/
  12.         html {overflow-x:auto; overflow-y:hidden;}
  13.         /*]]>*/
  14.         </STYLE>
  15.         <![endif]-->
  16.     </head>
  17.     <body>
  18.         <div id="menu">
  19.             DUMMY MENU
  20.         </div>
  21. </body>
  22. </html>


Found that but im not sure if it works in anything before IE6 tho.

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesClient Side Things > Layers: Constant Position


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 6 hosted by Hostway