We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2442
    • 11 Posts
    Hello,

    How can I add onMouseOver attribute & value to <a>’s in WayFinder

    so as to get <a href="..." onMouseOver = ’value’ > ?

    Update: I think I have solved it. I added an onMouseOver attribute to &rowTpl chunk and it’s now like:

    <li [+wf.id+] [+wf.classes+] >
    <a href="[+wf.link+]" title="[+wf.description+]" onmouseover=’[+wf.attributes+]’ >[+wf.linktext+]</a>
    [+wf.wrapper+]
    </li>

    And I gave the attribute values in the Link Attributes section of the resource like this:

    document.getElementById("eleven").innerHTML = "<p><img src =\"../assets/images/the-image-to-be-displayed.jpg\"></p>";

    And it’s working perfectly; I love WayFinder!

    Thanks.