I need quite fast methods for playing sounds/ displaying graphics in a web browser. I came across O3D which does nicely for the 2D graphics aspects but as far as I can tell there is no neat way to play audio from a JavaScript function.
My requirements are that multiply sounds be playable simultaneously and also that each sound start to ...
What I want is this: http://www.freeimagehosting.net/image.php?11b1fcb689.png
Edit: Added a fuller picture of what I'm trying to do. I can make it look right using absolute positioning, but when the window size is too small, the content slides off the page without a horizontal scrollbar. That's why I want to use relative positioning f...
i want to declare a style different to ie6 and ie7 ,
but my condition in css recognized by IE7 as IE6. I use XP and explorer 7.
This the code i use :
<!--[if !IE]>
#mainDiv{text-align:-moz-center;}
#skyBanner {top:0px;left:0px; position:fixed;visibility:hidden;}
<![endif]-->
<!--[if lt IE 7]>
body > #skyBanner { position: fi...
When I submit data in my form it changes "abcd" to \"abcd\" on the other end.How can I overcome this problem... (I am using post method to send data).....
Please help...Thanks
...
The element part in the width that I appointed is in present state,
it is started a new line on the way.
How to break line by each element unit
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=shift_jis">
...
Hi,
Consider this form:
<form ... action="http:/www.blabla.com?a=1&b=2 method="GET">
<input type="hidden" name="c" value="3" />
</form>
When submitting this form (a GET form) the parameters a and b are disapearing.
Is there a reason for that?
Is there a way of avoiding this behaviour?
Thanks,
Tal.
...
Problem: to open a new window with the select -option
<form onsubmit="return handleSubmit()" target="_blank" method="get" name="moduleForm" id="moduleForm">
<font size=2 face = verdana color= #0000ff ><b>Search</b></font>
<select name="allSelect" id="allSelect">
<optgroup label="Historical">
<option value="http://www.someth...
As an exercise in web design and development, I am building my website from the ground up, using PHP, MySQL, JavaScript and no frameworks. So far, I've been following a model-view-controller design. However, there is one hurdle that I am quickly approaching that I'm not sure how I'm going to solve, but I'm sure it's been addressed before...
This question is a more discussion oriented one that a simple problem specific question.
Writing basic HTML is simple but writing fast light standards based, SEO best practices complaint, all browsers compatible HTML pages is hard and very time consuming.
But why it hard ?
In my opinion it hard because of the hundreds of different r...
This question is for web developers and architects.
How do you think is it a good or bad idea to have a website where you're able to edit all the templates (HTML, CSS, JS, images..) right from the admin panel?
In this case if you update website often, you don't need to search for a local version of your website on you development machi...
Say I have data like this:
<option value="abc" >Test - 123</option>
<option value="def" >Test - 456</option>
<option value="ghi" >Test - 789</option>
Using PHP, how would I sort through the HTML tags, returning all text from within the option values. For instance, given the code above, I'd like to return 'Test - 123', 'Test - 456', '...
Are there any JavaScript libraries out there that allow you to create heatmaps using in-browser graphic rendering features such as <canvas> or SVG?
I know about HeatMapAPI.com, but their heat maps are generated on the server side. I think that in the era of <canvas> element we don't need that anymore!
If there is nothing like this yet,...
Hello.
I've got a DIV I want to hide, but I cannot give it a specific ID... actually I cannot change the text of the DIV, since it is retrieved from a database, but I can add some html before it AND I know the exact text content of the DIV.
It's something like:
<div class="this_div">content_of_this_div</div>
So, I thought that maybe ...
can you list all the elements that are centered automatically without using style sheets like the < th > element.
...
I would like to make all cells of an HTML table clickable--that is, the link from the anchor tag is active--from any point within a cell. The catch is that the cells have no contents. We are simply using the HTML table to visually represent quantities by coloring the backgrounds of each cell. The cells to contain anchor tags, but no cont...
How to show and hide div every 1min in jquery
...
I have the following css :
img { border-style : none }
a { text-decoration : none }
#header { width : 100%}
#header #topbar{width:705px;
padding:3px 10px 0 10px;
float:left;
height:30px;
line-height:22px;
background-color:#eee;
max-width:750px;
-moz-border-radius-bottomleft:3px;
-moz-border-radius-bottomrig...
I have a bunch of texts and images (taken from the content tag of a RSS feed item) that I want to display in my app. I've managed to extract them from the entire content tag with some regular expressions. But the thing is, in order for the texts to appear before all the images are loaded, I need to preload all the images, and even more, ...
I have a floating div with dynamic content in it. In the first row i need four divs, similarly in 2nd, 3rd ,4th etc... i need four divs. I can assign a class to a single div and it will automatically generate the rest of the divs. My problem is i can set the min-height to a div, but i cannot set the max height as the content is dynamical...
This is more a question of curiosity.
So I was reading a chapter from (Sitepoint's latest PHP/MySQL book), in which the author mentioned using the extension ".html.php" to indicate files that has both HTML and PHP. I tried it out, and discovered this:
If I have a file "fileA.html.php", and somewhere in "fileB.html" I have a link thusly...