I was just wondering if there was a professional opinion on the matter of compact code. Does it really speed up page loading. Example:
<body>
<div id="a"></div>
<div id="b"></div>
</body>
VS
<body>
<div id="a"></div>
<div id="b"></div>
</body>
any ideas?
...
I want to add check boxes inside a combo box and then use the values of the checked boxes in my sql query.
Also I need to append the checked values to an array and then use the elements of that array in my sql query.
How can I proceed?
...
Hi friends,
document.getElementById(id).style.display ='table-cell'. This gives error message in IE, this is IE bug or any other solutions please give any other solutions.
IE7 doesn't support this property.
this is my coding. Even Firefox and Chrome are accepted. My problem is IE. Please friends give solution...
var cont2 = document.c...
<select><option><input type="checkbox" />Headache</option></select>
By using the above code i did't get a check box inside a dropdown list.Can you suggest me , how should i proceed.
...
I want to make an app in .net to search on google for a keyword and click on a specific link from the results. Like a bot.
How can I get the coordinates of screen where the specific link appears in search results so I can do a click on it. The component where the page loads will have javascript enabled so just parsing the html is not e...
The existing site in cakephp with flash. We need to convert it into mobile version.
Please suggest me is there any possibilities for making mobile version.
...
Greetings, all! I am fairly new to JS (my background is in C++, enterprise languages like assembly and COBOL, and some light .NET), so I was wondering if I could get some advice regarding how to send variable information from one of two text boxes to some javascript and then have the JS do some basic checks and such. Here's the pseudoc...
I have stored tamil content something as à..........
But for some content it is stored as #2220.......
So while retrieving there arise a problem with it when I try to decode it as original tamil content.
How to convert the values from #2220........to &grave.......
...
I have a form on a page, when I submit it, I'd like it to open in a colorbox iframe.
What is the simplest way to do this?
Thanks in advance
...
Hi, i'm not sure to explain what i'm looking for.
What's the name of the "source code parser" for publish code, in HTML ?
For example, when i write some source code here in stack overflow, system auto-detect the sintax and write "correct" source code in html.
I've noticed that exists the HTML <"code"> tag, but it simply write sourc...
The GeoDjango tutorial explains how to insert world borders into a spatial database.
I would like to create a world Map in HTML with these data, with both map and area tags. Something like that.
I just don't know how to retrieve the coordinates for each country (required for the area's coords attribute).
from world.models import World...
I have had this issue before and can't remember if and how I fixed it.
I have to create a scenario where I have 2 DIV's floated left and right inside a parent DIV. The 2 floating DIV's have height:auto, but the parent ignores them (perfectly logical) and the background of the parent DIV can't be seen. I know what the issue is, but are t...
How to make two with same height with mootools 1.12 when there are images in the second one which doesn't have set attribute "height" in their code?
<div id="box-1"></div>
<div id="box-2">
<img src="..." />
<img src="..." />
<img src="..." />
</div>
...
In order to follow correct web standards, I've tried to layout image and div inline. In orde to achieve that - I've used display:inline property.
But then I experienced the following issue: image renders from the center line, and div doesn't respect height parameter set to it. I've tried using line-height parameter, but that didn't give...
Hi,
I have a few empty Divs on a page that are basically empty boxes to help me position some stuff to make a "liquid" website. Now I've got content underneath these Divs but I can't highlight/click on the links because these empty Divs are blocking it. I've got a reason I need to have the empty Divs to be on the top layer so I need a w...
I have a page here. There is a contents panel, and a content panel. I would like to center the content, and push the contents panel to the top right corner. This behaviour already works.
However, the layout does not work as I would like when the page is shrunk. Ideally, the content would be pushed to the right side of the screen, and a ...
Can I use htaccess to capture requests from a certain subdirectory and make that directory use itself as the root directory for any root relative path requests? For example if I have...
http://www.example.com/subFIXED/subANY/restofpath
...where subFIXED is always the same directory, subANY is any immediate subdirectory of subFIXED, an...
Hi,
I have a simple div tag. Can you please tell me how can I change the text to 'mouse in' in my onmouseover handler? and 'mouse out' in my onmouseout handler?
<div id="div1" onmouseover="alert(1);" width="100px" height="200px" border="1">
test
</div>
and why the width/height and border attributes do not work? I want to set the bord...
Hi
I want to liste these images in 3 columns( see under). What is the HTML cod for this?
[IMAGE]
[IMAGE]
[IMAGE]
<div class="rparticle ">
<div class="articleEntry Normal"><a href="[LINK]">[IMAGE]</a></div>
<div><a href="[LINK]">[TITLE]</a></div>
</div>
.rparticle
{
display:inline;
clear: both;
t...
I want to add iframe element to the page and then add <p> element inside that iframe.
I tried this:
var iframe = document.createElement('iframe');
iframe.frameBorder = 1;
iframe.width = "500px";
iframe.height = "250px";
iframe.id = "iframe";
var p = document.createElement('p');
iframe.appendChild(p);
document.getElementById("div").appe...