I found the solution. Thanks Eldarwen.
"finally realised that in code view my Show Menu which I had selected using the GUI view was showing as "ShowMenu" and was giving an in-line menu with hyperlinks. When I changed it to "show menu" (in code view) it worked."
viewtopic.php?f=10&t=6007