html

Help with HTML validation error: Table column has no cells beginning in it.

Please help me with this validation error. I can't understand what it means or what's not standards complaint with my HTML. I'll repost it here since hopefully I'll fix it and that link will no longer work: Table column 2 established by element td has no cells beginning in it. …="tooltip_table"><tr><td colspan="2">20 yd range</td></tr...

What is the HTML entity for up and down triangles?

I've found the outlined versions, but I want the solid ones. Does anyone know these entities? Thanks ...

CSS to define different formats for digits/non-digits

How do I use CSS to define a text input area where digits and non-digits are rendered with different formats (bold/italic/color)? i.e. 345 dollar -> 345 dollar Are there anything equivalent to Regular Expression Library fo regex for CSS? Below are edited I'm using the Seam framework, any alternatives to achieve this is also welco...

Web UI: Dynamic Web Forms

consider the following data structure: subject (stdClass) topic (stdClass) units (int) title (varchar 50) description (varchar 255) start_time (time) end_time (time) teacher (stdClass) first_name (varchar 50) last_name (varchar 50) students (stdClass[]) 1 (stdCl...

Simple JS slideshow that will work with N entries

I would like to create a simple javascript slideshow that allows a user to click 'Previous' or 'Next' and have the element slide in from the right or left depending. Content will be coming in from a CMS, so it's not 'hard-coded' persay. My markup would look like this ideally (where the most recent entry receives the 'show' class): <span...

How to change A's html site when B does something.

Say we have users A and B which visit the same URL containing a button. When A clicks on the button, I want something on B's website to change immediately while B is on it, e.g. a text to be added. I want this to happen with a delay of less than 150ms. Is this realistic? Could you give me hints as to what I should search for, or toy exa...

jQuery slideshow loop fail

Hi, I've been trying to implement snook.ca's Simplest jQuery Slideshow, but when applied to child elements inside a <ul> instead of a straightforward stack of images. I've successfully got the slideshow rotating through the necessary child elements, but I've run out of know-how when ending the sequence and returning to the beginning. I...

how to display new window in current browser window (html)?

Hi, I am trying to create an embedded <script> containing a function called "showForm()" that displays the contents of a file called "form.htm" within the main browswer window. This is what I need to do: Display the form.htm file in the browser window that was used to open the cover.htm file. (hint: use the "opener" keyword to refere...

Preserve selected file when HTML form invalid

I have an HTML form with several text inputs and one file. If any of the inputs are invalid, the form is shown again to the user with their previous answers as the default values. I know how to do this with text inputs but is there a way to do this with the file? ...

Opening Native App. from Safari

I know iPhone apps. operate like sandboxes. Meaning that they don't have access to other apps' files. And I have also managed to open a website in Safari from a Native App() using: openURL:[NSURL URLWithString: Website_Address] There are four Native apps that I have seen being opened from safari. App Store app Maps app Email app P...

IE7 cuts the overlapping control

Hi, I am facing a very typical problem that I would try to explain: I have a user control, (built in .NET and that I didn't created it) that has an overlapping textbox ( The textbox has got a css:clip property and absolute-positioning applied to it. This gives an overall effect of a drop down list cum textbox. The clever (!!) develop...

Extract image from the content

I want to extract images from the_content() and want to display first images from post on index.php and want to display all images on single.php. To do this I apply a filter on the_content(): <?php /***************************************************************************** Post Summary Filter - Grap Image Thumbnails, Strip Tags, ...

XQuery execution without a software

How can we execute Xquery embedded inside Html or with a reference to an xquery document within html? is there a JavaScript method ? or ASP DOM method ? ...

embed html in foreign website

I would like to know if somebody knows a method to embed custom html in foreign websites. Maybe there's a firefox extension or something like that (like stylish for example, but for html instead of css) ...

Why does jQuery fail to hide certain HTML?

I've been running my head into a wall trying to figure this out. Take the following HTML body: <body> <div id="project"> <h1>Hi</h1> <h2>Hello</h2> </div> </body> And the following jQuery code: $(function(){ var h = $('#project').html(); $('#project').remove(); $(h).hide().appendTo('body'); alert("Created HTML, hide, and ...

How do I have an input button and <a> tag?

I have this: <a> Stuff stuff stuff <input type="Submit" onclick="...."> </a> The problem is...when I click the submit button, it goes to the instead of onclick. ...

select option clears when page loads in php

Hey guys, the scenario is this: see select below <form name="limit"> <select name="limiter" onChange="limit(this.value)"> <option selected="selected">&nbsp;</option> <option value="5">5</option> <option value="10">10</option> <option value="15">15</option> </select> </form> I want whenever any ...

How do I force download with html/javascript?

Hi guys, I have a link and if a user clicks it I need 2 things to happen: A proper HTTP response is sent to the user (especially with Content-Type: video/mp4) and a video file will automatically begin downloading. I have seen something of the sort with php, but I need it only with html/javascript. Is this possible? Thanks Alex ...

After the page is submited show the selected value in the select box ruby on rails

Hello, I have the following in my view to display a select box with countries in it: @countries = {'United States' => 'US', 'France' => 'FR'} <%= select_tag 'countries', options_for_select(@countries.to_a) %> it works fine. Now in cases I have an error after submitting the form, all of the values in the text field that ...

Trying to select text within a cell in a table in Internet Explorer results in rest of table being selected.

I have a strange problem on a web page I'm working with. I have table with lots of information in it and when I try to select a single cell (click-drag) it selects that entire cell and the rest of the table. I have checked the code over and over again and I cannot seem to find what is causing this problem. Other tables work just fine wi...