tags:

views:

60

answers:

1

I'm an irritating newbie to webOS...so I know you'll all be able to help me immediately...

I have 2 divs each containing an image, each on top of each other via z-index.

I want to be able to hide one and show another or visa vera.

Each div is called div1 and div2.

In other words on the click of a button I show div1 and on the click of another button I hide div1 and show div2.

What's the syntax?

+4  A: 

Scratch that; I was being a complete and utter retard.

Oliver