Topic: stupid basic milker Pages that link to <a href="https://ozoneasylum.com/backlink?for=9531" title="Pages that link to Topic: stupid basic milker" rel="nofollow" >Topic: stupid basic milker\

 
Author Thread
mikey milker
Paranoid (IV) Mad Scientist

From:
Insane since: Apr 2000

IP logged posted posted 09-28-2002 03:47 Edit Quote



imagine that appears in a pop-up window, okay? how would i go about coding the page if i wanted the grey boxes to be stationary images that served as links, while the text in the middle would be scrolled up and down with the standard scrollbar. also, realize i'd want the text to "disappear" below the top boxes and above the bottom box so there'd be no overlay.

in my head the easiest way to do it would be to break the design into three blocks with css, having the top and bottom ones remain stationary while the middle one would scroll within its defined area. is this, uhhh... possible though?

your woefully inept coder,
mikey milker

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

IP logged posted posted 09-28-2002 04:39 Edit Quote

In theory, position:fixed will keep an element fixed even when the page is scrolled. In practice, no browsers support this (perhaps mozilla).

So, much as I hate to say it, your best bet may be using frames. If you hate frames as much as I do, then you'll probably have to resort to making two DIVs, one for the top and one for the bottom, and setting them (via position:absolute) to the correct positions in order to overlap the content, and reset their positions every time the window is scrolled.

Of course, I question your use of a popup in the first place =)

mikey milker
Paranoid (IV) Mad Scientist

From:
Insane since: Apr 2000

IP logged posted posted 09-28-2002 07:20 Edit Quote

i don't like that answer.

is there like a fancy code-compliant way to do frames these days? or am i resorting to that ugly stuff i was doing many, many weeks ago.

Quade
Nervous Wreck (II) Inmate

From: Hell
Insane since: Sep 2002

IP logged posted posted 09-28-2002 08:08 Edit Quote

There's always DHTMl, as Slime suggested. You could write/design your own scrollers.

Alternately, you could use an IFrame (IE4+, NN6, Moz only) and have your rows of images above and below the text to scroll. Using fairly common CSS tricks, you could color and re-border the IFrame so that it doesn't look so much like the crap that frames are.

Try something like:
<img src="whatever"><br>
<iframe src="http://thegeekhouse.com/emoticons.html" frameborder="0" width="275"></iframe>
<img src="whatever"><br>


I like Evil, yes I do! I like Evil, how 'bout you?

brucew
Paranoid (IV) Inmate

From: North Coast of America
Insane since: Dec 2001

IP logged posted posted 09-28-2002 14:26 Edit Quote

Understanding that I've not done this myself and am offering only a theory...

I think you're on the right track with three DIVS, all of fixed sizes. The middle DIV, the one where content should scroll, would use the overflow property to control the scrolling, as described here: http://www.w3.org/TR/CSS2/visufx.html#propdef-overflow

Worth a try anyway.

<edit>

Ah ha! It works!
http://www.brucew.com/ozone/scrollingdiv.html

</edit>

"the most incredible feats are often accomplished by
those who have had the most incredible challenges"

[This message has been edited by brucew (edited 09-28-2002).]

[This message has been edited by brucew (edited 09-28-2002).]

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

IP logged posted posted 09-28-2002 21:21 Edit Quote

Oh! Well I'll be damned, that works, how cool. This will force me to re-think some of the latest code I'm producing for a client, where I'm relying heavily on <iframe>s for inserted content. (It's a back-end system, so I can insist on IE6/Mozilla, thus eliminating old browser problems.) Burce my man, nice work. Mikey, I know what you're looking for too, I had a similar dream, but alas, it never worked for me. Stupid basic... my ass!

Your pal, -doc-

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

IP logged posted posted 09-28-2002 22:36 Edit Quote

More info on that kind of thing here:
http://faq.ozoneasylum.com/189/

The problem is that overflow:auto on works in recent versions of IE and NS and unless you plan things correctly can break nastily in Opera and NS4.x and other browser.

To get that exact effect I would imagine you using some kind of DHTML to float those boxes in the right place (the CSS position: fixed idea isn't supported by most versions of IE which makes it problematic to implement as it is the most used [as opposed to popular] browser) - now where the Hell did we leave the 'all browsers suck' forum?

___________________
Emps

FAQs: Emperor

mikey milker
Paranoid (IV) Mad Scientist

From:
Insane since: Apr 2000

IP logged posted posted 09-29-2002 06:10 Edit Quote

uuhhh.. what's an opera got to do with my web page? did i miss something?

anyway, that looks real purty bruce -- thank you x 1,000,000. i thought i'd never find a way to make it happen.

and when doc can't figure it out there's definitely no way i'd ever have a shot in hell of cracking it.

i'll play around with the code next weekend hopefully and i'll post the results so everyone can laugh and point.

cheers.mikey.milker



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu