Hello, I am using an autocomplete widget, and would like a dialog to show when an item is selected. The dialog does show up, but I want a field in the dialog to receive focus when it opens. Here is what I have tried so far:
//HTML
<form action="#">
<p><input id="busca" /></p>
</form>
<div id="agregar" title="Agregar Parte">
<label ...
I am working on a site which is full of inline css. Is there a tool to automatically refactor the pages so that inline css is moved to an external css file? Preferably doing this in a smart way where it doesn't create duplicate css declarations so if I have two inline css like style="left-padding; 12px", it creates one css class instead ...
Unlike most questions about overlapping content seen here, I would actually like content to overlap!
Here is my page. Try typing "USA Riverbrooke". Returned content pushes down the map.
What css syntax can allow the returned content to slide down and overlap the map?
http://tinyurl.com/ycblkkz
...
I'm trying to find a tool that I can use to generate markup programatically (non-irl word). Here is an example of what I'm trying to accomplish in pseudo-code...
$htmlDoc = new HTML_Document();
$htmlDoc->setTitle('Cool Title');
$htmlDoc->addJs('some_js_file.js');
$htmlDoc->addStylesheet('some_css_file.css');
$divElement = new HTML_El...
I have an XML file that contains a message with html tags in it. The XML file is read by a java class that mails it to people. When the mail is received, the accents do not show. For example é doesn't show.
I have tried é in the xml but it gives an error in eclipse saying that the entity has not been declared.
I also tried sim...
I have two forms on a web page.
The first is not an actual form since this is a .NET based site. So instead I have the standard input fields, along with asp:Button PostBackURL="http:/www...". One of the fields is "email". That works fine.
Then I have an XSLT file with another form, and am using Javascript (via this.form.action, .metho...
I am programming something like e-mail for my users. I want to allow people to select letters and delete selected. How can I do it? I can't imagine how can I do it only with one MySQL query. Is it even possible?
...
Hey everyone,
I am using Raphael js to draw circled numbers. The problem is that each number has a different width/height so using one set of coordinates to center the text isn't working. The text displays differently between IE, FF, and safari. Is there a dynamic way to find the height/width of the number and center it accordingly?
He...
I'm using 960.gs layout and when I add the suckerfish menu as part of the content to one of the grids, the contents of adjacent siblings bleed through the menu in all versions of IE.
In the listed html below, the text from 'belowFoldSection' will appear through the menu when it is visible and has enough items to make it span over 2nd se...
I'm building up my site over at http://royronalds.com, and I'm trying to figure out what order of elements in the <head> makes most sense. Just to take from what I currently have, I have:
<head>
<style> external stylesheet
<meta>
<title>
<link> to favicon
<script> for jQuery
<script> main javascript for site
<script> google analytics,...
I know how to refer to a tag with an id or class in css
<table id="cooltable">
<tr>
<td></td>
<td></td>
</tr>
</table>
so in css, u refer this <table> by
table#cooltable{
...
}
However, if I want to refer the <td> in <table> in css, how do I that?
...
I'm searching to select a text from a div, then click on a bookmarklet that remove all html parts in the body except the div where the text is selected
maybe jquery can help with something like :
javascript:var%20s=document.createElement('script');s.setAttribute('src',%20'http://jquery.com/src/jquery-latest.js');document.body.appendChi...
Ok so i have a template script my friend built for me. I'll include all file names.
OK so what is not working is file_get_contents is not grabing the content
(1 I don't know where the content should be placed.
(2 I want it placed in a directory so that IF i change the template the area where content stays is the same.
(3 I'm trying...
I'm trying to load a webpage into an iFrame while keeping a content bar on top, but for some pages that I try to load into the iFrame the contents is loaded as if I navigated to that page.
I use the following code to dynamically load an iframe:
$('#my_iFrame').attr("src","http://www.nytimes.com/2010/03/26/opinion/26ryan.html");
It lo...
I've just started working with GWT and I'm already recognizing the extraordinary power that it possesses. I'm coming from a frontend world so the Java is a big learning curve, but I think that will actually help me build a properly laid out app (html-wise) instead of just relying on the default GWT panels that often end up using tables ...
I'm a fairly inexperienced web designer learning css/html on the fly for a company's web site.
I want to keep menus, banners, etc in one document so I don't have to repeat updates across many documents.
My solution was to make an index.aspx file with the menus and headers, then have a simple iframe for content. This works quite well an...
when we mouse over a disabled button in FireFox,The title can't display.In IE ,this action is OK.
<input type='button' disabled='disabled' title='show title' value='Test'/>
As above, In IE ,when we mouse over this button ,the "show title" will display. But in firefox it can't work. Somebody can help me?it will be very appreciate.
...
Client code is pretty simple:
<form action="DDServlet" method="post">
<input type="text" name="customerText">
<select id="customer">
<option name="customerOption" value="3"> Tom </option>
<option name="customerOption" value="2"> Harry </option>
</select>
<input type="submit" value="s...
Is there a way to shift focus to a div by default through pure css and not using javascript?
Thanks in advance..
...
Is there a website where I can download free css/html templates for a website to support multiple browsers and resolutions?
(I want to make sure I can make use of client's entire screen and not show my website in the middle with "spares" on the sides)
...