This came as a surprise to me but I have a simple form with 3 fields in it. The fields dont have a "name" attribute to it. They instead have an "id" attribute.
However. I can still do a
var f = document.getElementsByTagName('form')[0];
alert(f.elementID);
to access the element. I thought to access form elements in that way, the "name...
Hey guys, I've spent hours looking at this, and am hoping a fresh pair, or even a more experience pair of eyes on this may help get it solved. Whilst IE6 support isn't especially needed, IE7 is, and that's causing problems for my image scroller.
Can anyone possibly take a look and see what's causing the massive spacing above and below t...
I am wondering if the ability to hand-code HTML a rare skill and if the HTML test I give prospective assistants is too difficult? I ask because I work for a university and my department employs graduate assistants to help with the Web site. It's an extremely easy and well-compensated job that involves only rudimentary HTML, SQL, and Cold...
What is the preferred way to extract elements from a HTML page in Java?
My HTML is has many of the following rows:
<tr class="item-odd">
<td class="data"><a href="http://.....">TITLE</a></td>
<td><div class="cost">$1.99</div></td>
</tr>
The class alternates item-odd and item-even.
I need to extract:
Ur...
Hi, Im trying to create a jQuery Slider like this http://bit.ly/5YFTs8
I cant find any tutorials or plugins anywhere that make em like this one.
Cheers
...
Hey, in my quest to create as image light a site as possible, I'm looking to create two tone hr's.
I've achieved this in modern browsers, but want to achieve the same effect in ie6 and 7.
The current code I am using is
hr {
border-bottom:1px solid #FFFFFF;
border-top:1px solid #dcdcdc;
clear:both;
height:0;
bo...
When I insert my header background image it does not line up exactly to the top of the browser. There is a space between the header image and the top of the browser showing the background color. I want the Header to go all the way up to the top of the screen, and to not show any background color.
/* CSS Document */
html, body, {...
I have seen several methods for creating simple fixed width single column layout using css. I like the one shown here because there is very little code involved and it works on every browser I have tried.
css:
body {
text-align: center;
}
#container {
margin: 0 auto;
width: xxxpx;
text-align: left;
}
html:
<body>
<div id...
Hi All,
I need to make some type of L shaped div I guess? I currently have two floating divs side by side that are the same width and height. I need to extend the left one down and around the right one. I need to maintain the current space between them, about 15px, so I would like the same padding schema on the bottom of the right div. I...
I have HTML like this:
<div>
<div class="a">
content1
</div>
content 2
<div class="a">
<b>content 3</b>
</div>
</div>
and I want to get rid of the div's of class="a" but leave their content. My initial attempt was:
$("div.a").replaceWith($(this).html());
However this is undefined. How would you do this?
...
Is codepress [ http://code.google.com/p/jquery-codepress-plugin/ ] still the best option for color-coded, line-numbered, tab-catching syntax editing ? Seems like the team developing it has lapsed.
Thanks!
edit: i'm looking for something i can fork/improve upon/integrate/push back to the community.
Thanks again!
...
Hi,
I have a blogger template(xml file). Is there any way to test or run the blogger theme locally?
Thanks in advance
...
There is a HTML textarea. I'm able to catch that event when a local file is dragged and dropped onto the textarea. But how to obtain the name of the dropped file? (To be modified and inserted into the textarea finally.)
The following expressions returns None in that case:
event.dataTransfer.files
event.dataTransfer.getData('text/plain'...
Can I get something like this http://myffi.biz/ , which selects the continents when I hover on the languages? I have searched a lot for this kind of map but have not been able to find any.
...
Is it possible to load a Javascript program from an html page and then make the Javascript load another html page instead of the page the loaded the program?
...
how can i associate an anchor tag with image maps?
Suppose, I hover over an anchor tag, it should select the mapped region on the image.
Something like this http://myffi.biz/. This is in flash, but can this be done using image maps? You hover over on the links and it should select the mapped region on the image.
Is this possible? I ho...
Hi,
Can anybody tell me what is the actual meaning of web 2.0 & 3.0 and what is the development style of both of these? What are the specifications and characteristics of both.
And If there is something which I should know about both of these but because of lack of knowledge I couldn't ask then pls suggest me.
Thanks
...
i want to apply gzip compression on my site , all my site is in html and
i have following limitations
hosting server is windows 2003 server.
i can upload files, but i can't modify IIS (as most if users just having hosting account)
i can't modify the .html files to .php as i have too many pages in html, changing file extension is big...
hi
I have restricted right clicking option in my web page , But IN IE it shows Icons to Save Image, print , mail etc . I want to remove all of these . IS it possible ??
Does any one help me Immediately ...
...
Hi all,
I have a span that I wish to right adjust so that it's anchored to the edge of an underlying table. I've tried enclosing both elements in a div, but I can't think of a good way of letting the div auto shrink to be of the same size as the table while right-floating the span. Ideas?
I've tried using
style="display: inline-blo...