PDA

View Full Version : Javascript Help



Luckyrare
24-07-2006, 07:31 PM
<!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>

<style type="text/css">
body,td,th {
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#on {
float:left;
filter:alpha(opacity=75);
-moz-opacity:.75;
opacity:.75;
border: 1px solid #0000CC;
margin: 10px;
width: 100px;
}
#off {
float:left;
border: 1px solid #000000;
margin: 10px;
width: 100px;
}
#show {
width: 250px;
border: 1px solid #000000;
}
</style></head>

<body>
<div id="show"><img src="tape.jpg" height="100%" width="100%" /></div>
<div id="on" onmouseover="id='off'" onmouseout="id='on'"><img src="tape.jpg" height="100%" width="100%" /></div>
<div id="on" onmouseover="id='off'" onmouseout="id='on'"><img src="tape.jpg" height="100%" width="100%" /></div>
</body>
</html>



I am working on a ebay page, anyway I am wanting to have like a gallery on the item where people can change the picture (Like what ebay has)...
Anyway I am lost on how I should change the image in the div (id show)

If anyone can help me out, or link me to a tutorial on doing this please do.

*NO SOURCE CODES PLEASE*

Thanks x)

EDIT: I know this isn't Valid XHTML, I will make it valid once I have it working

ClubTime
24-07-2006, 07:33 PM
You making your own version of ebay? And sorry i can help you dont no anything about javascript.

Luckyrare
24-07-2006, 07:34 PM
You making your own version of ebay? And sorry i can help you dont no anything about javascript.

No I am styling a Ebay Buy it now page ;')

ClubTime
24-07-2006, 07:37 PM
;o Nice! How'd you get the chance to do that?

DMB-Hosting
24-07-2006, 07:42 PM
Anyone can do it

ClubTime
24-07-2006, 07:47 PM
For the actual ebay site?

Luckyrare
24-07-2006, 07:50 PM
For the actual ebay site?
Yes anyone... :s Thats the idea behind ebay

"Buy it, Sell it, Ebay it"

ebay
25-07-2006, 08:32 AM
the people who have galleries have to pay like 0.25GBP for it and 0.15GBP for every piture in the gallery, so it is not a script u need, ebay provide it for you but u have to pay

Luckyrare
25-07-2006, 09:22 AM
the people who have galleries have to pay like 0.25GBP for it and 0.15GBP for every piture in the gallery, so it is not a script u need, ebay provide it for you but u have to pay

Thats not the point. I am wanting to style my own for my needs so it looks neat.


Anyway I have done it *close thread please*

Want to hide these adverts? Register an account for free!