Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
don't even worry, i'm a nut. i LUV doing this stuff
two things: get rid of the src="switchpic.js" because its no longer needed
and also add semicolons(;) after each image you put in
EX:
img[27] = "http://img223.imageshack.us/img223/4438/bulbasaurmsb.png";
ok, i think i finally have the solution... hopefully
this will take a bit of effort on your part
the switchpic.js is no longer needed
but now the script is this:
<script src="switchpic.js" type="text/javascript">
function switchPicImg(switchTo){
var img = new Array();
img[1] = "NORMAL PIC";
img[2] = "SHINY PIC";
img[3] = "FRAME ONE";
img[4] = "FRAME TWO";
img[5] = "FRONT";
img[6] = "BACK";
img[7] = "DP";
img[8] = "PLATINUM";
src = img[switchTo];
document.getElementById('picImg').src = src;
}
</script>
and the links should be in ""s above
the coding in the page is good for now
{QUOTE=~Frozen Darkness~}{QUOTE=pokesplash}this is the file
just paste everything from below into a file named switchpic.js
the instructions are in the file
{CODE}
/**************************
Working with this document:
to integrate this script please add this to the head of your HTML page:
(the {}'s must be replaced completely (and the {}'s should be removed themselves))
(the first set of {}'s must link to the images, along with the one inside of the <img>)
(the height should be the same for all of the pictures as well as the width)
**************************/
function switchPicImg(switchTo){
src = img[switchTo];
document.getElementById('picImg').src = src;
}{/CODE}{/QUOTE}
(the first set must link to the images, along with the one inside of the <img>)
What does that mean? Please highlight in a different color, if you can, where the link should be please.{/QUOTE}
so these are the links to all of the pictures(and this is for the default picture)
then these are for the width and height of the pics
sorry for all the confusion