Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Floating Div Layer

Reply
Thread Tools

Floating Div Layer

 
 
Brian D
Guest
Posts: n/a
 
      05-08-2007
I am trying to reproduce the following type of floating div

http://configure.us.dell.com/dellsto...201&s=biz&fb=1

If you notice the box on the right does not start to move until the
top of window goes past the top of the box. All of the scripts that I
have found make the box move immediately after the scrolling begins.

Any assistance finding a script or letting me know what causes the box
to not move immediately would be appreciated.

Thanks,
Brian

 
Reply With Quote
 
 
 
 
ASM
Guest
Posts: n/a
 
      05-08-2007
Brian D a écrit :
> I am trying to reproduce the following type of floating div
>
> http://configure.us.dell.com/dellsto...201&s=biz&fb=1


Thanks for this link : "We're unable to process your request"

> If you notice the box on the right does not start to move until the


I did notice nothing at all !
(anyway my browser knows what is a fixed layer)
Seen any box on the right.

> top of window goes past the top of the box. All of the scripts that I
> have found make the box move immediately after the scrolling begins.


of course ! immediately after and not before.
how the bowser could imagine you will move the point of view (you will
scroll)

> Any assistance finding a script or letting me know what causes the box
> to not move immediately would be appreciated.


Ho! you want that starts after a little wait ?

onscroll="setTimeout('slideMyBox()', 200);"




--
Stephane Moriaux et son (moins) vieux Mac déjà dépassé
 
Reply With Quote
 
 
 
 
Brian D
Guest
Posts: n/a
 
      05-09-2007
Maybe this will make more sense. Go to:

http://tempsite.texwipe.com/test/float.asp

As soon as you begin to scroll the blue box begins to move. I do not
want it to move until I have scrolled far enough down the page that
the any part of the box would be covered. I end up with a large white
gap at toe top of the page after I begin to scroll. I want the box to
stay at the top of the viewable window.

Do you understand what I am trying to accomplish. I know this can be
done b/c I have seen it before.

Thank,
Brian

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
<div ... /> and <div ...></div> K Viltersten ASP .Net 4 03-31-2009 07:33 PM
business layer, data access layer , presentation layer for asp.net using C#.net Dhananjay ASP .Net 1 12-18-2006 11:35 PM
NS/FF don't change div offsetWidth when div innerHTML is added toand div becomes wider mscir Javascript 3 06-26-2005 04:04 PM
Q: Div A inside Div B is larger than Div B Dwayne Madsen Javascript 1 06-01-2005 03:02 PM
CSS: How to position a DIV below a floating DIV? Tamlyn Rhodes HTML 3 02-26-2004 10:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57