Advertisement:

Author Topic: Scroll poster in Display.template.php  (Read 981 times)

Offline minimono

  • Semi-Newbie
  • *
  • Posts: 23
Scroll poster in Display.template.php
« 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 [nofollow]




SMF 2.0.15 , PHP 7.1.15

Online njtweb

  • Sr. Member
  • ****
  • Posts: 702
Re: Scroll poster in Display.template.php
« Reply #1 on: May 10, 2018, 09:20:13 PM »
Mod or Feature Requests. ;D
Scroll poster in Display.template.php same web http://www.discuz.net/thread-3825961-1-1.html




SMF 2.0.15 , PHP 7.1.15

Do you mean you want a floating avatar like a floating menu?

Offline minimono

  • Semi-Newbie
  • *
  • Posts: 23
Re: Scroll poster in Display.template.php
« Reply #2 on: May 10, 2018, 10:04:58 PM »
Do you mean you want a floating avatar like a floating menu?

Yes!  ;)


SMF 2.0.15 , PHP 7.1.15

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,870
  • Gender: Male
    • Macedonian electronics forum
Re: Scroll poster in Display.template.php
« Reply #3 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".
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Online shawnb61

  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,150
    • sbulen on GitHub
Re: Scroll poster in Display.template.php
« Reply #4 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...
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

Offline Pipke

  • Full Member
  • ***
  • Posts: 459
    • [NRNS]
Re: Scroll poster in Display.template.php
« Reply #5 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.

Offline Pipke

  • Full Member
  • ***
  • Posts: 459
    • [NRNS]
Re: Scroll poster in Display.template.php
« Reply #6 on: May 14, 2018, 05:02:22 PM »
add this to your index.css

Code: [Select]
div.poster {
top: 6px;
position: sticky;
                position: -webkit-sticky;
}

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • SMF Hero
  • *
  • Posts: 1,870
  • Gender: Male
    • Macedonian electronics forum
Re: Scroll poster in Display.template.php
« Reply #7 on: May 14, 2018, 05:57:01 PM »
Can this be done via css in this case too?
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."

Offline minimono

  • Semi-Newbie
  • *
  • Posts: 23
Re: Scroll poster in Display.template.php
« Reply #8 on: May 15, 2018, 12:24:09 AM »
add this to your index.css

Code: [Select]
div.poster {
top: 6px;
position: sticky;
                position: -webkit-sticky;
}

Thank you very much.  ;D