Norman, is there anyway to add a title to the link and alt to the '+' image?
i.e.
<li class="nsc"><div><img class="nsi" src="store/c-n.gif" alt="click to expand" /> <a class="nsa" href="store/Middle_East.html" ="Middle East" >Middle East</a></div></li>
tia
title for links, alt for images
Re: title for links, alt for images
Go to Design / Library / Layouts / Collapso-5 Dynamic Menu / Collapso-5 Menu and edit the code there (back the layouts code up to a text file first). Look for
<img
and add the appropriate code depending on whether it's the c-p.gif or c-n.gif (plus and minus).
Note that some of these lines are PHP code so you'll have to escape double quotes with a backslash. See what's there for guidance.
Also for the Title tag, look for
<a
and amend to something like
<a title=\"$linkname\"
Note that this layout is split into 3 areas.
1) Code that displays Brochure pages (not PHP so don't escape quotes).
2) Comments describing the generated HTML (no point amending this as it's informative only).
3) Code that generates the Section menu.
<img
and add the appropriate code depending on whether it's the c-p.gif or c-n.gif (plus and minus).
Note that some of these lines are PHP code so you'll have to escape double quotes with a backslash. See what's there for guidance.
Also for the Title tag, look for
<a
and amend to something like
<a title=\"$linkname\"
Note that this layout is split into 3 areas.
1) Code that displays Brochure pages (not PHP so don't escape quotes).
2) Comments describing the generated HTML (no point amending this as it's informative only).
3) Code that generates the Section menu.
Norman
Re: title for links, alt for images
cheers that worked a treat
Darren
Darren