Placing an onmouseover expression in HREF field

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default Placing an onmouseover expression in HREF field

    I would like my Contribute clients to be able to enter tooltip text via the
    HREF tag. I want the A tag to look like: <a href="#" onmouseover="Tip('Some
    text')">Homepage </a>

    I've tried many combinations but the HREF field always reads the
    onmouseover="Tip('Some text')" text as part of the link rather than a separate
    expression.

    Anyone know if this is possible?

    bigoakranch Guest

  2. Similar Questions and Discussions

    1. Accessing the Field of a Bind Expression at runtime.
      Greetings I'm currently attempting to write a control that will extend functionality of databound controls (ie TextBox etc). However, while I can...
    2. Preview/onmouseover
      :frown; I'm sure this is some simple coding that I can't quite figure, and I'm hoping someone out there could lend a hand. I've set up...
    3. onMouseOver
      Hi, I have a datagrid that has a particular cell that holds an HTML table that in turn holds 10 text boxes. I would like (if possible) for when...
    4. adding onmouseover
      Hello , I would first like to thank everyone for taking the time to help me. I know this is probable a simple question for everyone but as I am...
    5. Regular expression, getting href which is followed by img tag with specific src
      From a html file, I'd like to extract a href value of an <a> tag which contains an <img> tag who's src value I'm searching on. Basically (but...
  3. #2

    Default Re: Placing an onmouseover expression in HREF field

    This is only a guess, but it looks like the field you enter the link into in
    contriubte is the junk surrounded by the quotes "[ yourlink_blah_blah.html ]"

    So, to fool it into using other link properties, perhaps you can add your tip
    like this into the contribute field:
    "[ yourlink_blah_blah.html" onmouseover="Tip('Some text') ]"

    - add the quote after the link
    - leave off the closing quote of your onmouseover property


    bbgirl Guest

  4. #3

    Default Re: Placing an onmouseover expression in HREF field

    Thanks for the reply but unfortunately that doesn't work. Contribute simply
    attaches the content of the HREF field to the link path. So now I have:

    <a
    href="my_site/%22%5B%20my_link.html%22%20onmouseover=%22Tip('Som e%20text')%20%5D
    %22">

    I am open to other solutions...if there are any.

    Thanks :)

    bigoakranch Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139