html

Most Efficient way of Filtering an Html Table?

I have an ajax function which call a servlet to get list of products from various webservices, the number of products can go upto 100,000. i need to show this list in a html table. I am trying to provide users an interface to filter this list based on several criteria. Currently i am using a simple jquery plugin to achieve this, but i f...

IE6: How to get inline base64 images to work with IE6?

How do I get IE6 to display inline base64 encoded images? <img src="data:image/png;base64,....." /> This works in Firefox/Chrome/Safari but not IE6. ...

Problems with innerHTML using Javascript

Ok, so the base problem is in setting the innerHTML of a div element, any html markup that is in my string is being stripped (and not displayed) in all major browsers except for Firefox. Now for the catch, this doesn't happen when the page is first loaded, it only happens on a partial postback (unless its Firefox, then it always works)....

Eclipse: which plugins for HTML & Javascript?

Which plugins do you use for editing (with syntax highlighting) HTML & Javascript in Eclipse 3.5? ...

Why jQuery don't want to style piece of html inserted with Ajax into new page

This is my first post, so first hallo all. I have a little problem with Ajax and jQuery. On one page test.html i have one div with some paragraph and one img. On the index.html page i have only anchor for retrieval of that div using Ajax with jQuery. But all css(which i have set for that div only using jQuery) don't work after the succe...

How to filter which files can be seen on upload dialog box?

Hi, In an ASP.NET MVC application which is not to have client side objects like ActiveXes, Flash or Java Applets (JavaScript is OK), is it feasible to imagine it being possible that when an upload file dialog box pops up, it will only show the files I specify? For example, only files of extension .docx or docx and jpg would be visible...

The best way to integrate SWF to html page

What html-tags I should to use? May be some JS libs? Of course, better if this will be cross-browser and platform independent. ...

Generate pretty diff html in Python

I have two chunks of text that I would like to compare and see which words/lines have been added/removed/modified in Python (similar to a Wiki's Diff Output). I have tried difflib.HtmlDiff but it's output is less than pretty. Is there a way in Python (or external library) that would generate clean looking HTML of the diff of two sets...

Utf "\x94" validation error in html/xhtml form for php

Okay XHTML want's to play some games with me, I was doing fine, until up to now. Looking at the two code snippets below I don't see anything wrong with them, however when I try to validate I get "The error was: utf8 "\x94" does not map to Unicode on line 91, I have commented line 91 to denote the problem area. And what's up with "Sorr...

Issue with footer in IE8

i have an issue with my footer in IE8 only. The footer itself detaches from the rest of the page almost as if there was a line break. I used this condition statement to fix it but i got nothing <!--[if !IE 8]> <style type="text/css" media="screen"> #BTM {margin-top: -10px;} <![endif]--> How do i target IE8 only? any suggestions? ...

What encoding is this... and how do you escape it in php?

Im working on an imdb data scraper for a site, and I they seem to encode everything in a weird encoding I never saw before. <a href="/keyword/exploding-ship/">Exploding&#xA0;Ship</a> A Bug&#x27;s Life Is there a php function that will convert these to regular characters? ...

Web-based wysiwyg html layout editor?

I'm not talking about WYSIWYG text editor. FCKEditor, TinyMCE is not an option. The questions is about a web based JS (maybe Flash) html layout editor, that allows creating of DIV's, settings basic parameters of them (width, height, margins, paddings) and allows editing of raw html/css for advanced purposes. The only one close enough is...

Make IE respect your whitespace with dynmically changed content

If I have the following line in html: <span></span> wtf and then I run the jQuery statement: $("span").html("test"); It ends up looking like "testwtf" instead of "test wtf". Is there anything I can do about this without changing the html? ...

Style a definitition list as simple key value set

I'd like to use a definition list as simple as: <dl> <dt>name:</dt> <dd>Tomas</dd> <dt>address:</dt> <dd>this is a very long wrapping address</dd> <dt>age:<dt> <dd>29</dd> <dl> to render something like: name: Tomas address: this is a very long wrapping address age: 29 The definition list seems semantically the best op...

How to hide parts of HTML when JavaScript is disabled?

I'm trying to accommodate users without JavaScript. (By the way, is it worth the effort nowadays?) In one html file I'd like part of it execute if scripts are ON, and another part if scripts are OFF. <noscript> tag lets me do the former, but how to achieve the latter? How can I mark a part of html so that it is not parsed by browser i...

Is the "address" HTML tag still used?

I'm not seeing the usage of address tag around. Is it still relevant using address tag these days? Any proposal to deprecate this arise ever? ...

Ajax: injecting code into Internet Explorer

I'm having trouble getting the follow code to work in Internet Explorer, it doesn't seem to want to execute the code sent back from the server via Ajax, it just does nothing: var ajax = new ActiveXObject('Microsoft.XMLHTTP'); ajax.open('GET','http://fromsitewebsite.com/javascript.js',true); ajax.setRequestHeader('Connection','close'); a...

Float left somehow being broken

Take a look at http://new.reyniersaudio.com/test.html The idea here is that I want the container "modelInfoRightCol" to wrap around "modelInfoRightCol (the picture of the case and pricing info)". What am I doing that's preventing this from happening. Thanks! ...

Do you plan for javascript being off?

I'm coding a fairly large and complex site by myself, so do you think I need to support javascript being turned off? Its a lot of extra work supporting full page postbacks for stuff I could quickly do with JSON and ajax. ...

Wrapping a div around the document body

Hello! I am trying to dynamically wrap the contents of a document's body tag in a DIV. So far, I have used the following code: document.body.innerHTML = '<div id="wrap">' + document.body.innerHTML + '</div>'; This works, but has the unwanted side effect that other scripts on the same page stop working (I assume because changing innerH...