Greetings all.
I am building a web site which will have a few thousand lines of basically song names. I am using a javascript routine that creates an accordion style drop menu. That is displayed on the left side of the page.
On the right side, will be information about each song.
What I want to do is to simply swap the content as the visitor clicks on a song name. Preferably, with that content coming from an external file. Not a hidden division.
I have looked at using file_get_contents() but the examples I have tried do not work as given.
The main menu is all based on <ul> <li> tags.
What other ways can I use to change the contents of the textual content of the displayed division?