Announcement

Collapse
No announcement yet.

dropdown list customisation

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    dropdown list customisation

    On my site I have a dropdown list that shows sections and subsections in the form

    section
    -subsection
    --subsection

    Is it possible to colourise and/or underline the "section" component?

    Also, I have implemented "creating a page of thumbnails" based on the "actinic advanced users guide".

    Unfortunately, because of this the sub-sections that are created for each individual product are showing up in the above mentioned dropdown. Is there any way to omit these from the dropdown list?

    Thanks Kevin

    #2
    With regards to your first point, there is no way to format specific entries within a drop-down list. The only thing you can do is enter your own HTML within the JS code in the <HEAD> section of the Primary template to make the top line look bolder.

    e.g. in the following line, I have added in asterisks that will appear either side of the product name (inserted by ' + ar[i].sName + ')

    if (ar[i].sURL !=null)
    {
    strIDs += '<OPTION VALUE="' + ar[i].sURL + '&ACTINIC_REFERRER=' + escape(location.href) + '">*' + ar[i].sName + '*</OPTION>';

    With regards to your second point, if your product thumbnails are always at the third level of the section hierarchy then you can remove the lines from the Java Script that includes the section infomration for sections that appear at teh third level of hierarchy.

    I have attached some amended code to this message that will do what you need.
    Attached Files

    Comment

    Working...
    X