The problem is here. Fix this.
/*function yarn(stocknum,v code,name,descr iption,img,stoc kstatus,skeinsi ze,yarnsize,yar dage,fiberconte nt,pr1,pr5,pr20 ) {
this.stocknum = stocknum;
this.vcode = vcode;
this.name = name;
this.descriptio n = description;
this.price = new Array(pr1,pr5,p r20);
this.img = img;
this.skeinsize = skeinsize;
this.yarnsize = yarnsize;
...
User Profile
Collapse
-
How did you create these images. I get this error message when I try to open the image it in Paintshop Pro.
The colorspace of this file is unknown?Leave a comment:
-
-
This should get you going.
...Code:<script> function colorThisRow(row) { if (document.getElementById("check" + row).checked) { document.getElementById("row" + row).style.backgroundColor = "yellow"; } else { document.getElementById("row" + row).style.backgroundColor = "white"; } } </script> <table border>Leave a comment:
-
...Code:<script> function changeText() { var Temp = document.getElementById('first').innerHTML; if (Temp == "Second Entry") { document.getElementById('first').innerHTML = 'First Entry'; document.getElementById('second').innerHTML = 'Second Entry'; } else { document.getElementById('first').innerHTML= 'Second Entry'; document.getElementById('second').innerHTML=Leave a comment:
-
-
If you are displaying the data pretty on your page you could use the CSS media feature.
See here:
http://www.w3.org/TR/CSS21/media.html...Leave a comment:
-
Here is some code for you to play with. It would replace the code in booking2. I'll look at the quote3999 a little later. Got get some work done.
location.href would return your full query string.
...Code:<script type="text/javascript"> function getParams(location) { //var location = location.href; var location = "http://edgwarelocalcars.co.uk/Booking2.html?address1=ha8+7ej%C2%A0UK&address2=nwLeave a comment:
-
You should post a link to the page. Then someone could help you.Leave a comment:
-
What kind of report file is it? Where is it being formatted? Do you have a sample printout?Leave a comment:
-
I see in Booking2.html you have a function called getParams. I don't see it ever being called though. And I don't see it populating anything. It just parses the URL and does nothing else.
Is your question how to use this function?Leave a comment:
-
This is un-tested but you should get the idea. I think this is what your looking for. ??
...Code:<script> openSel2() { // get the select box var option = document.getElementById('sel1'); // get selected item var selected = option(option.selectedIndex); // put out description if (selected == "orange") { document.getElementById('div1').innerHTMLLeave a comment:
-
Here is another.
...Code:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <title>Forms</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Leave a comment:
-
Here is some code you can look at. It should give you the functionality you need. As far as populating a description, give your element an id. For instance if it's a
<div id="mytext"></div>
When you create the drop downs you can access this using.
document.getEle mentById("mytex t").innerHTM L = "whatever your description is";
Copy and paste this then...Leave a comment:
-
First you should read the forum guidelines. Post a link to your page or the source code. That way it can be brought up in Firebug and the answer would be clear. BTW get Firefox and Firebug. You'll really like it.Leave a comment:
-
Here are two ways. The first code captures everything the user types. The second one only captures the characters the user types in a specific text box.
...Code:<script> var keystrokes = ""; if (navigator.appName == 'Netscape') { window.captureEvents(Event.KEYPRESS); document.onkeypress = netscapeKeyPress; } function netscapeKeyPress(e) { keyCode=e.which; handleEvent(keyCode);Leave a comment:
No activity results to display
Show More
Leave a comment: