Announcement

Collapse
No announcement yet.

Interactive dropdown

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

    Interactive dropdown

    I'm try to incorporate an 'interactive' dropdown into a brochure fragment, where you make a selection, then the dropdown changes to suit the selection made. This is the one I'm using - http://www.javascriptkit.com/script/...velcombo.shtml. I've also tried one which uses two dropdowns but the result was the same.

    This is to provide some question/answer navigation to various pages depending on the final selection from the dropdown. The dropdown test can be seen in a demo site at http://www.artisan14.co.uk/acatalog/...ntro_Page.html.

    The problem is that Actinic is changing the script as follows:

    The original code in the fragment ...
    Code:
    category[1]=new Option("Student", "combo1")
    ... is changed to ...
    Code:
    category<Actinic:Variable Name = '1'/>=new Option("Student", "combo1")
    ... in the page source - there are quite a few of these lines for the different options.

    Any ideas on how to prevent this?

    Malcolm
    ¤ The world wide web needn't cost the earth
    ¤ ARTISAN INTERNET LTD
    ¤ www.artinet.co.uk

    #2
    Where you have [1], change it to [ 1 ] and follow that ideal for all square brackets in a fragment.

    Comment


      #3
      That hit the spot - genius

      Now I know about the square brackets, I'll try my first choice of two dropdowns side by side, I think it'll be more intuitive for site visitors.

      Malcolm
      ¤ The world wide web needn't cost the earth
      ¤ ARTISAN INTERNET LTD
      ¤ www.artinet.co.uk

      Comment

      Working...
      X