links

css Belgium
  • 14 years ago

    If i would click a link in frame A is it possible to open a page in frame B and C at the same time?

  • 14 years ago
    set target for the frame
  • 14 years ago

    setting a target will only direct the link to one of the frames.... Smiley Face [:)]

    best thing to do would be to use JavaScript, like this:

    <p>Click <span style="cursor: hand;" onclick="parent.frames.frameA.location.href='page.html'; parent.frames.frameB.location.href='page.html';">here</span> to set both frames A and B to page.html.</p>

    So you're not actually using a href tag at all... and I've used a bit of CSS to emulate the hand cursor so that it feels like a normal link.

    Hope that's clear, post back if you have any difficulties! Big Smile [:D]

  • 14 years ago
    Thank you very much, it does the trick just fine :)   

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Beware of bugs in the above code; I have only proved it correct, not tried it.” - Donald Knuth