html

jquery Jscroll Not Showing

Can't seem to get Jscroll to show up. I set a color in the style sheet just to test it but I can't get anything to show up. Any help would be greatly appreciated. http://cheapramen.com/JQuery/jscroll/jscroll.html ...

GWT Widget from HTML

I have a block of HTML that I would like to use as the basis of a GWT widget, but am not quite sure the best way to do so. As an example, my HTML block looks something like this: <div class="my-widget"> <div class="header"> <span class="title">Title Text</span> </div> <div class="body"> <span class="content">...

hide checkbox border in html/javscript/css

is there a way to hide the square border of a checkbox in html? ...

Convert HTML to Textile in Ruby?

Is there a ruby library like RedCloth that converts HTML to Textile? ...

How do I get this CSS text-decoration issue to work?

Some days I swear I'm going mad. This is one of those days. I thought my CSS was fairly straight-forward here, but it just doesn't seem to be working. What am I missing? My CSS looks like this: ul > li { text-decoration: none; } ul > li.u { text-decoration: underline; } ul > li > ul > li { text-decoration: none; } ul > li > ul > li....

Dynamic Div Height Calculation - JQuery/AJAX

Hello, I've written a small lightbox plugin for jQuery (yes, there are several ready made packages -- unfortunately, the designer in my co. does not like any of them). I have one small problem -- I am using .load() to load dynamic flash content into the lightbox div. I am appending the div to the DOM, presetting visibility to hidden, a...

jQuery html() converting braces to html entities (sometimes)

Basically: I have this HTML: <div id="foo"><img src="/foo/bar/{var}/foo" alt="{var}"></div> When calling (using jQuery in Firefox): $("#foo").html() I get: <img src="/foo/bar/%7Bvar%7D/foo" alt="{var}"> My desired output is: <img src="/foo/bar/{var}/foo" alt="{var}"> What's going on here? Any tips for how to resolve this? I...

HTML DOM width + height of visible window

How do I get the current height and width of the available space in the browser as it is open. I don't want the height of the total document, just what's visible on the screen. ...

Hiding the text input cursor (the caret) showing through overlayed elements Internet Explorer

I have a form with a special widget that fills in a text input. When the text input has focus, the widget appears above the text input (intentionally above it) and the user clicks options in it, when they're done it disappears and fills in the input. There is a problem with this in IE, when the widget appears above the input, the field's...

Validating Form Data and Displaying Graphics with JavaScript

I have not really used JavaScript before but I am trying to validate form elements as they are being filled out. I have an X and a Check mark that I am trying to display next to the field to show if it is valid or not. I know that this is partially right because I can use an alert but I am not sure how to alter the fields of the graphics...

Why is the From line not working on my mail function?

I am using a mail function to send html to an email address, but the From name and email address aren't showing up. This is my code: $name = $_POST['name']; $mailTo = '[email protected]'; $subject = 'Message from ' . $_POST['name']; $message = '<html> <head> <title>HTML email</title> </head> <body> <p><...

How do I query XHTML using python?

I have created a simple test harness in python for my ASP .net web site. I would like to look up some HTML tags in the resulting page to find certain values.\ What would be the best way of doing this in python? eg (returned page): <div id="ErrorPanel">An error occurred......</div> would display (in std out from python): Error: .....

Javascript rowIndex method is not working

I am using the rowIndex property of TR but it is not working. Please let me know if i am doing something wrong here. function myMethod(){ alert ( this.parent.rowIndex ); // parentNode is also used } Html <table border="1"> <tr> <td onclick="myMethod();">1.1</td> <td>1.2</td> <td>1.3</td> ...

Opening Print-HTML-Popup from Flash?

Hi, is it somehow possible to open a HTML popup window from within Flash and have it receive text data from Flash which should be printed ... and this all only in AS3 and Javascript (since no server-side scripting is available)? ...

HTML: Spanning a form across multiple td columns

I'd like to be able to do something like this in HTML. It isn't valid HTML, but the intent is there: <table> <tr> <th>Name</th> <th>Favorite Color</th> <th>&nbsp;</th> <th>&nbsp;</th> </tr> <tr> <form action="/updatePerson" method="post"> <input name="person_uuid" value="55...

Fixing hidden png images in IE6

Hello , I am using Drew Diller’s DD_belatedPNG solution to fix the common problem of showing png images in IE6 browser and it works fine for visible PNGs. Currently i have a hidden JQuery Dialog that has some PNGs inside it, when user clicks on a link the dialog appears, and the PNGs inside that dialog appear not fixed in IE6. Is ther...

How to add dynamic html content to a servlet at run time?

I've an HTML text which i want to display on servlet. This servlet already has some text fields, forms etc. Whenever I try to add this HTML text, servlet get distorted. I used IFrame to populate the HTML text but :-(. Please suggest how I can do this? ...

Getting Outlook to respect margin-top: 0px on body of an email?

Hi, I have a minor question: Im doing a email that is being sent out and wish to have no margin at the top of the email - so that a image or table is flush with the top of the viewport. I have tried sticking body tags in the html email with margin-top: 0px and it works fine in Thunderbird. However when testing in Microsoft Outlook the...

Cufon Nested Hover Problem

When using multiple lists and hover states the 'parent' Cufon style replaces the child. In the following example, when you hover the Second Level link it will be replaced by a different weight. Is there an option I can set so that the nested style stays the same or is this a bug/limitation within Cufon? <ul> <li><a href="#">Top Le...

Do IE Conditional Comments slow down page load?

I've been having the "CSS hacks" vs "Conditional Comments" argument enough times lately that I thought I'd throw this question out to the Stack Overflow community. <!--[if IE]> <link type="text/css" rel="stylesheet" href="ie-specific.css" /> <![endif]--> The main argument against using IE Conditional Comments seems to be that you're...