Scrolling section in post (4 posts)

  1. cloudhopper
    Posted 10 years ago #

    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)

  2. moshu
    Posted 10 years ago #

    I am not sure I can help you with the frames... but you may want to take a look at this "horizontal theme"
    (click the testblog link to see it in action)

  3. cloudhopper
    Posted 10 years ago #

    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!

  4. Kiddeath91
    Posted 10 years ago #

    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">

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic