Click to See Complete Forum and Search --> : Moving Note Cards...


Mishy
02-10-2003, 11:04 PM
Hi,

My problem concerns Moving Note Cards (http://www.htmlgoodies.com/beyond/dhtml5.html).
I want to use 'tab 1' as my 'contents page' which contains links on it. I want these links to go to a specific tab.
eg. link 1 => tab 2, link 2 => tab 3, etc..

I've tried using page jump tags <a href="#tab2"> and <a name="tab2"> but that moves the page down, it doesn't change tabs.

Could someone please show me how it's done? Please see attachment for my dhtml example.

Thank you,
Michelle :)

skriptor
02-11-2003, 03:22 AM
Hi,
try this:

<a href="#" onclick="getElementById('t2').click()">Link 1 - Click here to go to tab 2</a>

Good luck, skriptor

Mishy
02-11-2003, 04:02 AM
Thank you for replying so quickly, skriptor.

It works perfectly! :)

Michelle.