Support » Fixing WordPress » Scrolling section in post

  • Please be gentle – I’ve been around enough to work out that people hate scrolling and iframes are the work of Satan … but I can’t quite seem to find a straight answer to this:

    See this: Extending WordPress: Themes

    I would like to create a template that allows me to add content to a post (or page) – images, specifically – that then “overflows” so that the viewer scrolls right/left to view them.

    The effect I am after is *exactly* that illustrated in the linked example. I want to say within the confines of the theme – just scroll horizontally when the content ‘overflows’ – and only on selected posts/pages.

    May I repeat the “be gentle” request? I have looked at the source for this page, searched and found out how people loathe iframes!, hacked around and achieved various “nearly’s” but I’m way out of my depth here. :o)

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am not sure I can help you with the frames… but you may want to take a look at this “horizontal theme”
    http://wordpress.org/support/topic/35738
    (click the testblog link to see it in action)

    Thanks for the pointer to the horizontal theme. Much appreciated, but I want to try and achieve this effect within the confines of a “normal” vertical theme (as in the cited example).

    Still hacking away, but all I have achieved thus far is a vast range of various failures!

    The example to which you point is an iframe itself (be damned Satan):
    <iframe name="themes" id="themes"
    src ="http://wordpress.org/extend/themes/themes.php"
    width="100%" height="372" frameborder="0">
    </iframe>

    Without a link to what you’re trying to do, I would say fool with the overflow:auto or overflow:scroll CSS property on a div section that you declare either a height or width (or both). Who knows, it may work. If it does, post back here with your solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Scrolling section in post’ is closed to new replies.