• I came across this site and like when you press one of the five images, the text displays on the same page. I would have thought they were using iframes to do this but I don’t believe they are. How would I accomplish the same kind of functionality in WordPress!

    Here is the site –

    http://gentrycapital.ca/index-1.html

Viewing 1 replies (of 1 total)
  • Looks nice on PC, but try to open that page on a small mobile screen, or on a screen-reader…

    Anyway. You use javascript for this. A push of a button and a javascript will go and replace the content of a named DIV or SPAN with various images (i.e. NOT accessibility-friendly)

    If you hit CTRL-U while on that page, you’ll see the underlying html-code where the script is included from a separate file using <script src="filename.js" type="text/javascript"> with scripts firing on various events.
    (Except on my browser, where scripts execute only on white-listed domains, I just get a white spot in the middle, by default it’s filled with … nothing.)

Viewing 1 replies (of 1 total)
  • The topic ‘Page functionality’ is closed to new replies.