I have a web page written in pure HTML (with a .html extension). Whenever I edit it and push "Refresh" in my browser, the page does not get updated. However, if I change the extension to .php this problem does not occur. Could someone explain to me what's going on?
...
Hi,
Which advantages have definition list (<dd><dt> etc..) and when we should use it?
(Example: use in Zend_Form, but i dont understand why)
Does exist other better options?
(I beginner, but its look to me that is xml use inside html.
If I right XML not wide used recently because yaml, file.ini, json each of them in their field more e...
Cause I have a custom styled / positioned button.
Currently, our set up is:
Special upload button (Fancy)
Hide the file_field in a div, cause the button can't be moved to be separate from the text.
But we still want the text saying what file you've selected
...
I have this question after reading the answer here, what's the difference at all?
Is it possible to submit raw POST with html ?
...
Hello,
I have a made a news aggregator Newzupp which I want to modify. Right now I am simply displaying the titles of the news stories and I am linking them to their urls.
I am planning to make it more graphical, by using images + titles instead of plain titles. I want to know how can I get the main image of each article (somewhat si...
<select name='cmg_select' onChange="javascript:window.location.href='index.php?'+this.value">
<option value='pening'> pening </option>
<option value='complete'> complete </option>
<option value='pening'> pening </option>
</select>
concatenation not working.....
...
Hi there,
Lets say i have this number: 1.5676556
But i want it to show only 1
(without rounding, lets say i have 0.6, if i use math.round, it will round it to 1)
tnx in advanced.
...
Hi there,
I browsed through SO, but what I found were examples "how to manipulate a piece of html".
But in my case, I want to fetch a HTML file by a given URL and just parse the websites title not the whole file.
Is there any way to do this with jQuery or any jQuery like framework?
regards,
...
<table>
<tr>
<td class="left"><div class="c">centrated<br>on<br>lef side</div></td>
<td>middle-td</td>
<td>right-td</td>
</tr>
</table>
Here is the css:
td.left {
width: 200px;
left-padding: 0;
}
div.c {
text-align: center;
}
Now everything is centered.
I want to place the div on left side and everything inside t...
I have a simple sidebar like this:
<div class="sidebar">
<ul class="nav">
<li class="Page1"><a href="Page1.html">Page1</a></li>
<li class="Page2"><a href="Page2.html">Page2</a></li>
<li class="Page3"><a href="Page3.html">Page3</a></li>
</ul>
</div>
This code exist on each one of the pages: page1.html, page2.htm...
Basically I've got a huge table, which gets even bigger as user scrolls down (auto preloading subsequent rows). At some point browser becomes sluggish, it starts to hang for a moment as I click around or try to scroll and more sluggish it becomes, the more rows it gets. I wonder if there is any limit on number of elements that page can h...
I have several pages with a background image applied to the body of each one of them (same background image for all pages).
When I go from one page to another it looks like IE7 renders the image again, which looks like flickering.
In Firefox 3.6.3 it does not flicker.
How this flickering can be solved for IE ?
...
I'm using the HTML Agility pack to parse an ASPX file inside Visual Studio.
I'm searching for an element with a specified ID attribute.
The code I'm using is:
var html = new HtmlAgilityPack.HtmlDocument();
html.LoadHtml(docText);
if (html.DocumentNode != null)
{
try
{
var tagsWithId = html.DocumentNode.SelectNodes(...
I'd like to show an html document in the documentViewer control. How should it be done? I've searched for any examples with no success.
Any idea would be apreciated.
...
I am working om a menu bar, each menu bar item is an image, when user places mouse over menu item a div with submenu will appear.
I want to place div directly under the appropriate image item (no space, and div will hover above all elements), with right side alignment, meaning the right top corner of div should be under bottom right...
hey guys
im using a simple function to read my txt file
my txt file content will be like this :
album= Prisoner
info= Description about this singer
and php code :
$Path = 'dewp/pix/info.txt';
$product = parse_ini_file($path);
echo $product['album'];
echo $product['info'];
everything is fine and works good on localhost , but not...
Hello,
Is it possible to use "tabs"(indenting) in textarea using javascript. When tab button is clicked, the next form element is focused. But, i need to indent the text in textarea.
I am currently working in a project and any code with javascript or jquery will help me.
...
IF I send an AJAX request to a PHP file, what would result in faster rendering of HTML:
Sending the completely formatted HTML straight from PHP, or:
Just send JSON data and let Javascript do the HTML rendering?
I have a rather complex HTML structure, and this puts download time of a large HTML chunk vs. the times Javascript (jQuery) ...
anyone have an idea to make a marquee effect just like twitter ?
its steamless ( doenst stop waiting for the loop ends ) + fadeing at the start and the end. thanks.
edit
ok edit, ive found one semi - steamless here http://jsbin.com/uyawi/3/edit but its still laggy + not really streamless maybe becouse the use of css?
...
I want to save webpage as image file or i want to take snapshot of an webpage using PHP. Just like firefox extension Fireshot doing.
...