Click to See Complete Forum and Search --> : onclick image swap advice needed


cate
11-30-2003, 04:33 PM
hi,
i've been reading all threads i can find on this but still stuck.
basically I have a nav bar on the left and when you roll over an image link the text changes colour - i want then for the image to change to an underlined one (so that people know which section theyre in) or something like that, when you click on the link. ( http://www.heneage.com )
the rollover I have done with the help of dreamweaver, but how do I do onclick?
any advice would be great!:)

ray326
11-30-2003, 07:21 PM
Lord have mercy! Please go immediately to http://www.alistapart.com and learn how to do that navigation with lists and CSS.

I assume the thing you want highlighted in some fashion is the section heading rather than the leaf nodes because the leaf nodes seem to have indicators on them. Because this nav bar is not shared across pages (each page reproduces it's own version) you do those headings the same way you're doing the nodes.

cate
12-01-2003, 04:08 AM
thankyou ray, i came up with the arrow idea before you replied - have kind of given up on onclick for the moment - think the arrows will suffice. but will def check out your link to learn more anyway.
thanks for the advice:)

cate
12-01-2003, 04:12 AM
ps. do you mean using CSS instead of the table im using?
If so, is it better in CSS? Ive never really understood why people are so against using tables for layout, if it works... ?