• Hello Prali,

    Very nice plugin!!

    One issue – I would like to add a hover-text to some link buttons – how is that possible?
    One button is for taking the browser back one path eg. “../” – that is doable in the “link section” – but how to add a hover text?

    Another example is a simple browse back eg. using the “advanced link section” and add javascript:history.go(-1)
    I would have thought javascript:history.go(-1);alert=(“Back”) worked, but…??

    If not doable as is, perhaps a simple new add-on feature to this plugin?

    Please advice.

    BR Lars

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WooPrali

    (@wooprali)

    Hi, thanks for using designer button plugin.

    Please give me more details about you requested feature.

    Sure, I will add that feature.

    Regrads,

    Prali

    Thread Starter LarsHdg

    (@larshdg)

    Hi Prali,

    Appreciate your feedback.
    Sounds very good!

    “Simply” I’m looking for adding a text / tool-tips to the buttons when you hover over.
    So for instance at the bottom of this support-form there’s a Submit-button, when you hover it, it could make a text box next to the button with a text like “Press to send your support inquiry” at mouse hover.
    Usually you can add the optional title=”your-tooltip-here” to a link and it’ll do the trick.
    Ref. https://www.javascriptkit.com/howto/toolmsg.shtml as an example.

    While we’re ad it – I think I found an “error” in the settings for “Link” and “Advanced Link”.
    If I add “javascript:history.go(-1)” to Advanced Link it doesn’t work – notting happens.
    But then I just tried to add the same javascript-line in the Link settings – and then the button will browse one page back??
    “history.back()” have the same browse back effect.

    Another feature request perhaps? Would it be possible to have different sizes for the button text and the individual icon. As is, it has the same size set by the Style settings – Font weight and Text size?
    Og course you can style it individually by css, but it would be a nice feature if you could select independently in the Button settings directly.
    Just an idea?

    Thanks again for creating a very nice plugin – and your support.

    Best regards
    Lars

    • This reply was modified 7 years, 4 months ago by LarsHdg.
    Thread Starter LarsHdg

    (@larshdg)

    Hi Prali,

    I have looked quite a bit further into this “hover text” issue and have some more information to you. In principle it should work, but…?

    This is my findings.
    In the Link section of settings I have a link for a specific page – and the button sends the browser correctly to this page – so far so good!

    In Avanced settings I have put:
    data-toggle=”tooltip” title=”This is a test title”

    result is no Title text is displayd.

    But going into debugging/inspection the result from above line becomes:
    onclick=”data-toggle=”tooltip” title=”this is a test title””

    if you then remove the first ” in that line then you get a text when hover saying “This

    because the line is parted for the script. The first part becomes
    onclick=”data-toggle=”tooltip””

    and the title part becomes
    title=”this” is a test title

    So – somehow the formatting of the output for the script is compiled wrongly in the Advanced setting. An extra ” is inserted for the onclick=…… and the fist space in the title text is interpreted as “end of text” and hence an ” is inserted after the first space in the line – which brakes the text line??

    I hope this helps you find the bug – or an advice of what I can do to get it right?

    Best regards
    Lars

    • This reply was modified 7 years, 4 months ago by LarsHdg.
    Thread Starter LarsHdg

    (@larshdg)

    Hi Prali,

    How is it coming – is there a workaround or a bug to be resolved?

    Best regards
    Lars

    Plugin Author WooPrali

    (@wooprali)

    Hi, thanks for giving more details. Sure I will add your requested feature in next major version.
    Regards,

    Prali

    Thread Starter LarsHdg

    (@larshdg)

    Hi Prali,
    Sounds good. In due time.

    But for the time bring, is there a solution to the problem described in my post; the link code not being correctly “translated”?
    Should be straight forward, but the string is somehow not implented correctly by the plugin?

    Best regards
    Lars

    Thread Starter LarsHdg

    (@larshdg)

    Hello Prali,

    Checking in to hear if there’s a solution a solution to the “error” / correct interpretation of code in Advanced Setting?

    Looking forward.

    Best regards
    Lars

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Hover text’ is closed to new replies.