Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3877

WebToolbar: How to get rid of the displayed Javascript ";"

$
0
0

I’m having fun trying a couple of things with Xojo Web this weekend :wink:

So here is one more (minor) issue that I don’t quite like…

Run the WebToolbar example projects that come with Xojo.
When you move the mouse over an item in the WebToolbar, the Browser (Google Chrome) displays the message javascript:; on the bottom-left of the browser window. Safari displays it in a localized way, e.g. Execute Script ";".

While it works as expected, I just don’t like this message shown.
It sounds to me such as “Execute an empty script”, which doesn’t make sense to me.

In the page source there is something like this:
<a id="kTIMQo_menu_6" btntag="6" href="javascript:;" class="nav-link text-nowrap" style="outline: none;"><span>Toggle Button 3</span></a>

So my questions are:

  • is this really required to have a href="javascript:;"?
  • is there some way to get rid of that message shown?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3877

Trending Articles