Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: minimono on May 10, 2018, 07:19:59 AM

Title: Scroll poster in Display.template.php
Post by: minimono on May 10, 2018, 07:19:59 AM
Mod or Feature Requests. ;D
Scroll poster in Display.template.php same web http://www.discuz.net/thread-3825961-1-1.html

(https://www.img.in.th/images/adf2cc92d6fe519134b68857414ed317.png)


SMF 2.0.15 , PHP 7.1.15
Title: Re: Scroll poster in Display.template.php
Post by: njtweb on May 10, 2018, 09:20:13 PM
Quote from: minimono on May 10, 2018, 07:19:59 AM
Mod or Feature Requests. ;D
Scroll poster in Display.template.php same web http://www.discuz.net/thread-3825961-1-1.html

(https://www.img.in.th/images/adf2cc92d6fe519134b68857414ed317.png)


SMF 2.0.15 , PHP 7.1.15

Do you mean you want a floating avatar like a floating menu?
Title: Re: Scroll poster in Display.template.php
Post by: minimono on May 10, 2018, 10:04:58 PM
Quote from: njtweb on May 10, 2018, 09:20:13 PM
Do you mean you want a floating avatar like a floating menu?

Yes!  ;)


SMF 2.0.15 , PHP 7.1.15
Title: Re: Scroll poster in Display.template.php
Post by: GigaWatt on May 11, 2018, 09:30:53 PM
I don't know about you guys, but IMO this would be very distracting and confusing. "OK, I've seen who posted this, now I would like to read the post, not have a floating avatar following me throughout the entire post".
Title: Re: Scroll poster in Display.template.php
Post by: shawnb61 on May 11, 2018, 10:05:57 PM
Might be handy if there are lots of lengthy posts,  such as reviews, stories, long-way-to-tip-a-rarry jokes... 

Possibly just a .css change?   Hmmm...
Title: Re: Scroll poster in Display.template.php
Post by: Pipke on May 12, 2018, 04:10:36 AM
some kind of fork of smf ->https://wedge.org/ has this future on there forums, maybe you could ask support there how its done.
Title: Re: Scroll poster in Display.template.php
Post by: Pipke on May 14, 2018, 05:02:22 PM
add this to your index.css


div.poster {
top: 6px;
position: sticky;
                position: -webkit-sticky;
}
Title: Re: Scroll poster in Display.template.php
Post by: GigaWatt on May 14, 2018, 05:57:01 PM
Can this be done via css in this (https://www.simplemachines.org/community/index.php?topic=559471.0) case too?
Title: Re: Scroll poster in Display.template.php
Post by: minimono on May 15, 2018, 12:24:09 AM
Quote from: Pipke on May 14, 2018, 05:02:22 PM
add this to your index.css


div.poster {
top: 6px;
position: sticky;
                position: -webkit-sticky;
}


Thank you very much.  ;D