• Resolved pmhb2011

    (@pmhb2011)


    Hi,

    I’m using a group of buttons to help direct people to information about different steps in a process and orient them to what step they’re currently in.

    Somethign like this

    [Step 1] [Step 2] [Step 3]
    [Step 4] [Step 5] [Step 6]

    I have made 2 similar buttons, one for the current page and one for the other steps.

    The other-steps buttons are normal buttons that take users to the step they choose.

    The current-page button has no link and is a different colour to show that the user is already on that page.

    The only problem is, because it is a button, when I hover over it, the cursor still turns into a hand and the “javascriptvoid(0);” message appears at the bottom of the screen. Is it possible to do something to prevent that? Essentially, I just want it to look like a button without really being a button.

    Thank you for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    Hi,

    If there is no URL on the button you can’t remove the javascript line. The reason for this is that otherwise on IOS the button doesn’t display correctly ( it’s required to have something there ) .

    An alternative could be to include a link to your current page and link that. For instance you can make an anchor like where the button are like <a id="current"></a> and link to it from the button by adding #current in the URL.

    Thread Starter pmhb2011

    (@pmhb2011)

    Hey Bas,

    Thank you for responding so quickly and for your suggestion. I’ll have a play.

    Take care.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is it possible to remove javascript from particular buttons’ is closed to new replies.