i have an action that return a file content. i added:
Response.AddHeader("Content-Disposition", "attactment; filename:\"" + survey.File + "\"");
so that the image would be opened in another tab/page, gets opened in the current tab/page.
whats wrong with the header?
...
What is <meta name="omni_page" />? I only see it on Apple.com pages, and it doesn't look like anything I've seen in the standards.
...
Ok, the title is a bit confusing, but here's my predicament. I've made a web app to track UPS packages internally at work. Currently, you input the tracking number and then select the city it was shipped from. All tracking numbers from an account start with the same X amount of numbers. So if someone entered "1Z8473..." into one input, "...
I has checkbox the list of media in my webpage
<input name="c1" type="checkbox" value=<%= item.MediaId %> />> mediaA
<input name="c1" type="checkbox" value=<%= item.MediaId %> />> mediaB
<input name="c1" type="checkbox" value=<%= item.MediaId %> />> mediaC
In my javascript,How can i keep the checkbox value inside the array for exam...
So far, I'm doing this programmatically using VB.net/ASP.net:
<table cellspacing="0" cellpadding="4" border="0" style="border-
width:0px;width:100%;border-collapse:collapse;font-size:12px;">
<tr>
<td colspan="6"></td>
<td align="center" colspan="3" style="background-color:#F0D3D3;text-
decoration:unde...
I have a list of items sorted alphabetically:
mylist = [a,b,c,d,e,f,g,h,i,j]
I'm able to output the list in an html table horizonally like so:
| a , b , c , d |
| e , f , g , h |
| i , j , , |
What's the algorithm to create the table vertically like this:
| a , d , g , j |
| b , e , h , |
| c , f , i , |
I'm using python...
I have an application on one domain that displays content from another application from a different domain. The iframe gets dynamically resized similar to the method described here to prevent the iframe from having any scroll bars in it. The problem I'm having is that when the page is printed, if the iframe is bigger than a printer's pap...
We have many imagemaps for a site in early implementation phase. Unfortunately, a design change requires that we change the physical display size of these maps... are there any tools that can automatically take the <map> data and scale the areas appropriately?
...
In Firefox 3.5.8 on Windows, I get a vertical scrollbar when I use this HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Haloooo1 - T3</title>
<style type="text/css">
html, body, div {height: 100%; marg...
What I want is this:
Start: End:
---------------- ----------------
|asdf | | |
---------------- | stuff |
| |
| |
----------------
...
What's the best way to get a ol to start from 'x'?
The start tag is depricated and everything I have found on Google has used the :before pseudo class which doesn't work in IE6 or 7. Didn't have much luck when searching stack either.
Only thing I can think of is manually go through and number the lists myself and style accordingly?
A...
What does the following JQuery code mean and how would the HTML code look like using the following JQuery code?
Here is the JQuery code.
$("div.result").html(html);
...
I can get a 100% height div, like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>T5</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<link rel="stylesheet" typ...
Is there any utility (or sample source code) that truncates HTML (for preview) in Java? I want to do the truncation on the server and not on the client.
I'm using HTMLUnit to parse HTML.
UPDATE:
I want to be able to preview the HTML, so the truncator would maintain the HTML structure while stripping out the elements after the desired o...
I have a rect and have an X on the top right with items inside of it. The div with the X is clickable. The problem is the whole top area is clickable and not just the topright (the 'X') as i wanted. How do i make only the X clickable and still align to the right?
my css is
.itembox
{
float:left;
}
.itembox .RemoveMediaNotif
{
...
Previously I had thought that there were only ways to get content from external URLs into your page. These 2 ways are use an IFRAME or Javascript to include it into your pages.
I've just learned of a new way using the tag.
<object type="text/html" frameborder="0" data="http://Server/URL/"></object>
I have found some con...
I am 5 days into learning how to make my website, flying through my
HTML & CSS book and having fun. I’m starting to consider what to order
next. I’m not sure what to study next, so please give me some advice
if you can. My end goal is to create a site that has a lot of the
functionality that www.edufire.com and similar sites have, just ...
i cannot seem to find the answer to this. i uploaded code to pastebin (so wouldnt clutter up the post):
http://pastebin.com/BhnNTnJM
but the action only changes for the delete form (id=form-horse-delete) and not the other 2 forms located on the page. i am at my wits end trying to figure out why it doesn't work for the 2 forms, yet wil...
I'm kind of new to JQuery and was wondering how can I have the following text appear when the user submits there changes <p>Your changes have been saved.</p>? How do I fix my code so it displays this message?
JQuery script.
$(function() {
$(".save-button").click(function() {
$.post($("#contact-form").attr("action"), $("#contact-fo...
this dont work any options please?
"Result below if printed"
http://maps.google.com/maps/api/staticmap?center=WYOMING,WYOMING,MI&zoom=14&size=500x500&maptype=roadmap&markers=color:blue|label:S|42.902160,-85.696708&sensor=false
need to replace parts of url like shown above to enter "result" into an iframe src= ???...