www.webdeveloper.com
Results 1 to 2 of 2

Thread: Dynamic content on website

  1. #1
    Join Date
    Jan 2014
    Posts
    1

    Dynamic content on website

    Hi, im going to be making a website, i want to have two collums, one on each side with buttons, and when a button is clicked content will appear in the center of the website, idk if its called the content pane or w/e. So if a button is clicked then a youtube video will appear in the center content pane, if another button is clicked an article will appear in the center content pane etc. I do some programming, but web development is not what i normally do, so i dont really know how to go about this or what i should look into, i assume java script can do this from what i know. Any help or pointing me in the right direction would be appreciated.

    thanks.

  2. #2
    Join Date
    Oct 2013
    Posts
    490
    An iframe will do what you want. Very quickly:
    Code:
    <a href="content_file1" target="display">Text or image here</a>
    <a href="content_file2" target="display">Text or image here</a>
    <iframe width="400" height="400" name="display" id="display"></iframe>
    Change to suit your needs.
    Last edited by Kevin2; 01-04-2014 at 10:52 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles