html

Create Excel file as html markup

Hi. I have some plain text file (.xls extension) with next markup (attached below). It's opening in excel 2003 without any error. Now I need to know what is the name of technology, when I could create excel file through html markup? Becouse I need to fix this file to open correctly in Excel 2007 and earlier. (I see "file in the diffe...

The value of dropdown after posting from IE7/8, displays as array, but normal value in firefox using PHP,HTML,JAVA(DHTMLSUITE modal message)

Hi , i am generating a dropdown in a twin forloop ( for loop inside a forloop) when i post the same with IE7/8 i get the values as an array(array { [0] = 11_31_2}), but in firefox i get it as 11_31_2. below is the following code i use for ($k=1;$k<=strlen($weeklist);$k++) { if ($presentweek == 1) { $k = 0; } if (s...

share this button problem

H. I have used the code from sharethis.com to add the social media feature on my website. But when i click on facebook and share it, I am getting the message "your message was successfully shared" and beneath that i am getting sharethis.com promotion as Get this button, which does not look nice. I saw this website, http://breakstonestr...

send html text with ajax, problem on '&'?

i use jquery.ajax to save a rich text area . corr=some.innerHTML(); /* corr='&lt; some text &lt;' */ $.ajax({ type:"POST", url:"flatplan/save_corr.php", data:"corr="+corr+"&IDFS="+IDFILES, success: function(msg){ }, error:function(x,e){ ajax_errors(x,e); } }); The problem is that the corr variable can...

Can you make the font-size attribute scaleable based on the browser window?

Here's one I've never encountered before. Is it possible to make a font scale with the window size of the browser. For example: making the font size 100% of the available width. I'm open to Javascript, jQuery or CSS solutions. ...

How to make SVG appear without scroll bars in html

How can I make a SVG appear reliably without scrollbars in HTML? Something that works in both Firefox and Chrome is sufficient. The most basic step is that the SVG appears as it's "natural" width and height in the document. Fully expanded. Without scroll bars. firefox generally does this. Chrome generally does not (unless I use prior k...

HTML Select Size not being rendered

Recently we copied an ASP.NET WebForms solution. In this solution we are using some ASP:ListBoxes where the Rows property is set to more than 1. This renders following HTML.. <select size="8" name="ctl00$MainContainer$lbType" multiple="multiple" onchange="javascript:setTimeout('__doPostBack(\'ctl00$MainContainer$lbType\',\'\')', ...

Using HTML to open a program with variables

Greetings, all! I have hit a bit of a brick wall and was hoping that I could get some help. I'm trying to write a site that people can access with IE6+ that will allow them to click a link that will open a piece of software on their desktop (the run/save dialog is OK) that also contains variables. Thoughts, ideas? It should look some...

Tabbing through an HTML form on OS X, any way to force it to stop on all form elements?

First question here, be gentle. :) In OS X, tabbing through an HTML form, you'll find that it only stops on text boxes and lists. I need it to stop on all form inputs (not strictly inputs, all form elements that collect data). As far as I'm aware this can only be configured in System Preferences under Keyboard Shortcuts, but obviously...

Application Theming

I'm designing an application that'd require different themes. By 'theme' I mean the colors and logo. Is using jQuery themeroller the only option or is there any easier solution to generate themes by providing colors and images? Thanks ...

asp.net template

Hi all. Where i can to buy quality web template for asp.net. Thanks. ...

Delete button does not show up in dynamically added row

Hello all, I'm using jQuery to dynamically add rows to my HTML table on a button click. For the newly added row, I want to have a '+' and 'X' button for adding/deleting the dynamically added rows. My HTML for the same is as follows: <td> <button type="button" class="addRow"> + </button> </td> And my jQuery code for the sa...

Allow Paging for HTML list

Hi guys, I am building a SharePoint web part that creates a HTML list as below <ul> <li> ... </li> </ul> Is there a way to enable paging on this list using Javascript because the list is too long? Thanks. ...

Styling a span inside an anchor tag

I'm trying to make this look pretty, but I've run into a problem. I have a span element containing a Subtitle or short description inside the anchor tag. Unfortunately it's styled the same way as the anchor, which is not how I want it to be. I've tried applying styling to the span itself but they seem to be overridden by the anchor style...

PHP:HTML markup breking when taking first 200 chars

in my PHP web application,I have a dataentry form where users will enter data using a rich text editor (FCKEditor i m using) and will be saving the Markup from the editor to the DB table.In another page i have to display the first 200 chars of the content (with View more link to view the entire thing). So when i m taking first 200 chars,...

HTML wireframe toolbox

I've been using Dreamweaver to create my wireframes (tables). Before I create my own css/html/icon framework I would like know if such a library already exists. The ideal toolbox would include basic styles for all form elements, icons, css grid layout, sample standard ad sizes, and empty templates. ...

rich text editor for textarea

can some of you guys suggest me some free rich text editor for textarea? I like the one that stackoverflow uses. ...

safe html filtering with php ?

function validCleanHtml( $unclosedString ) { preg_match_all( "/<([^\/]\w*)>/", $closedString = $unclosedString, $tags ); for ( $i = count( $tags[1] ) - 1; $i >= 0; $i-- ) { $tag = $tags[1][$i]; if ( substr_count( $closedString, "</$tag>" ) < substr_count( $closedString, "<$tag>" ) ) $closedString ....

Label whole column for radio-buttons in table

I have a HTML table with several rows and columns and one radio-button in each column. I would like to make it possible to click in any row of the table to select the radiobutton in that column. I know it can be accomplished with the label-tag, by using javascript or some kind of CSS3. But I would like to know if there is any pure HTML-...

How can I unregister a handler set to jQuery.ajaxStart() function?

I tried doing $.ajaxStart(function(){}), but it does not replace it, but appended. Thank you for your help. ...