Hi Stackoverflow,
I'm building a website where I'm using jQuery to animate a horizontal tabbed menu. What I want to achieve can be seen here:
/ link removed /
If you hover/mouseover the "Link 1" tab, you'll see that a white div is expanding. Each of the tab menu items are a styled li-tag. What I want to do is, that when you hover/mous...
Consider the following HTML:
<form action="">
<input />
<select>
<option>A</option>
<option>B</option>
</select>
<input type="submit" />
</form>
If the focus is on the input (text box) and I hit enter, the form submits.
But, if the focus is on the select (dropdown box) and I hit enter, nothing happens....
Declaring them as &xuml; etc. didn't work, just writing them as they are leads to display errors.
What to do?
...
Hi all. I have a user form with a textarea that allows users to submit html formatted data. The html itself is limited by PHP strip_tags, but of course that does no completion checking etc.
My basic problem is that should a user leave a tag unclosed, such as the <a> tag, then all the content following that, including page content that...
I know that at the time of this writing only Opera supports a browser UI for
<input type="date" name="mydate">
and maybe my attempts to localize this field have been met with frustration because niceties like localization have not yet been included in their implementation, but I don't even see mention of it in the HTML5 spec. Is there...
In my web application I would like to complately avoid html and use only javascript to create web-page's dom tree.
What is faster writing web content in the traditional way in html <div>Some text</div> or using javascript dom render, like this: div.appendChild(document.createTextNode("Some text"));?
...
Jquery code:
$(".menu_clickable").mouseover(function() {
$(this).css({'background-color' : '#F00'}).mouseout(function(){
$(this).css({'background-color' : '#FFF'});
});
});
$(".menu_clickable").live('click', function() {
$(this).css({'background-color' : '#FCC'});
});
HTML source:
<div class="menu_clickable prof_info2" id="prof_i...
Hi everyone,
I'm using Unobtrusive Toggling in a view that contains many records (Orders). I've got it working on individual divs, but I now want it to work so each Order can be expanded/contracted individually within the loop using its own toggle link (the link is also looped).
When my expandable div is called x, the problem is every ...
Hi I am trying to include a perl script within my shtml file. Unfortunately when I do my script doesnt seem to run but instead it just displays the content of the script.
The code I am using is as follows:
test.shtml:
<html>
<title> business home page </title>
<body>
</br>
<!--#echo var="DATE_LOCAL" -->
<br />
<!--#include virtual="h...
Warning: include(html\download.html) [function.include]: failed to open stream: No such file or directory in /home/jamia/public_html/download.php on line 4
this message is displayed when open any page.
it is index page.
...
Hello,
I have following code:
<table>
<tr>
<td>Table 1</td>
</tr>
</table>
<table>
<tr>
<td>Table 2</td>
</tr>
</table>
Very unfortunately, a line break is inserted between these two tables. I have tried putting them both in a single span and setting the whitespace to nowrap, but at no avail. Please, ...
I have a table like this:
<table>
<tr>
<th>Header</th>
<td>Content</td>
</tr>
<tr>
<th>Header</th>
<td>Content</td>
</tr>
</table>
How can I make the header actually float above the content cell without putting everything on a separate row? For instance:
Header
Content
Header
Content
...
I have an ambitious requirement for an asp.net 2.0 web page that contains a table (gridview), and each row in the grid contains 6 select (dropdown) controls for data entry. The number of rows that will be displayed is dependent upon the user's search parameters, which are specified in another area of the page. Unfortunately, with the d...
Hello,
I am adding a text box using javascript:
This is what is generated:
<dd id="text3-element" style="width: 350px;">
<input type="text" size="50" id="text3" name="text3" onblur="return getFieldValue(this.id);" value="">
</dd>
This is what is present in the getFieldValue function:
function ge...
how can I get my fixed width site to always appear "fully zoomed in" on webkit (iphone and android) browsers?
right now, it looks fine on an iPhone and "too small/zoomed out" on an Android phones that have higher resolution.
i'm trying this viewport:
<meta name="viewport" content="user-scalable=yes, width=device-width, target-density...
Using 960.gs, I have a page which is a login screen which uses a div for the login form with a background image. This div is displayed below a header which pushes it down to the middle of the browser window. In the CSS I am setting the body colour:
body {
background-color: #594c34;
margin: 0;
padding: 0;
font-family: "Ar...
My customer is telling me there are black outlines around the elliptical links on this page
http://animactions.ca/volet_entreprise.php
when using Internet Explorer. None of my pc's show this and i'm not sure how to fix this.
Thanks
...
Hello, everyone
I have an html form with a checked checkbox:
<input type=checkbox name="somebox" value="somevalue" checked />
When I get this form, uncheck the checkbox and post the form again, the checkbox is still being passed on together with submitted data. So, unchecking in does nothing finally.
Is there a way to uncheck it? Or...
Is "absolute" absolute or not?
I am trying to make an input form with nested elements, each containing other elements, but it does not display correctly (according to a screen ruler (and the naked eye)).
The HTML is valid, so is this a case of "well, it's absolute, but only relative to it's containing folder" or some such?
<!DOCT...
The HTTP spec says that a POST request can contain an arbitrary body of data.
An HTML form element can POST to a URL and may contain input elements, but those input elements get turned into a query string.
How can I get a form to also send along data in the body of the HTTP POST request that it sends when its submit button is pressed?
...