View Full Version : Javascript Help Needed.....
TwoLaidBack
10-30-2002, 12:52 PM
First off let me say I very new to 1st page but have already seen what a Great peace of software this is.
I in luv already!
I'm trying to put together only the second Web Site and I have found this really Cool Javescript on_Mouse_Over...Hm i think that what its called. I have the page layed out and have found where some of my info goes in the script but now I'm stumped.
Now to my Question. yah think their might be some Very nice soul in this forum that could take a look at what I have and then if willing thank 5 or 6 Images i have and add the info where it goes within the script. (Make It Work) LOL ;)
I can then go back and look at What/Where you have added and what I started with and maybe learn a little something new here. This would help me out sooo much!
The site address is:
http://geocities.com/twolaidbk/HomePage-1.html
Thanks in advance
TwoLaidBack
Zero Angel
10-30-2002, 01:42 PM
The script is set to display plane1.gif - plane 5.gif in a certain area onMouseOver.
So for the images to display correctly, you have to
[a] rename the images plane1.gif, plane2.gif...etc or
[b] go into the code, find the entries that say plane1.gif, plane2.gif...etc and change it to the names of your images (ie: cow.jpg).
DCElliott
10-30-2002, 02:13 PM
Zero and I are doing another tag team. I think his suggestion to edit the function is best. Find the line preloadimages("plane1.gif","plane2.gif","plane3.gif","plane4.gif","plane5.gif") in the <head> section and put in the filenames that you are using. It is up to you to keep the proper correspondence between the indexing (in red)<a href="f15.htm" onMouseover="changeimage(myimages[1],this.href)" ><font face="lucida calligraphy" color="#708090">Weddings</font></i></a>and the image you want to display.
TwoLaidBack
10-30-2002, 02:17 PM
But where do I make the changes in the Preload area or where?
This is what i'm stuck on I have no idea where to make all the changes to the script. Don't I have to put the URL of the images somewhere also not just something like "Apples.jpg? i also have to add a herf tag to make the links active don't I ...Where?
If you would be so kind as to just do one of them so I would know where to make all the other changes I would appreciate it very much.
Is there away for you to do this and let me see where you made the changes?
Thanks in advance
TwoLaidBack
Zero Angel
10-30-2002, 03:06 PM
The HREF attribute is what the link will point to when you click on it, for example:
If you're trying to link to a document called cats_are_cool.html. You'd put cats_are_cool.html in the href attribute.
Like so:
<a href="cats_are_cool.html" ...,
Now, If you wanted the image to display cat.jpg, you would find this line (as DCElliot suggested)
preloadimages("plane1.gif","plane2.gif","plane3.gif","plane4.gif","plane5.gif")
and replace it with
preloadimages("cat.jpg","plane2.gif","plane3.gif","plane4.gif","plane5.gif")
I think we just gave you enough info for you to do it yourself, so go do it already, and if you fail, try again. Use your intuiton....you aren't going to learn anything if other people do things for you!
TwoLaidBack
10-30-2002, 05:11 PM
Thanks for all the great info! GOT IT> Does a little dance (~/~)-(~/~) WoOOOoo HoOOoo
Gezzz i think I'm going to like having such Great people to help when I get stuck! You Guys/Girl and life savers.
Again Thanks To Both Of You.
TwoLaidBack
DCElliott
10-30-2002, 06:08 PM
DCElliott looks bemusedly at Zero Angel as another HTML newbie looses his(?her?) virginity. http://206.47.27.187/phpBB2/images/smiles/dance.gif
Zero Angel
10-30-2002, 07:16 PM
Yeah! :cheers:
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.