Search:
Type: Posts; User: JUD
Search :
Search took 0.01 seconds.
Or this....
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>...
Firstly you need to enclose your form elements inside a <form></form> tag. I've made a slight modification to your code, but it's basically the same:
<html>
<head>
<script...
function captureImageFile() {
document.getElementById("textarea").value ="Click to Download Image Files";
document.getElementById("imageButton").value ="Download Image Files";...
Try this:
<script type="text/javascript">
function replaceChars(entry) {
var arrReplace = new Array();
arrReplace[0] = [/a/g, "z"];
arrReplace[1] = [/b/g, "y"];
arrReplace[2] =...
Sorry, made a little bit of a booboo. You need to pass a regular expression to the replace method like this:
<script type="text/javascript">
function replaceChars(entry) {
out = /a/g; //...
Couldn't you just do this:
<script type="text/javascript">
function replaceChars(entry) {
out = "a"; // replace this
add = "z"; // with this
temp = entry.replace(out, add);
Name your stylesheets "800_600.css", "1024_768.css" etc. and then do something like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
<script type="text/javascript">
// <![CDATA[
var isMac = (navigator.platform.indexOf("MacPPC") != -1) ? true : false;
if(isMac) location.href = "http://www.mysite.com/mac_page.html";...
http://www.w3schools.com/htmldom/prop_nav_platform.asp
http://developer.mozilla.org/en/docs/DOM:window.navigator.platform
<script type="text/javascript">
// <![CDATA[
function preloadImages(){
var a = preloadImages.arguments;
var picsArray = [];
for(var i = 0; i < a.length; i++){
picsArray[i] = new...
Personally I would use getElementsByTagName("INPUT") to create an array of the input elements in your form.
Then loop through the array and do a pattern test on each elements name. If the name of...
Put this in the head of your page.
<script type="text/javascript">
var img1 = new Image();
img1.src = 'path/to/your/image.gif';
</script>
You need to pass a reference of the 'li' that has been clicked as an argument to the function. e.g onclick="toggle(this)".
<script type="text/javascript">
// <![CDATA[
function...
Using the same name or id for multiple links isn't really a good idea.
However you could give all the links you want to change a class, 'affiliate' for example.
Then when you loop through all...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta...
Here's a script that will display a different link every month. You should be able to adapt it for what you need.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
I agree with ray. You need to include an onload function to set your image properties. Something like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta...
Try this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta...
I've added the doubleCheck() function which will check the values of the dropdowns and check the appropriate radio buttons.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
This function will automatically select 'no' in the other dropdown if 'yes' is selected and vice versa regardless of which dropdown is changed. This will make it impossible to select the same option...
Here's my code done Charles' way, which I agree is probably better.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
You need to replace the angle brackets in the text with < and >. The code will then be written as text instead of being processed by the browser.
I would probably do something like this:
...
An easier way would be to stick with the first site and to put your thumbnails in a div with overflow. This has the same effect as an iframe and adds a scrollbar if the content of the div exceeds...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<script language="javascript">
function create(){
var row = document.createElement("TR");...