Hello! I've created a sliding image viewer here. As you can see, there's 4 small clickable images to change/slide the image. I want the small image to change to this image when it's clicked, or when the appropriate main image is showing. That way the users can tell which main image is being shown. Can anyone maybe look at the source and...
I'm trying to set up my site to use HTML 5 videos. The mp4 files are served from S3. I've got the MIME type right, and the URL is right. It's not working though. The only thing I can think of is the codec being wrong.
Here is my code:
<video width="320" height="240" controls>
<source src="{url}" type='video/mp4; codecs="avc1.42E01E, m...
I want to have a table border that encompasses the entire table except for the first row.
Is there any way to do this?
...
Is there a way to specify a form either through type or action url to not open the response? In other words I would like to send the info to the server, but not do anything on the client. I know I can use ajax and ignore the response, but I would like to avoid adding all the js to my code if possible.
Edit: I didn't mean to limit myself...
I have a table, with some rows and columns, here is the example of the second row
<tr>
<td valign="top" style="width: 150px;">
<h5>MyCity</h5>
</td>
<td valign="top" style="width: 360px;">
<h5 class="store_title">Store Title</h5>
<p>address</p>
</td>
<td class="storeDescriptionCell"><div>Descr...
I have a table divided into a table head and table body. In order to make the table look a little nicer, the table head has a 2 part background image that gives it rounded corners. The table head does NOT have a border.
The table body does have a border. Therefore, it appears to stick out a little bit beyond the table head on the right ...
I'm looking for a way to set the text marker to the beginning of a textarea when there's a value set or text between the textarea tags. I couldn't find anything on it when searching. So, does anyone know how to go about doing this?
...
Can anyone help me with why this JavaScript is not writing to the definition list in the body? When I debug, the object is there and the lines are all executed. Also, if I use document.write the information will overwrite the page. I'm just having trouble with adding this HTML to the predefined definition list. There are no errors in ...
I need a means of getting past Firefox's irritating refusal to pass the full path of a file selected using the input file element. This issue has come up in multiple other forums and I haven't found any solutions that are helpful.
What I want is a means, via javascript, to open a file dialog (without using the silly "hidden file input ...
i want to have a grid inside a div grid like this one:
http://www.chinolatino.eu/
you can see it has an outer div grid and an inner div grid.
i wonder if this could be accomplished with 960?
thanks!
...
Sample code is at the end of the post for reference.
Sorry for being so long winded, just trying to be through and leave no possible relevant info out.
This seems like I painted myself in a bit of a corner. I have a show hide toggle function that seems to work fine. I have a small army of DIVs that are each shown and hidden when menu...
How can I achieve the equivalent of:
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="300">
<RowDefinition Height="*">
<RowDefinition Height="100">
whe the row with height * fills the remaining screen space after the top and bottom rows have taken their 400px?
Thanks
...
Currently I'm using PHP to load multiple XML files from around the web (non-local) using simplexml_load_file(). This, as you can imagine, is quite a clunky process and is slowing load time significantly (7 seconds to load 7 files), and there could possibly be more files to load. These files don't change often, but changes should be displ...
I would like to hide the entire age column on this table.
<table id="displayTable">
<tr>
<td class="Name"></td>
<td class="Phone"></td>
<td class="Age"></td>
</tr>
</table>
Javascript follows to hide Age cell -
var table = document.getElementById('displayTable');
var tableRow = table.getElementsByTa...
I have a link
<a href="#">Text</a>
when i click this link my page alway scroll up to the top. How do i manage it that when i clik this link my page not scroll up to the top.
Javascript? or something
thank you
...
On my website you can post a comment, but I am unsure how to style them using CSS. I remember reading something about using ul and li tags but I can't figure it out. I want each individual comment to have a border, background color, etc. Here is the PHP:
$query = "SELECT * FROM catharsis";
$result = mysql_query($query);
$num = mysql_num...
I am trying to simply post an entire form w/o the need to create the url like you would have to in a get call. All of the tutorials I have seen for this for some reason create a parameter URL and send it via the send ability.
I want to be able to send a form via the form id or form name, is this possible?
The reason is because I will ha...
I have a <td> that is just about empty since it only contains an . The height I'm trying to enforce is 110 pixels, but for some reason the table cell is rendered with a height of 182.317 pixels. Why?
There are a few things I already checked:
The font-size that applies to the non-breaking space isn't set to something that cannot ...
First of all, I apologize if this is a stupid question, I'm a dead beginner so I could easily be missing something obvious.
I'm trying to make a horizontal drop down menu where everything is pulled from a database (i don't want to hardcode anything). Right now there are something like 17 main elements, with 3-8 suboptions each. But it...
Sorry if the title doesn't accurately describe what I'm trying to do. I'm a novice at all this to say the least! To help you understand what I'm trying to accomplish please read the example below.
I have a list of divs, each of which may have a series of "tags" as I'll call them. For this example I'll use Red, Blue, and Green as the pos...