PDA

View Full Version : Help building Menu using AJAX function



FionaSpence
05-23-2007, 02:17 AM
Hey Team

http://www.dynamicdrive.com/dynamicindex17/ajaxincludes.htm

I'm very thankful for the AJAX script above. I have applied it to my site I'm building which features an expand/collapse menu on the left for navigation. I'm using boring on Imageready and HTML to build it, which is quite constraining.

I've had a win with applying the ajax 'call external source' feature for the navigation which has worked nicely, and saves me from duplicating DW Template files all over the place with different navigation tables. Trouble is, when I click on the 'level 2' navigation, I need the image to display an 'over' state which it doesn't - as I'm calling the original menu to display. Is there a piece of javascript which I can add to say 'call this page, display this image differently'?

Your help is very much appreciated.

Mrs Spence