Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to disable auto Jump to an item?

KunalKunal
edited June 2012 in Vanilla 2.0 - 2.8

Check the example

http://edgeineersclub.com/developers/discussion/10/difference-between-exception-and-error#Item_4

This url automatically scrolls to item 4. This is causing problems if the forum is embed. The forum is automatically scrolled but there are no scrolling bars. How can I disable this?

You may not realize the problem because it is being caused in small screens (low resolution) only.

Best Answer

  • 422422 Developer MVP
    Answer ✓

    Mate it was a suggestion, you chose to use embed. Which brings a whole heap of issues.

    There was an error rendering this rich post.

Answers

  • whu606whu606 I'm not a SuperHero; I just like wearing tights... MVP

    @Kunal

    The user is always taken to the last post they have read when they revisit a thread.

    I'm not sure you'd want to turn that off.

  • KunalKunal
    edited June 2012

    @whu606.... Of course I don't want to, but it is showing bugs in embed version. It is automatically scrolled down (out of frame) and there is no way to scroll up. What can be the issue?

  • 422422 Developer MVP

    Iframe scroll maybe try the download here http://vanillaskins.com/downloads/

    There was an error rendering this rich post.

  • It will look weird. Two vertical scrolls on the same page?

  • 422422 Developer MVP
    Answer ✓

    Mate it was a suggestion, you chose to use embed. Which brings a whole heap of issues.

    There was an error rendering this rich post.

  • KunalKunal
    edited June 2012

    @422 Very true. How can I change dimensions of iframe? I have inpected the element using chrome & it is displaying width=100% and height=1000px. Height should also be 100%.

    Updated:

    I have found this in remote.js but of no use. The height is set to be 100% but still it is 1000px.

  • Actually there is some issue. In fresh vanilla, height of iframe is automatically set according to height of content. Where can be the issue in my files?

    (Change the topic name as : Scrolling Issues with Vanilla Embed).

  • peregrineperegrine MVP
    edited June 2012

    you can change Iframe dimensions in remote.js.

    http://vanillaforums.org/discussion/comment/162440/#Comment_162440

    maybe all the social networking plugins are taking so long to load - it is messing with the timing of the page and computing the sizing. Try removing all the external links to facebook twitter, etc within the vanilla discussions page itself see if that improves things.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

  • Whos Online Plugin Caused the error.

Sign In or Register to comment.