View Full Version : Accordian link loading SWF in Div

02-16-2010, 01:48 PM
I am wanting to create a web page with a vertical navigation panel on the left of the page and because this will includes 'categories' and 'sub categories' (see below)

sub category 1a
sub category 1b
sub category 1c
sub category 1d
sub category 1e

sub category 2a
sub category 2b
sub category 2c
sub category 2e

Ideally I would want the Category tabs when clicked to reveal the sub categories (Accordian)
I have the Spry Accordian set in a Div at the moment in Dreamweaver and the sub categories
open up and function fine. What I would like to achieve is to make all those sub categories links, to insert a SWF in to the div that is located to the right of the vertical nav column. (see attachment simple diagram) So, say sub category 2a was clicked then in the 'SWF display area div', the SWF associated with that link would appear, the if 'sub category 2d' was clicked the same 'SWF area div' was populated with the SWF linked to 'sub category 2d', if 'sub category 2e' was clicked then the SWF associated with 'sub category 2e' would then load into the 'SWF area div'. The attached image may make things clearer.

Many thanks in advance for any assistance you can give me.