Announcement

Collapse
No announcement yet.

"Including an 'Email A Friend' Link into Actinic"

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

    "Including an 'Email A Friend' Link into Actinic"

    I saw this piece of code and placed it into my "exteneded info page", and it worked great.

    If i design the "extended info page" in dreamweaver, it highlights some of the code yellow and bold, and if i make any changes and submit to Actinic then the "email a friend" stops working and there is code on the page.

    This is the full code im entering
    Code:
    Enter e-mail address to tell a friend 
    <input type=text value="" size=40 onchange=" 
     var thisloc=location.href + '%23<Actinic:Variable 
    Name="EncodedProductAnchor"/>'; 
     if (this.value != '') { 
      location.href='mailto:' + this.value 
    +'?subject=Take%20a%20look%20at%20<Actinic:Variable 
    Name="ProductName"/>&body=I%20saw%20' + thisloc + 
    '%20and%20thought%20you%20would%20be%20interested.' 
      } 
    "> 
    <input type=button value="OK">
    This is the part of the code Dreamweaver highlights -
    Code:
    <input type=text value="" size=40 onchange=" 
     var thisloc=location.href + '%23<Actinic:Variable 
    Name="EncodedProductAnchor"/>'; 
     if (this.value != '') { 
      location.href='mailto:' + this.value 
    +'?subject=Take%20a%20look%20a

    #2
    DW doesn't know who actinic is and thus gets confused on its use of actinic specific variables. Just work on the design tab within actinic, seems no need to go into DW to do what you're doing. I get all sorts of warnings too as it doesn't know what certain things are, this is why i just use DW to register the external design and alter the external design, the rest i do in actinic.

    Comment

    Working...
    X