|
My very first script. Trying to create a default listing for selling Crankbaits on ebay. Question #1: How would I write the preload script for the 5 pics of lures and the script below for displaying the preloads (where I have the file names now) No mouseover, no slideshow, no click-on pics, no click-on pic to make larger. Just pre-load and show? question #2: How would you write a script for changing the names of the lures in the left table column or row to go with the new pics. And if ya can, then it could be edited for changing the info in the far right column or row.
Again, a bona-fide rookie, and have-ta be taught as a five yr-old, sorry. Thee below listing works, just wanna avoid scrolling the mouse down the page and cutting and re-typing for the different sizes and weights and lenghts and pics of lures. Hope somebody understands this mess, thanks for looking. Breeze..
<html>
<head>
<title>Crankbaits</title>
<BASE HREF="HTTP://This is where/my pictures/are at/">
<SCRIPT LANGUAGE="JavaScript">
</SCRIPT>
</head>
<body>
<table>
<TABLE BORDER=2 BGCOLOR="Silver" BORDERCOLOR="Blue" WIDTH=100%>
<TR>
<TH><BIG>JABS of Texas </BIG></TH>
</TR>
<TABLE BORDER=2 BGCOLOR="Silver" BORDERCOLOR="Blue" WIDTH=100%>
<TR>
<TH><BIG>Anytime is Crankbait time!</BIG></TH>
</TR>
<TABLE BORDER=2 BGCOLOR="Silver" BORDERCOLOR="Blue" WIDTH=100%>
<TR>
<TH>Tan Craw</TH>
<TD><img width=180 height=135 src="/forum/3tan.jpg"></TD>
<TH>A Premium set of five new crankbaits</TH>
</TR>
<TH>Perch Craw</TH>
<TD><img width=180 height=135 src="/forum/3perch.jpg"></TD>
<TH>These baits weigh approx. 3/8 oz, that will run at about 8 feet. Line diameter will make a difference</TH>
</TR>
<TH>Hot Springs Craw</TH>
<TD><img width=180 height=135 src="/forum/3hot.jpg"></TD>
<TH>Professionally painted finishes with extra load rattles.</TH>
</TR>
<TH>Chartreuse Craw</TH>
<TD><img width=180 height=135 src="/forum/3chartreuse.jpg"></TD>
<TH> Stainless steel split rings.</TH>
</TR>
<TH>Chrome Olive Craw</TH>
<TD><img width=180 height=135 src="/forum/3chrome.jpg"></TD>
<TH>Eagle Claw 2x Laser Sharp hooks.</TH>
</TR>
</TABLE>
</body>
</html>
|
|
|
Well, thanks all... I figured it out, except for doing the ALT=.. Cannot figure out this one, been trying it for days with no success yet... Here's what it ended up like. Maybe somebody has a clue how they would/could put the ALT in here.. I sure could use help on this one...
<html><head><title>Crankbaits</title>
<SCRIPT TYPE="text/javascript">
var imgArray = new Array();
imgArray[0] = new Image();
imgArray = new Image();
imgArray = new Image();
imgArray = new Image();
imgArray = new Image();
imgArray[0].src = "HTTP://.../seta/3tan.jpg";
imgArray.src = "HTTP://.../seta/3perch.jpg";
imgArray.src = "HTTP://.../seta/3hot.jpg";
imgArray.src = "HTTP://.../seta/3chartreuse.jpg";
imgArray.src = "HTTP://.../seta/3chrome.jpg";
var lureNames = new Array();
lureNames[0] = 'Tan Craw';
lureNames = 'Perch Craw';
lureNames = 'Hot Springs Craw';
lureNames = 'Chartreuse Craw';
lureNames = 'Chrome Olive Craw';
var lureSell = new Array();
lureSell[0] = 'A Premium set of five new crankbaits.';
lureSell = 'These baits weigh approx. 3/8 oz, that will run at about 8 feet. Line diameter will make a difference.';
lureSell = 'Professionally painted finishes with extra load rattles.';
lureSell = 'Stainless steel split rings.';
lureSell = 'Eagle Claw 2x Laser Sharp hooks.';
</script></head>
<body>
<table>
<TABLE BORDER="3" BGCOLOR="SILVER" BORDERCOLOR="BLUE" WIDTH="100%">
<TR> <TH><BIG><FONT FACE="Arial">JABS of Texas </FONT></BIG></TH></TR>
<TABLE BORDER="3" BGCOLOR="SILVER" BORDERCOLOR="BLUE" WIDTH="100%">
<TR><TH><BIG><FONTFACE="Arial">Anytime is Crankbait time!</FONT></BIG></TH></TR>
<TABLE COLSPAN="3" ROWSPAN="5" BORDER="3" BGCOLOR="SILVER" BORDERCOLOR="BLUE" WIDTH="100%"><FONT FACE="Arial">
<Script Type="text/javascript">
for (i=0; i < imgArray.length ; i++)
document.write('<TR><TH>' + lureNames + '<//TH><TD><img width="180" height="135" src=' + imgArray.src + '><//TD><TH>' + lureSell + '<//TH><//TR>');
</SCRIPT>
</TABLE>
</BODY>
</html>
|
|
|
|
|
|
|
|