我需要帮助menu。
当一个小小小项目被点击和另一页被装上时,我会怎样获得一个子午线。
如果你重载整页,就必须向新页提交一些信息。 为此,你必须改变贵子菜单项目之间的联系,或 co。 在页数上,你必须把这些信息(url或cookie)加以压缩,并将其应用于你的菜单。 您还可以使用一些服务器边代码,在您的子菜单已经开放的地方使用事先放行的超文本。
在此情况下,保险金不是向你们展示它如何工作的良好助手。
http://www.un.org。
您可以做以下工作(未测试):
引自你的顶端菜单:<div>
独有的ID,即:
<div class="menutop" id="posts">
a 每一增加一小项目,即:
<li><a href="/Post/New#posts">Add New</a></li>
ry开菜单
$(document.location.hash).click();
Does this work? You should be able to place it just above the hitMe function.
var url = document.location.toString();
var url_array = url.split("/");
// get last item in array
var last = url_array[url_array.length-1];
$( a ).each( function() {
// if it matches
if ($(this).attr( href ).indexOf(last) != -1) {
$(this).parent().parent().show();
$(this).css( { background : #FFF4D2 , color : #333 });
}
});
这应当利用链接途径的价值,开放/划出清单。
www.un.org/Depts/DGACM/index_spanish.htm
How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.
I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...
Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...
Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...
I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...
Is it possible for someone to give me a few pointers on how to display a multidimensional array in the form of a bar graph? The array is multidimensional, with three elements in each part - and the ...
Is it possible to reload a form after file-input change? I have a form where the user can chose an image for upload. I also have a php script which displays that image resized. I only wonder if it ...
I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.