I'm trying to implement text-overflow: ellipsis; support in the FireFox version of my web site. I've found the XUL hack on the web and have applied it to the stylesheet, but I find that applying the hack removes all other styling from the element. In other words, I can either have the ellipsis, or I can have the background image, gradi...
I have a definition list with a lot of text inside of it. When a user comes to the page, I want the jQuery to hide two thirds of that content, add a next and previous button where appropriate, and fade the content in and out. The first third of the content is .issue-group-1, the second third is .issue-group-2, the third, .issue-group-3...
Is it possible to record a user's input into an HTML textfield, and playback at a later date in realtime? One way I can think of would be to capture each keyDown event and the time delta (accurate to a few hundred ms), and store the pairs together.
Can you think of a better/more efficient way?
...
How do I come up with this, the sidebar and the top sliding bit:
Apple iPad Page
Scriptaculous or jQuery, etc.
I'd like this for one of my pages on my website to do the effects on load.
Thanks :)
...
I am pretty new to ASP.NET and C# I have spent the day learning the basics of the ASP.NET Membership provider I have built all my validator but are getting stuck at outputting my error message on the page.
private void LogCreateUserError(MembershipCreateStatus status, string username)
{
string reasonText = status.ToString();
s...
I'm pretty new to jQuery... so far I'm impressed. But I encountered a situation today that is giving me trouble. I want to use .html() to get some raw text and use that in a selector, but that function only returns the first element.
In the following structure, how can I get ALL of the "toggle_containerLG" divs to show when I click on...
Hello !
I used javascript for loading a picture on my website depending on which "small" photos in ul you clicked...
I had something like that :
<script type="text/javascript">
function viewImage(src, legende) {
document.getElementById("imageBig").src = "images/photos/"+src;
document.getElementById("legend").innerHTML =...
I have a Rails app (blog) that I am creating. Very basic stuff. In my content area I have a text area for the content of the post. I am needing to include some html in the text area (links, formating, etc).
<%= f.text_area :content %>
Is there another tag that I can use instead of text_area, that will allow me to do this?
...
I want to open a file in a web browser (anyone will do) and I want to see it in the view source mode instead of in the standard browser window. This can be done in two steps, by opening the file and then go to the view source window (different shortcuts in each browser), but I want to directly go to the view source window. I have not fou...
I've got an ASP.NET page that takes a long time to download and returns partial results as it's loading (as per my previous question). On the page I have some links to download files, ie. the response headers contain "Content-Disposition: attachment", so that the browser doesn't navigate away from the page. However, if the user clicks on...
I use jquery's .submit() to intercept user's submit event, however I found a problem.
When the user single click the submit button, the form is submitted normally, but if a user deliberately fast click it multiple times, it will submit multiple times, which will cause duplicated data in the database.
What's the solution for this kind ...
hi everyone!
i have a question. I have a work this morning but i don't know how to do it.
My work here (html):
<div class="demo">
<p>this is demo text</p>
</div>
here is my JS :
var tempdata = $(".demo").text();
var replacedata = tempdata.replace("text","<span>1234</span>");
Look everything ok. but result is : this is demo <spa...
Hello onlookers,
A web site I've been using has some interesting behavior... There is a form, but there is no button for submission. Instead, there is an input:
<input id="ctl00_pageContent_loginButton" type="image"
style="border-width: 0px;" alt="Login" src="images/btn_login.gif"
name="ctl00$pageContent$loginButton"/>
and when y...
<style type="text/css">
.web_westloh {
background-image: url(images/web_westloh.png);
background-repeat: no-repeat;
height: 100px;
width: 350px;
}
.web_westloh:hover {
border-bottom-width: 2px;
border-bottom-style: dashed;
border-bottom-color: #999999;
padding-bottom: 5px;
}
.web_money {
background-image: url(images/web_money.png);
back...
Hey Guys,
I want to know, how to make my html file code to encrypted?
So that if normal user see the code,
then they don't understand the code?
...
Hello All:
Can some body tell me any alternative to store some information for a particular tag in HTML 4. For example If I have a drop down like
<select>
<option value="0" regionId="1">Test1</option>
<option value="1" regionId="2">Test2</option>
</select>
Here regionId is a custom attribute, I am able to access the attribute but the...
Is jQuery's .load() supposed to be able to load <form> elements? Because it seems to be stripping them out. So I have some code like:
$('<div></div>').load($link.attr('href') + ' #divDlgContent', function(){ ... });
and when the $dialogcontents loads, I return some content with a <form> inside the DIV with the id 'divDlgContent'. A...
Hello everybody,
I am going to implement standard functionality - birthdate input on web form for PC.
There are lots of interfaces how to implement this.
Date picker (OMG, I can't stand picking date with it. Too many clicks required)
3 Dropdown lists. Day, Month, Year. (I am not very fond of it though - they are too long)
Straightf...
Let's assume a user enter address of some resource and we need to translate it to:
<a href="valid URI here">human readable form</a>
HTML4 specification refers to RFC 3986 which allows only ASCII alphanumeric characters and dash in host part and all non-ASCII character in other parts should be percent-encoded. That's what I want to pu...
- A Reuters reporter in Surkhrod district in Nangarhar province, where villagers said the raids took place, said Afghan police fired at the crowd after some of them started throwing stones at local government buildings.
<p> - A Reuters reporter in Surkhrod district in Nangarhar province, where villagers said the raids took place, said ...