Google Chrome中的Hashchange或Popstate问题?

时间:2016-04-25 14:42:02

标签: javascript jquery css xml html5

有人可以帮我解决以下问题吗?哈希转换似乎发生了,但是一旦我想回到以下某些菜单,浏览器就会卡住。我目前正在使用Chrome v49.0.2623.112 m。它似乎在Internet Explorer上正常工作,但是这个项目将使用Chrome运行Android设备。

# hhg_interp could be something like # hhg_interp = linspace(18.5, 19.5, 10000) y = f(hhg_interp) # hhg_interp is an array filled with finely # spaced x-axis values # get the indices for all y larger than the half maximum (0.5 in this case) indices_above_fwhm = np.where(y>0.5)[0] # if you're interested in the indices # the first element of the "indices larger then the half maximum" array # corresponds to your left edge index_left_edge = indices_above_fwhm[0] # the last element of the "indices larger then the half maximum array" # corresponds to your right edge index_right_edge = indices_above_fwhm[-1] # then you can get the corresponding x-axis values for these indices: x_left = hhg_interp[index_left_edge] x_right = hhg_interp[index_right_edge] # or directly get the x-axis values of the left and right edges cond = y > 0.5 # select all points that are above your half maximum x_left, x_right = hhg_interp[cond][[0,-1]] # then get the first # and last of the points above maximum

**MainMenu** = "/VoxeoCXP/DialogMapping/VSN/TelkomKioskService@System?vID=*643434c3c90606f2dffa96317fd0c04907adf2101613e36cbc80909f59df7be2015010fc0561bc7a*"

**MenuItem1** = "/VoxeoCXP/DialogMapping/VSN/TelkomKioskService@System?vID=*643434c3c90606f26f7ab6112fe0f0f907adf2101613e36cbc80909f59df7be2015010fc0561bc7a*"

**MenuItem2** = "/VoxeoCXP/DialogMapping/VSN/TelkomKioskService@System?vID=*643434c3c90606f2bf9af6417f20e02907adf2101613e36cbc80909f59df7be2015010fc0561bc7a*"

我是JQuery的新手,不得不允许脚本和我的CSS文件在本地运行,但即使我“远程”运行它也会产生同样的问题。有人可以帮我这个吗?感谢

0 个答案:

没有答案