Announcement

Collapse
No announcement yet.

Variables within javascript

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

    Variables within javascript

    Hi,

    I'm trying to pass some actinic variable into a javascript function, on an onmouse command

    Code:
    onmouseover='javascript: SetBigProduct(<actinic:variable name="ListIndex" />,name,<actinic:variable encoding="perl" name="ProductDescription" selectable="false" />,<actinic:variable name="SectionURL" />);'
    This is in the CSS Section Link Layout.

    But it just seems to display the variables on the page, rather than just pass them to the function.

    Can anyone help me ?

    Thanks.
    Austin Harvey
    Girls Of Elegance Ltd
    http://www.girlsofelegance.co.uk

    #2
    Ok, so solved myself,

    Anyone who may have been interested ...

    When using ProductDescription, make sure you have used no !<< then html tags in the description ...
    Austin Harvey
    Girls Of Elegance Ltd
    http://www.girlsofelegance.co.uk

    Comment


      #3
      I tend to pass that type of thing through the inbuilt PHP to strip out any embedded coding first so as to leave a clean flow of text only for which you can manipulate with javascript


      Bikster
      SellerDeck Designs and Responsive Themes

      Comment

      Working...
      X