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

Keith Clarke keith.clarke at clarkeandclarke.co.uk
Fri Jun 10 15:28:20 EDT 2011


Ah great - thanks Mark! I ignored the obvious as I thought position was just about relative positioning within nested containers, but you seeded my Google search perfectly http://www.w3.org/Style/Examples/007/menus
Best,
Keith..

On 10 Jun 2011, at 20:12, Mark Schonewille wrote:

> 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.. 
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list