Announcement

Collapse
No announcement yet.

HTML code not working in actinic

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

    HTML code not working in actinic

    Im trying to paste some code into the sections actinic template. It works fine on a standard html page but when pasted comes up with "error on page" somebody have a look and tell me why? ITS JUST A DROP DOWN MENU

    <form name="jump">
    <select name="menu1" onChange="location=document.jump.menu1.options[document.jump.menu1.selectedIndex].value;" value="GO">
    <option value="http://www.rivieramultimedia.co.uk/acatalog/copy_of__R_DVD_S.html">DVD Media</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/copy_of__R_DVD_S.html">DVD -R</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/_R_DVD_S.html">DVD+R</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/_R_DVD_S.html">DVD Dual Layer</option>
    </select>
    <select name="menu2" onChange="location=document.jump.menu2.options[document.jump.menu2.selectedIndex].value;" value="GO">
    <option value="http://www.rivieramultimedia.co.uk/acatalog/standardscds.html">CD Media</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/standardscds.html">CD-R & CD-RW</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/Business_Cards.html">CD Biz Cards</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/MINI_3__CD_S__8CM_.html">CD Mini 8cm</option>
    </select>
    <select name="menu3" onChange="location=document.jump.menu3.options[document.jump.menu3.selectedIndex].value;" value="GO">
    <option value="http://www.rivieramultimedia.co.uk/acatalog/Jewel_Cases.html">CD and DVD Packaging</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/Jewel_Cases.html">CD Cases (Jewel)</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/copy_of_DVD_CASES.html">DVD Cases</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/PLASTIC___PAPER_WALLETS.html">Plastic/Paper Wallets</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/VARIOPAC___TRIGGER_CASES.html">Trigger Cases</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/CLAM_SHELLS.html">Clam Shells</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/SUPER_JEWEL_BOX.html">Super Jewel Boxes</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/VIDEO_CASES_AND_VIDEOS.html">Video Cases</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/CALENDAR_CASES.html">Calendar Cases</option>
    </select>
    <select name="menu4" onChange="location=document.jump.menu4.options[document.jump.menu4.selectedIndex].value;" value="GO">
    <option value="http://www.rivieramultimedia.co.uk/acatalog/CD___DVD_LABELS.html">Paper Products</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/CD___DVD_LABELS.html">CD/DVD Labels</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/MINI_CD_AND_BIZ_CARD_LABELS.html">Biz Card Labels</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/JEWEL_CASE_INSERTS_AND_BOOKLETS.html">CD Case Inlays</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/DVD_INSERTS___BOOKLETS.html">DVD Inlays</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/GLOSS___MATT_PAPER.html">Matt/Gloss Paper</option>
    </select>
    <select name="menu5" onChange="location=document.jump.menu5.options[document.jump.menu5.selectedIndex].value;" value="GO">
    <option value="http://www.rivieramultimedia.co.uk/acatalog/Epson_Compatible_Cartridges.html">Printer Products</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/Epson_Compatible_Cartridges.html">Epson Compatibles</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/Epson_Compatible_Cartridges.html">TDK Ribbons</option>
    </select>
    <select name="menu6" onChange="location=document.jump.menu6.options[document.jump.menu6.selectedIndex].value;" value="GO">
    <option value="http://www.rivieramultimedia.co.uk/acatalog/MEMORY_STICKS_DVD_WRITERS.html">Hardware - Leads - Misc</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/MEMORY_STICKS_DVD_WRITERS.html">CD/DVD Writers</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/MEMORY_STICKS_DVD_WRITERS.html">Memory Sticks</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/ELECTRONIC_COMPONENTS.html">Electronic Components</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/LEADS___CABLES.html">Leads/Cables</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/CD_CARRY_CASES.html">Carry Cases</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/PRESSIT_LABEL_MAKER_PRO2.html">Label Kits</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/Christmas_Ideas.html">CD Marker Pens</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/FLOPPY_DISCS.html">Floppy Dics</option>
    <option value="http://www.rivieramultimedia.co.uk/acatalog/Christmas_Ideas.html">Miscellaneous</option>
    </select>
    </form>

    #2
    Hi Stuart,

    without testing the code it is probably due to using a <form> tag - this have a nasty habit of breaking the existing templates


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      Yep. That's probably it. Most Actinic pages have a FORM (or two, or more) on them.

      Have a look at your generated HTML and see if you've got nested forms, which are illegal HTML. You'll have to move your form outside of any Actinic ones, or, alternatively if it must reside within an Actinic form, recode it without the <form> tags. Perhaps something like

      <select name="menu1" onChange="this.options[this.selectedIndex].value;" value="GO">

      will do.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks....I'll try that

        Comment


          #5
          NO.....The form tag does needs to be there for it to work....Thanks for trying

          Ive created the menu in Flash MX and embeded it (which also had its problems) but now works fine.

          Comment


            #6
            Ooops. It should have been

            <select name="menu1" onChange="location=this.options[this.selectedIndex].value;" value="GO">

            and repeat for Menu2, 3, etc. This works just fine when placed inside an existing Actinic <form>. I tested by simply adding it to a product description (within !!< and >!!).
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              With Flash and Fireworks HTML scripts I find it is best to copy the code into a blank page and then copy the code into the Actinic template - if you import it straight in the new Javascript's in the <head> can merge with the existing Actinic scripts and give an error


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment

              Working...
              X