[Slightly OT] CSS or Javascript for a web page div that ignores vertical scrolling?

Mark Schonewille m.schonewille at economy-x-talk.com
Fri Jun 10 15:12:01 EDT 2011


Hi Keith,

Set the position style property to fixed.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce

On 10 jun 2011, at 20:53, Keith Clarke wrote:

> Hi folks,
> I'm having a little trouble with search terms for sorting the web page that will contain my project revlet...
> 
> I want to place a little floating widget part-way down the right margin of the web page that stays put vertically wrt the browser window as the lengthy, underlying page contents is scrolled vertically. I'm not sure if this means the div is following the scroll or ignoring it but the desired behaviour wrt scrolling is like the 'Free Trial' and 'What's New' images on www.runrev.com  
> 
> Is this ignore/follow vertical scroll behaviour settable via CSS (if so, can someone please name the guilty tag so I can Google it) or do I need to look at Javascript & jQuery?
> 
> Oh, if it's matters, the div won't be just an image container, it is destined to contain dynamic content managed via Javascript and use a couple of jQuery functions - but I'll learn about them once I have a box to house the content!
> Best,
> Keith.. 






More information about the use-livecode mailing list