English 中文(简体)
Internal supralink in wx.html. HtmlWindow - wxpython
原标题:Internal Hyperlink in wx.html.HtmlWindow - wxpython

我正试图在Wx.html上建立内部超链接。 HtmlWindow,在我的html内容中,使用 anchor子和虾:

html_content="""<a href="#resultsfound">Go To Results found</a>
<a name="resultsfound"><h2><b>RESULTS FOUND</b></h2></a>"""

然而,当我点击超链接时,它试图将浏览器的位置打开新的表格,而不去上页的相应位置。

你们是否知道为什么? 关于如何解决这一问题的任何建议?

Thanks in advance, Zvi

问题回答

wx.html。 Html Window isn t a web browser widget. 只是显示超文本格式文本。 你可以把超链接点击,下载超文本,然后设法更新轴心。 HtmlWindow。 但注:wx.html。 HtmlWindow只支持光彩的超文本。 它没有CSS或javascript或任何其他高射超镜子。

另一方面,如果你重新登上视窗,你可以使用主动的X互联网探索器,完全是你想要的。 或者,你可以尝试没有列入轮椅的轮椅网球团。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签