I am preparing a web page with more data that can possibly be shown without making the page really cumbersome. I am considering different way to do this. One way would be to have the extra data magically appear on a small window when the user hovers over a particular part of text.Yahoo! Answers does something like that when you hover ove...
Hi, I saw some code, html form code which looks like this:
<form name="form1" method="post" action="action.php">
<label for="name"> Name: <input type="text" name="name">
<label for="email">Email: <input type="text" name="email">
</form>
What are the form "name" for? (-> form1)
What are the label tag for? (i never use this, s...
Hi All,
Just want to know whats the exact meaning of the term "Cascading" in CSS.I am getting different views ,So thought of asking here.An ex. will help :-)
Thanks.
...
link REL="SHORTCUT ICON" HREF="/images/greenTheme/favicon.ico" type="image/x-icon"
the above code work in firefox but doesnt work in IE, how to make it work in IE?
...
Say I have these two strings:
"Some Text here" and "some text Here"
And I have a collection that contains the words that I would like to match against the text in the strings.
"Some", "Text", "Here"
If one of the words match a certain word in the string (regardless if it is upper- or lower-case) I would like to take the original word f...
Hi all.
I'm using C# + HttpWebRequest.
I have an HTML page I need to frequently check for updates.
Assuming I already have an older version of the HTML page (in a string for example), is there any way to download ONLY the "delta", or modified portion of the page, without downloading the entire page itself and comparing it to the older ve...
Hi,
Is it possible to clear an <input type='file' /> control value with jQuery? I've tried the following:
$('#control).attr({ value: '' });
But its not working.
Need help.
TIA.
...
I'm developing a site that's pretty lightweight on the interface and mostly database driven (equal amounts read and write). It's written in PHP and I've found the easiest way to make each page is:
Page:
<?php include("header-nav.php"); ?>
<table>
<tr>
<th>Column 1</th>
<th>Column 2</th>
</tr>
<tr>
<td>Da...
I have an href in HTML that I dynamically produce from a server. I have designed a nice rounded corner gif image that I would like to use as the background i.e. put the text (in white) over the gif image and have it still linkable.
The current html looks like:
<h2>
<!--img src="images/greenback.gif"-->
<a id="site-title0" class="ti...
Probably something stupid I'm doing. I want to populate a hidden DIV with values of a form on submit.
The DIV does open with correct data, but then resets after the page is finished loading. What am I doing wrong?
Here's my test:
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content=
...
Hello:
I am using the following JavaScript function:
function Projects()
{
var PrjTb1 = "<input type=text id=PrjNme size=100/>"
var PrjTb2 = "<textarea rows=5 col=200 wrap=hard></textarea>"
var Info = "1. Project or activity name:<br>" + PrjTb1 + "<br><br>2. Project or activity description:<br>" + PrjTb2
if (document.g...
I have an element like this:
<div id="foo_<?php echo $id;?>" class="hidden"></div>
I'm trying
if ($("#foo_ " + id).is(':hidden'))
{
//stuff
$("#foo_ " + id).html(html).slideDown('fast');
}
I've checked repeatedly, the div foo_233 is being found in firebug and is being shown as hidden. The id is passed on to the javascript f...
Hello, I can't seem to figure out how to get the offsetTop of an element within a table. It works fine on elements outside tables, but all of the elements within a table return the same result, and it's usually at the top of the page. I tried this in firefox and chrome. How do I get the offsetTop of an element in a table?
thanks!
...
Hi
I'm still a novice with web technologies and I have a few questions in line with the following code.
I'm trying to call a function getDetails() from another javascript function displayTable().
displayTable() gets invoked on clicking the button 'My CD Facts'.
Well, its not working for me. I guess its some thing daft but I'm not abl...
I have a record set with hundreds of rows. when a user clicks the row they go somewhere else and later get redirected to the page with the rows again. I want the page to start on the exact row the clicked on.
I have rows set up with a line number corresponding to each record number from the database.
//some record set
while not RS.eo...
I would like to put a table of contents at the top of an internal email newsletter that will allow readers to 'jump' down to the part of the newsletter that interests them. Something like:
<ul>
<li><a href="#FUNDING">Funding Opportunities</a></li>
<li><a href="#DEVELOPMENT">Professional Development</a></li>
<li><a hre...
I am using Yahoo's UI Grids to structure most of my pages. One of my pages is a Google map and I need about a 400 pixel fixed left column to put map legend information into. YUI Grids however only offers 3 columns for their 100% page layouts, namely 160px, 180px and 300px.
Is there a way that I can customize their 'template 3' which pro...
Hi, I would like to construct an HTML link element referencing a CSS file and I would like to use the same reference from multiple documents.
For example, my CSS file is in: {root}/style/style.css
For files in {root}, I use: <link type="text/css" rel="stylesheet" href="style/style.css" />
But for files in {root}/inc, I have to use <lin...
In one php file (file1.php), I execute another through
<form action="file2.php" method="POST">
yet within file2, I want to access html elements from file1.php, via document.getElementById(). Yet, the document object is different for file1 and file2.
How can I access file1's elements from within file2?
...
Hi,
it seems that Markdown.NET does not escape the following:
<script>
which is kind of a problem...
Is there any other way of generating HTML from Markdown on the server with ASP.NET?
...