SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2003
    Location
    Sydney Australia
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Acts like and iframe? How to please.

    hi all,
    Am I in the right forum?

    I would like to be able to use the function on this page. It behaves like an iframe but i can't find the word iframe in the page code.

    http://www.boardofstudies.nsw.edu.au...in-course.html



    When one of the items under Select images is clicked the bottom part of the page goes to the corresponding content. Looking at the code it seems to hide whatever is not selected ( and show what is selected).

    Would like to know how to do this. Though my knowledge of code is pretty basic i might be able to adapt and edit...

    Thanks a lot. : o )

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    It's done with JavaScript, in this case using a pretty simple jQuery script. I have a stripped-down demo of the same thing here:

    http://pageaffairs.com/code/code-for-creating-tabs
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."

  3. #3
    SitePoint Enthusiast
    Join Date
    Sep 2003
    Location
    Sydney Australia
    Posts
    90
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you Ralph M.
    Merry everything to ya.

    Ralph G.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,117
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Merry the whole lot of it to you, too.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Bookmarks

Posting Permissions

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