Hi,
It seems that the default ASP.NET MVC2 Html helper generates duplicate HTML IDs when using code like this (EditorTemplates/UserType.ascx):
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<UserType>" %>
<%: Html.RadioButton("", UserType.Primary, Model == UserType.Primary) %>
<%: Html.RadioButton("", UserType.Stand...
I have one drop down menu,
<ul>
<li><a>link 1</a>
<ul><li><a>link 1</a></li></ul>
</li>
</ul>
I am using the following JS to use hover and show child menus.
I want to add delay to the mouse out function (when the class of the LI removed) about 500ms,
$('li').hover(function(){
$(this).addClass('over');
}, function(){
$(t...
Hi
I have the following to open a word template, problem is it opens the template as read-only without running the autonew and creating the new doc, any idea's?
thanks
<a href="file:///F|/Online_signup1/DONE-Signup_Step1.dot">Document</a>
...
i need to set a image at 128*128px on a html page. i know the way width="128px" height="128px" but are i can do it by write a parameter on image like param="128px" then he set width and height 128px;
...
Hello All,
I m creating one web page having one textbox and one dropdown list with submit button.
Now my problem is :
When i ll enter text in a textbox depending on that text one sql
query will run and it's result should be shown in drop down list.
I tried with onchange,onClick function but it didn't worked. I m not getting exactly how...
how can I modify the embedded photo gallery slideshow from Google's Picasa to auto repeat the pictures, i.e. play them over and over again? This is the code Picasa gives me for embedding in a website:
<embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="400" height="267" flashvars="...
I'm attempting to create a backup of my client's existing svn repositories, which is publicly available over http.
If possible, I'd like to be able to make new repositories automatically, from any computer, without having to give console access to the server to external parties (i.e. the users could do a ls on my svn repo dir)
My probl...
Hai,
I would like to calculate actual time from different timezones.
I have two mysql tables
1.Timezone table:
This table contians two fields (offset value, country name)
values are ( -12:00, Eniwetok, Kwajalein) (-11:00, Midway Island, Samoa).... so on
2.My employee table
This table contains the employees details with two field ...
Hello
I have a map of several counties I need to turn into a county select menu (i.e clicking Leicestershire will select Leicestershire.
I am using a php built system that this map will need to return the appropriate value to. I am thinking this will be a get in the url, checked for valid values in the backend.
How would you approach ...
I am currently using the DevBridge jQuery Autocomplete plugin - it works fine as is, however I would like to display the returned information in a multi-column view, but yet when clicked only return the first value.
HTML
<form class="form" action="index.php" onsubmit="alert('Submit Form Event'); return false;">
<div id="selection"></...
I have a strange Problem with table formating using IE 7.
My table looks like this:
In IE, when using border-collapse, the borders don't get displayed correctly. That's why I used this fix:
.table-vmlist td { border-top: 1px solid black; }
td.col-vm-status, tr.row-details td { border-left: 1px solid black; }
td.col-vm-rdp, tr.row-de...
Hi, Im using form_name.textbox.focus() and it working fine in IE but not in mozilla. Can someone tell me how to handle this? this for answering.
...
$("li").hoverIntent({
sensitivity: 3,
interval: 200,
over: addOver,
timeout: 500,
out: removeOver
});
function addOver(){ $(this).addClass('over').children('a:first').addClass('active');}
function removeOver(){ $(this).removeCl...
Hey Their,
I want to show my cheque numbers like "MICR / E13-B Fonts".
How could i display it using css.
Thanks
Rahul
...
I have a form with a disabled submit button. Even though the user can't press this button, he can still hit Enter to submit the form. How do I prevent that?
...
Hi,
I need to transform an anchor tag to WordML without using relationships. Is it possible?
I found the w: anchor property but seems it refers only to internal document anchors and not to links or URLs.
<w:hyperlink w:anchor="chapter3">
<w:r>
<w:t>Go to Chapter Three</w:t>
</w:r>
</w:hyperlink>
So it would be great if so...
I've built a Javascript carousel that scrolls a UL inside a holder DIV with overflow set to hidden when the user clicks a left or right arrow.
The HTML is as follows:
<div id="promo-carousel-holder">
<ul>
<li class="promo-item">
<img src="_includes/images/promo-tyr...
What is with these microsoft browsers? Does microsoft ever do a good job at anything...
Anyways, I have a relative positioned div inside another div. The inside-div is positioned with percentage (left: 0%; top:13%).
My problem is that in all IE versions the div is displayed some pixels further down than where it is displayed in Chrome,...
What is the best practice to set a background image centered and 100% (so that it fills the screen, but still retains the aspect ratio) in all browsers?
...
Can any one reply me, the purpose of using rel="bookmark" in A tag, as in:
<a href='http://stackoverflow.com/questions/ask' rel="bookmark">Click Here</a>
Does it help in any way to SEO?
...