linking within a page without using frames?

Discussion in 'OT Technology' started by cedric, Nov 24, 2004.

  1. cedric

    cedric I don't have a contract

    Joined:
    May 9, 2004
    Messages:
    88,516
    Likes Received:
    1
    Location:
    San Francisc:noes:
    I was wondering if there's a way to make it so that a link in one table can open an image in another table within the same page. I don't want to use frames. I'm thinking something like a disjointed rollover without the image appearing until the link is actually clicked.
     
  2. Penguin Man

    Penguin Man Protect Your Digital Liberties

    Joined:
    Apr 27, 2002
    Messages:
    21,696
    Likes Received:
    0
    Location:
    Edmonton, AB
    Yep, you can do it the javascript way like you described by putting an onClick in the <a> tag. Or you can use an iFrame, although I'm not sure whether this is W3C compliant.
     
  3. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
    exact same concept as an image roll-over, and it doesn't require an iframe. basically you have an image with an "id" defined, then you can use jscript to set it's source dynamically.
     

Share This Page