I need to create expandable ads that will work in iOS, thus no Flash.
I am a front end web designer with no JS knowledge. I have found some sample code for how to create an expandable ad, however, it incorporates flash to activate the expand and retract JS functions.

Can I create expandable ads using .gif or .jpg image(s)?

for example: 320x50 mobile ad that expands to 320x480 full screen on tap.

Any insight how to do this would be greatly appreciated.