How to link to a page in a frame??

Discussion in 'HTML & Website Design' started by tinggg, Nov 8, 2007.

  1. #1
    Hi

    I'd like to link to the Sale of Goods Act 1908 - however the page is in frames with the url:

    http://www.legislation.govt.nz/browse_vw.asp?content-set=pal_statutes

    If I rightclick on the Sale of Goods Act 1908 link the url addres is:

    javascript:docLnk('{8A1E5}')

    I've tried various targeting variations, like...:
    ...but I still can't get it to link directly to the Sale of Goods Act main page - is it possible to link directly to this page or are the frames setup so that this is not possible? I'd like the link to open in the same page.


    Many thanks
     
    tinggg, Nov 8, 2007 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I feel a case of foot in mouth disease coming up, but did you do a view source on the frameset page itself to determine the URL of the page in question?

    (Remember, it is possible that they could be using a framesetting script to put any requests for the actual page into the frameset - but then again, I'm not a fan of government sites that aren't even accessible to begin with.)
     
    Dan Schulz, Nov 8, 2007 IP
  3. tinggg

    tinggg Active Member

    Messages:
    46
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #3
    Hi Dan, the source code wasn't helpful at all, however I did get a helpful reply from somewhere else and for those of you who may have a similar problem in the future - here's the solution:

     
    tinggg, Nov 8, 2007 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ok... just make sure you encode those amphersands in your link source so that & becomes &
     
    Dan Schulz, Nov 8, 2007 IP