Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > General Discussion > General Conversation Archives (11/2000 - 01/2005)
FAQ Calendar Arcade Today's Posts Search

 
 
Thread Tools Search this Thread
Old 05-25-2002, 08:37 PM   #1
Talthyr Malkaviel
Ma'at - Goddess of Truth & Justice
 

Join Date: August 31, 2001
Location: Land of the Britons
Age: 37
Posts: 3,224
If anyone who is patient and knows JavaScript quite fluently, could you please help, I would be very grateful as it always helps to have a second person look at something when it doesn't work.
This is a script I've done so far, can anyone tell me if they can see any glaring mistakes???
BTW, in case you were wondering, yes, the normal brackets around the SCRIPT tags are syupposed to be like that (for now) because JavaScript isn't usable in here of course, but other than that.....
D'oh, and I'v had to temporarily change the eval tags to evl, sorry if this script looks a bit like odds and ends now, but otherwose I can't post it.

(SCRIPT LANGUAGE= "JavaScript")

{
alt0 = new Image();
alt0.src = "basicflip.jpg";

alt1 = new Image();
alt1.src = "homeflip.jpg";

alt2 = new Image();
alt2.src = "otherflip.jpg";

alt3 = new Image();
alt3.src = "other2flip.jpg";

alt4 = new Image();
alt4.src = "guestflip.jpg";

alt5 = new Image();
alt5.src = "thoughtsflip.jpg";

alt6 = new Image();
alt6.src = "mailflip.jpg";

graphic1 = new Image();
graphic1.src = "home.jpg";
graphic1on = new Image();
graphic1on.src = "home.jpg";

graphic2 = new Image();
graphic2.src = "other.jpg";
graphic2on = new Image();
graphic2on.src = "other.jpg";

graphic3 = new Image();
graphic3.src = "other2.jpg";
graphic3on = new Image();
graphic3on.src = "other2.jpg";

graphic4 = new Image();
graphic4.src = "guest.jpg";
graphic4on = new Image();
graphic4on.src = "guest.jpg";

graphic5 = new Image();
graphic5.src = "thought.jpg";
graphic5on = new Image();
graphic5on.src = "thought.jpg";

graphic6 = new Image();
graphic6.src = "mail.jpg";
graphic6on = new Image();
graphic6on.src = "mail.jpg";
}

function imageChange(imageID,imageName,imageID2,imageName2, imageID3,imageName3,imageID4,imageName4,imageID5,i mageName5,imageID6,imageName6)
{

{
document.images[ImageID].src = evl(imageName + ".src");
document.images[ImageID2].src = evl(imageName2 + ".src");
document.images[ImageID3].src = evl(imageName3 + ".src");
document.images[ImageID4].src = evl(imageName4 + ".src");
document.images[ImageID5].src = evl(imageName5 + ".src");
document.images[ImageID6].src = evl(imageName6 + ".src");
}

}
(/SCRIPT)
__________________
Resident cantankerous sorcerer of the Clan HADB<br />and Sorcerous Nuttella salesman of the O.R.T<br /> <br /><br />Say NO to the Trouser Tyranny! Can I drill you about this?
Talthyr Malkaviel is offline  
Old 05-25-2002, 09:06 PM   #2
Talthyr Malkaviel
Ma'at - Goddess of Truth & Justice
 

Join Date: August 31, 2001
Location: Land of the Britons
Age: 37
Posts: 3,224
Hmm... it's doing those old tricks again, it's got the title of my thread, but Rudy's overclocking one.
D'oh!

EDIT: A-ha! Posting in it seemed to do the job!

[ 05-25-2002, 09:07 PM: Message edited by: Talthyr Malkaviel ]
__________________
Resident cantankerous sorcerer of the Clan HADB<br />and Sorcerous Nuttella salesman of the O.R.T<br /> <br /><br />Say NO to the Trouser Tyranny! Can I drill you about this?
Talthyr Malkaviel is offline  
Old 05-25-2002, 09:24 PM   #3
Talthyr Malkaviel
Ma'at - Goddess of Truth & Justice
 

Join Date: August 31, 2001
Location: Land of the Britons
Age: 37
Posts: 3,224
One shameless bump before I go and try to catch a little sleep.
__________________
Resident cantankerous sorcerer of the Clan HADB<br />and Sorcerous Nuttella salesman of the O.R.T<br /> <br /><br />Say NO to the Trouser Tyranny! Can I drill you about this?
Talthyr Malkaviel is offline  
Old 05-25-2002, 10:06 PM   #4
RudeDawg
20th Level Warrior
 

Join Date: April 9, 2001
Location: Dallas, Tx, USA
Age: 55
Posts: 2,830
Can't find any mistakes...
I'd prefer if you used a text editor to place the exact script in a .txt file and sent it to me for proofing... I may find the mistake then...
BTW, what DID happen to my post? [img]graemlins/saywhat.gif[/img]
__________________
[img]\"http://home.earthlink.net/~rudedawg/images/perin14.gif\" alt=\" - \" /><br />The RudeDawg, known in these Forgotten Realms as Perin LightEyes<br /><br />Think Different. Keeper of the Bunnies of Total Self Confidence <img border=\"0\" alt=\"[bunny]\" title=\"\" src=\"graemlins/bunny.gif\" />
RudeDawg is offline  
Old 05-26-2002, 07:24 AM   #5
Talthyr Malkaviel
Ma'at - Goddess of Truth & Justice
 

Join Date: August 31, 2001
Location: Land of the Britons
Age: 37
Posts: 3,224
Cheers for the help, and I'll probably go send the part of the file to you if that's ok.
And I have absolutely no idea what happened to your thread, but it's happened before which is annoying.
__________________
Resident cantankerous sorcerer of the Clan HADB<br />and Sorcerous Nuttella salesman of the O.R.T<br /> <br /><br />Say NO to the Trouser Tyranny! Can I drill you about this?
Talthyr Malkaviel is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
does mozilla support javascript? philip General Conversation Archives (11/2000 - 01/2005) 5 07-03-2004 05:24 PM
Having Problems with Javascript? RitingFool General Conversation Archives (11/2000 - 01/2005) 4 04-02-2004 11:01 AM
JavaScript Random Party Generator Horpner Sneed Miscellaneous Games (RPG or not) 26 01-05-2004 06:57 PM
javascript question philip General Conversation Archives (11/2000 - 01/2005) 2 11-16-2003 03:35 AM
JAVAScript Tutorials LennonCook General Conversation Archives (11/2000 - 01/2005) 5 08-23-2002 05:41 AM


All times are GMT -4. The time now is 02:25 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved