html

Designing a rich UI using Webview for a non-network-using Android application

Hi, I am in the process of designing an application for android where the user can see a list of resources with short summary (e.g., title and date of an event) , and clicking on an item shows the details (e.g., event description, who is attending, etc). Currently I am exploring making a custom ListView and LinearLayout for this in Andro...

resizeBy throwing "Access is denied" exception in IE

I am trying to resize the window in IE. For this, I am using window.resizeBy(width - document.documentElement.clientWidth, height - document.documentElement.clientHeight); However, sometimes this fails with an "Access is denied" exception. The way I was handling this was just to use setTimeout('resizeWindow(' + width + ', ' + height ...

Frameset not showing up in FireFox or IE. Fine in Chrome..??!?

For some reason, this very basic page shows up fine in Chrome, but not FireFox or IE. I've never really needed to use Frames before, but they seem simple enough. Is there a problem with using a single frame within a frameset? I am trying to replace an iFrame with this single frame. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 frameset//...

Is there a way to specify a max height or width for an image?

I'd like to have an image to have either a height of 725 or a width of 500 and maintain it's aspect ratio. When I have images with a height of over 725 and thinner than 500 they get stretched out to fit a width of 500. What is the best way to do this? Below is what I am doing now: <asp:Image Height="725" width="500" ID="img_DocPrevie...

Remove insecure content from the page

Hi Guys, I want to remove insecure content from site I added facebook social networking box by using following GWT code in HTMLPanel < iframe width='244' height='242' class='fb-fan-box' src='https://www.facebook.com/connect/connect.php?id="+ FacebookConstants.FB_DUBLIN_PAGE_ID+ "&connections=10&stream=0&css=https://www.supergroupers...

body element doesn't have 100% height

Hello, has anybody an idea, why the blue div isn't set to 100% ? I need the blue div at the top of he brown footer!!! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <meta http-equiv="Content...

One Hyperlink In Many Different Locations

I'd like to implement a hyperlink in many locations on my website, however I just want to have it defined once not several times over. What is the best way to achieve this? I started down the road of listing it in the node of web.config but I was only able to get that to list as a literal and wasn't successful in having it end up as a...

ie6 ul.li hover

i know that ie6 can only do hover on a href element. but i do not need a href element. i have ul.li element like below ul.testclass li { display: inline-block; } ul.testclass li:hover { background-color: #ffffff; } it work on all browsers except ie6. any workaround to make it work in ie6? ...

Parse Error: Syntax Error unexpected T_DOUBLE_ARROW expection ')'

here's the error I keep getting: Parse error: syntax error, unexpected T_DOUBLE_ARROW, expecting ')' in .../Themes/default/Display.template.php on line 170 Here's the code: 'notify' => array('test' => 'can_mark_notify', 'text' => 125, 'image' => 'notify.gif', 'lang' => true, 'custom' => 'onclick="return confirm(Â¥'' . ($context['is_...

Looking for a good photo gallery slide show tool for my site

Hello all. I am looking for a easy to use and easily changeable photo slider. I really just want to have 4-6 photos that change every ten seconds or so in a stationary box display. Kind of like a photo gallery, but all changing on the back end and without any thumbnails. I also would like to be able to put text links on the images as wel...

How to run JavaScript code when a form is being reset?

I know we can attach a handler to the form onsubmit... But how can we add a handler to the form reset event? (usually when clicking on <input type="reset">) Or... Maybe there is no such event... So the question becomes on how to work-around that? (right now, I want to run a handler after the reset event; but someday I might need to run...

How to display XML source code using HTML with Emacs?

In the HTML file, I need to show some XML code. The problem is that I can't use <pre>..</pre> to show '<' and '>'. What would be the solution for this problem? ADDED From the answer, replacing '<' and '>' to &lt; and&gt; can be a solution. I'm an Emacs user, are there Emacs tools/magic to do that automatically? I mean, I can us...

Why does the pink box not overlap in IE6?

It does it for every other browser ( I think ). http://www.webdevout.net/test?01H&amp;raw Code: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html lang="en"> <head> <title>Test</title> <style type="text/css"> * { overflow: visible; } #precedence { float: right; height: 60px; w...

What is the best way to create and send html emails though java application ?

There have been some similar questions in stackoverflow but none of them answers my question. We want to send html , emails to users after they complete some action. We have written email templates in xsl and use DOM elements to create nodes, add dynamic data, parse xsl and substitute data. Although this works fine, it eats up too much m...

Creating a URL Redirect

So I have a stupid marketing team that gave 1 million people a URL to our site and it's misspelled. How do I take the incoming URL and redirect it to the correct URL? I'm using Wordpress site, and we're using a redirection plugin but it's causing a ton of problems so I want to find out how to manually do this if possible. Any gurus woul...

AutoHyperlinks framework similar solution for use in linux?

I have to convert a lot of plain text that contains urls into html hyperlinks, and I used to use on the mac side a plugin for coda found here. Is there anything similar to be found for use on the linux side of the world? ...

How do you stop HTML tables from being propped up by the content?

With some HTML like this: <!DOCTYPE html> <html> <head> <meta charset=utf-8 /> <title>JS Bin</title> <style> td { width:10px; } </style> </head> <body> <table> <tr><td>Text</td><td>Text</td><td>Text</td><td>Text</td></tr> <tr><td>Text</td><td>Text</td><td>Text</td><td>Text</td></tr> <tr><td>WHOA I'M A LON...

HTML tag to have image dynamically adjust to fill screen?

I am learning how to make a slideshow presentation with S5, and it allows the insertion of images via standard HTML tags. For slideshows, it is often useful to have a background image that fills the screen during the presentation. Is there a way, such as a HTML tag, that specifically adjusts an image to fill the screen? Thanks. ...

Asp.net mvc 2 Search form in Partial View

Hi could someone make a small example for me. I wanna create a partial view with a textbox and a submit button. When the user hits the submit button, I want to redirect to the following url /Search/SearchQuery/ UPDATE //This is my searchBox.ascx <% using (Html.BeginForm("Index", "Search", new { area = "eCommerce" }, FormMethod.Pos...

Javascript fade or crossfade background images

Hello! Is it possible to fade in / crossfade background images please? If so, how... Thank you. ...