Using asp.net, I need to generate a snapshot of an youtube video.
I have access to the code that youtube generates for integrating their vids into other sites.
Basically what I want to do is what HTML Snapshot does, take a picture of some html, but I`m only interested in the video.
How can I approach this in asp.net, (buying HTML Snaps...
Is there a unified way to do this? Browsers usually don't respond as expected to user32's GetWindowText and SendMessage, which you can use to scrape the text out of most win32 applications.
I'd like to get the equivalent of "View Source" on the open web page.
Currently, I'm using the API for screen readers to scrape from IE, but tha...
Being fairly inexperienced with certain aspects of web development (I've always concentrated more on the back-end than the front), can anyone give me their thoughts on whether I should worry about the DOCTYPE declaration made at the beginning of web pages?
Is the most common HTML 4.01 and should I build my web apps to conform to this st...
Hi,
I'm using the JSP displaytag tag lib to create HTML tables. I'd like the user to able to click on a column header in order to sort the data. My JSP code is shown below:
<display:table name="tableData" id="stat" sort="page">
<display:column property="name" title="Name" sortable="true"/>
<display:column property="age" title="Age"...
Hi all, these are just my wonderings and I thought I'd share them...
Simply put, MVC is the pattern for separating contents (model) from presentation (view), and having a mechanism in place (controller) defining how to gather both.
If you already see where I am going at, I am very interested to hear your opinion on the matter. Of cours...
I'd like to create a webpage layout with the sidebar to the right and the main content flowing around the sidebar.
Requirements:
Content below the sidebar should occupy all of the available width
Content below the sidebar should not wrap when it hits the left of the sidebar
Main content should precede the sidebar in the markup
Sidebar...
Hi
I'm looking for a program that measures a distance from point A to point B in pixels.(with crosshair cursor - not a pixel ruller aplication)
I need something that doesnt require print-screen and paste to another window,but works "on" other open windows.
thanks
...
Heres a tricky one . .
I have a webpage (called PageA) that has a header and then simply includes an iframe. Lets call the page within the iframe PageB. PageB simply has a bunch of thumbnails but there are a lot so you have to scroll down on PageA to view them all.
When i scroll down to the bottom of the pageB and click on a thumbna...
Within an article-oriented page (such as a blog post), the <h1> element (level 1 heading) is commonly used to markup either:
the blog title (i.e. the often-large site title at the top of the page, not to the <title> element), or
the article title
What is the best choice and why?
To the site owner, who may want to shout out to the wo...
I'm refactoring some old javascript and there's a lot of DOM manipulation going on.
var d = document;
var odv = d.createElement("div");
odv.style.display = "none";
this.OuterDiv = odv;
var t = d.createElement("table");
t.cellSpacing = 0;
t.className = "text";
odv.appendChild(t);
Is there a better way to do this using jQuery? I've bee...
Background: I have an HTML page which lets you expand certain content. As only small portions of the page need to be loaded for such an expansion, it's done via JavaScript, and not by directing to a new URL/ HTML page. However, as a bonus the user is able to permalink to such expanded sections, i.e. send someone else a URL like
http://e...
Hi,
i have two html pages, when you click on something on the first html, it will go to the second one. what i want to do is to show text according to what you clicked on the first html. different texts are wrapped with different ids. here's how i wrote:
<a href="secondpage.html#one"></a>
<a href="secondpage.html#two"></a>
<a href="sec...
What combination of CSS or attributes are needed?
...
I'm working on a project that returns paged results with volumes potentially in the hundreds of pages. I've been playing around with more usable ways to perform paging than the standard fisrt/last/next/previous links and jump-to text box. One alternative I had was to have a scrolling list of pages. I'd display 5 to 7 links at a time, cen...
Please consider the following:
<td style="width: 500px;">
<div style="width: 400px;">SomeContent</div>
</td>
For some reason, the column that contains a div will not expand to 500px as the style suggests.
Do you know how to get the td to honor the width that I am specifying in the style?
...
Hello,
Does anyone know how to stop jQuery fromparsing html you insert through before() and after()? Say I have an element:
<div id='contentdiv'>bla content bla</div>
and I want to wrap it in the following way:
<div id='wrapperDiv'>
<div id='beforeDiv'></div>
<div id='contentDiv'>bla content bla</div>
<div id='afterDiv...
I'm looking for a simple free/cheap Windows text editor for a family member learning HTML. Ideally it would be as simple and non-intimidating as possible. Basically Notepad with code highlighting. Any help would be much appreciated!
...
Hi,
Let's imagine I got this:
index.php generates form with unpredictable number of inputs with certain IDs/Names and different values that can be edited by user and saved by script.php
<form action="script.php" method="post">
<input id="1" name="1" type="text" value="1"/>
<input id="24" name="24" type="text" value="2233"/>
<input id=...
Autocompletion in the Visual Studio HTML editor inserts double quotes (e.g. <input type="text").
Does anyone know if there's a setting that will change the default to automatically insert single quotes (e.g. <input type='text')?
thanks,
Michael
...
I am creating an ajax chat in rails and I am trying to get a div to scroll to the bottom without much luck.
I am wrapping everything in this div:
#scroll {
height:400px;
overflow:scroll;
}
Is there a way to keep it scrolled to the bottom by default using JS?
is there a way to keep it scrolled to the bottom after an ajax requ...