Menu
Hi all,
I’m quite new to javascript, having some difficultly accomplishing a goal. I want to have a block of text wtih overflow:hidden, and when you mouse over this box an image pops up prompting you to click on it, when you click on it– the overflow is set to automatic.
I believe I need to use two functions, one for the hover, one for the click.
so far I have the following for the javascript, something tells me it is horrendously incorrect.
function mouseover(id) {
document.b1.src=”./dropdown.jpg”;
}
function onclick(id) {
document.b1.display = “scroll:auto”
Anyone know a good way to do this?