SMF Development > Fixed or Bogus Bugs

The Way Preview Works

<< < (3/3)

emanuele:

--- Quote from: Antechinus on April 12, 2012, 02:59:16 PM ---Hmm. Minor javascript wonkiness there. Move it to Bug Reports. :)

--- End quote ---
You!
Stop moving things here! :P

Antechinus:
I didn't move it. Wasn't me, guv. Blame t'other bloke. I'm innocent. :P

K@:

--- Quote from: emanuele on April 12, 2012, 03:11:55 PM ---Just to understand: you would like that on posts preview after the preview is generated, the screen is moved at the top of the preview?

--- End quote ---

Seems logical, Mannypoos. ;)

Krash.:

It tries to do that, but if the post is only a couple of lines, the page doesn't move up far enough to show the preview.

emanuele:

--- Code: (find) --- if (typeof(smf_codeFix) != \'undefined\')

--- End code ---


--- Code: (add before) --- location.hash = \'#\' + \'preview_section\';


--- End code ---

That should work.

Navigation

[0] Message Index

[*] Previous page

Go to full version