The idea: I'm setting the value of an input with type="hidden" via regular Javascript or jQuery.
The issue: neither jQuery nor document.getElementById will find the hidden input, even though I'm absolutely sure the selector is correct and there are no conflicting elements.
The code:
I can't really post much of it, because it's full of ...
I have an tag surrounding an image. I have a border set on the div that the tag is in. I have both margin and padding set to 0 but for some reason my tag is still about 3 pixels taller than my image. This leaves a bit of space between the image and the border, which destroys the look that I want to accomplish.
What am I doing wrong? ...
Hi,
Apple has a pretty cool feature when hovering over a large image here: http://www.apple.com/aperture/what-is.html It zooms out a small magnifier glass icon which moves with the cursor while over a zoomable image.
How can I do that, preferably with JQuery?
Can anyone help me please?
THX
...
Hi everyone!
I developed a user input form in php used (php, html, javascript…). I wrote validate functions in JavaScript.
The form is working fine in internet explorer and validate all the fields, but when I open in Firefox then, the form and fields not validate like (drop down menu field) not validate, but why? I am new in web developm...
I have a link that a user selects, to display a paragraph, once they select it, I want it to display a different image, initially the image will be a plus (+) sign, to visually communicate that it can be clicked to slide down the content to be seen, and once it is clicked, I want it to change to a minus (-) sign, so they can click and it...
In my application when I person selects an item at the bottom of the select box the area is reloaded with another select box. My problem is when the select box is loaded it scrolls to the top instead of scrolling to the selected item
observe here
http://www.jaunna.com/question/Add
UserID: top
Pass: t
...
Hello,
I have quite an interesting situation. I have a table with two columns. In The left one, I have a lot of text, it is HUGE. In the right column, I have a marquee with a very long list, longer still than the content in the left column, but, for it is a marquee, the height is quite little. Is it possible to set the marquees height t...
Hello, I have a problem with Firefox I have a drop down menu at the top of my website this is the code for the CSS
#zone-bar {
background:#E5E5E5;
min-height:30px;
z-index:10;
padding:5px 10px 0;
}
#zone-bar ul li {
float:left;
height:18px;
margin-right:10px;
position:relative;
z-index:10;
padding:5px 5px 0;
}
#zone-bar ul li:hover {
ba...
this is my code:
function validateFormOnSubmit2(theForm) {
var reason = "";
reason += validateState(theForm.state);
if (reason != "") {
alert("State field need correction:\n" + reason);
return false;
}
return true;
}
function validateState(fld) {
var error = "";
if (fld.value == "") {
error = ...
I am trying to have tooltip for my personal website http://www.stacked.in. when I move the mouse on the link, I want to have tooltip displayed. Tooltip display content is already available inside the html page as a div element, but it is hidden. I want the tool-tip to be displayed only when I move the mouse over the link. I use jquery an...
Lets take a static html page as a scenario, lets say you have a DIV element that you wish to only render fully within a users browser AFTER all its content has already been fully loaded instead of having bits and pieces of it appear. Any ideas appreciated! thanks
...
I'm trying to create an image object or canvas object that will resize based on the window dimensions, but keep the aspect ratio. Is this possible?
I know that with canvas, you can maintain bicubic scaling, but is it possible to have the image scale on the window resize while maintaining the aspect ratio?
...
My code for creating the data table looks like this:
myDataTable = new YAHOO.widget.ScrollingDataTable(
"containerDiv",
myColumnDefs,
myDataSource,
{height:"100px",width:"100%"}
);
That code produces a table that looks something like this...
I was just wondering I'm trying to display all a members friend requests in their own form for example, three friend requests will be displayed in three different forms or 20 friend requests will be displayed in 20 different forms and so on. The reason for this is because I want each friend request to have its own Add Friend or Deny Frie...
Hi ,
I have a .avi file .I want to play it using a vlc media player or quicktime in a webpage(HTML).Any idea how to do this?
By default it opens up in windows media player and that is not able to open the file
...
we have a website with links to a sharepoint. These features in sharepoint only work in IE so i dont want to open up firefox or chrome if that is the default browser. Is there anyway to have a
<a href= "">My Link</a>
force open up in internet explorer ?
...
say i have a list
e.g.
apple
car
bin
How to i get it to fill horizonatlly in a table rather than vertically i.e so it looks like this in a table:
apple car bin
The code im using just repeats each entry of the list for the entire row, code below:
<body>
<div metal:fill-slot="main">
<h1>List of Species in the Database</h...
Possible Duplicate:
Custom attributes - Yay or nay?
Is it appropriate to create custom attributes for HTML elements as so:
<input type='text' value='name' custom_attribute='value'>
This seems a little hacky and I'm not sure if it is supported largely or exactly how it would be accessed via DOM.
...
Does anyone know how to make a multiple select (see below HTML) sortable? Using either jQuery or Ext JS? By sortable, I mean that I can drag an item (an option) up or down to reposition it in the select control.
<select id="testing" multiple=multiple>
<option>First Option</option>
<option>Second Option</option>
<option>Thi...
I am using a CMS like system, which defines custom form fields.
To make a form, all you can really do is add certain form fields, and that is it. The only action possible within the CMS form builder is to save the form to the database.
Here is an example of such a form.
I want to basically have one field, the inputSmartSearch field, w...