Internet Development

Moderators: None (Apply to moderate this forum)
Number of threads: 1024
Number of posts: 1892

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Edit Report
Onmouseover javascript in frames window WHY WONT ITORK!! Posted by Colin Leeson on 1 Oct 1998 at 2:52 AM
HELP<br>
I am trying to use some javascript code in a feame window<br>
I can't tell what is going on with it<p>
The code works fine on a normal page<p>
I have posted the page on my geocities web site<p>
here it is<br>
http://www.geocities.com/Colosseum/8005/clubTimer/index.html<br>



Edit Report
Re: Onmouseover javascript in frames window WHY WONT ITORK!! Posted by Scholars Learning Ad on 7 Oct 1998 at 5:51 AM
Hi Colin,<br>
The reason your images are not showing up is because of the backslash, it's not looking in the root directory where you have them.<p>
Your code should look as follows;<br>
***Start Of Script Correction***<br>
<SCRIPT LANGUAGE="JavaScript"><p>
<p>
</SCRIPT><br>
***End Of Script Correction***<p>
I think that's everything. Try this, and if you have any further problems, just post them.<smile><p>
Keep up the good work.<p>
Sincerely,<br>
<font color="red">Jason Gorman</font><p>
Jason Gorman (Jason_Gorman@scholars.com)<br>
Learning Advisor, <A HREF="http://scholars.com" TARGET="_new">http://scholars.com</A><br>
Microsoft Authorized Technical Education Center<br>
Novell Authorized Online Training Provider<p>
----original message----<p>
: HELP<br>
: I am trying to use some javascript code in a feame window<br>
: I can't tell what is going on with it<p>
: The code works fine on a normal page<p>
: I have posted the page on my geocities web site<p>
: here it is<br>
: http://www.geocities.com/Colosseum/8005/clubTimer/index.html<p>



Edit Report
Re: Onmouseover javascript in frames window WHY WONT ITORK!! Posted by Scholars Learning Ad on 7 Oct 1998 at 5:52 AM
Hi Colin,<br>
The reason your images are not showing up is because of the backslash, it's not looking in the root directory where you have them.<p>
Your code should look as follows;<br>
***Start Of Script Correction***<p>
<p>
***End Of Script Correction***<p>
I think that's everything. Try this, and if you have any further problems, just post them.<smile><p>
Keep up the good work.<p>
Sincerely,<br>
<font color="red">Jason Gorman</font><p>
Jason Gorman (Jason_Gorman@scholars.com)<br>
Learning Advisor, <A HREF="http://scholars.com" TARGET="_new">http://scholars.com</A><br>
Microsoft Authorized Technical Education Center<br>
Novell Authorized Online Training Provider<p>
----original message----<p>
: HELP<br>
: I am trying to use some javascript code in a feame window<br>
: I can't tell what is going on with it<p>
: The code works fine on a normal page<p>
: I have posted the page on my geocities web site<p>
: here it is<br>
: http://www.geocities.com/Colosseum/8005/clubTimer/index.html<p>



Edit Report
Re: Onmouseover javascript in frames window WHY WONT ITORK!! Posted by Scholars Learning Ad on 7 Oct 1998 at 5:53 AM
Hi Colin,<br>
The reason your images are not showing up is because of the backslash, it's not looking in the root directory where you have them.<p>
Your code should look as follows;<br>
***Start Of Script Correction***<p>
Image1= new Image(130,20)<br>
Image1.src = "main1.gif"<br>
Image2 = new Image(130,20)<br>
Image2.src = "main2.gif"<p>
Image3= new Image(130,20)<br>
Image3.src = "product1.gif"<br>
Image4 = new Image(130,20)<br>
Image4.src = "product2.gif"<br>
<br>
Image5= new Image(130,20)<br>
Image5.src = "demo1.gif"<br>
Image6 = new Image(130,20)<br>
Image6.src = "demo2.gif"<p>
Image7= new Image(130,20)<br>
Image7.src = "download1.gif"<br>
Image8 = new Image(130,20)<br>
Image8.src = "download2.gif"<br>
<br>
Image9= new Image(130,20)<br>
Image9.src = "order1.gif"<br>
Image10 = new Image(130,20)<br>
Image10.src = "order2.gif"<p>
<br>
function SwapMainOut() {<br>
document.mainflip.src = Image2.src; return true;<br>
}<br>
<br>
function SwapMainBack() {<br>
document.mainflip.src = Image1.src; return true;<br>
}<p>
<p>
function SwapProdOut() {<br>
document.prodflip.src = Image4.src; return true;<br>
}<br>
<br>
function SwapProdBack() {<br>
document.prodflip.src = Image3.src; return true;<br>
}<p>
<p>
function SwapDemoOut() {<br>
document.demoflip.src = Image6.src; return true;<br>
}<br>
<br>
function SwapDemoBack() {<br>
document.demoflip.src = Image5.src; return true;<br>
}<br>
<p>
<br>
function SwapDownOut() {<br>
document.downflip.src = Image8.src; return true;<br>
}<br>
<br>
function SwapDownBack() {<br>
document.downflip.src = Image7.src; return true;<br>
}<p>
<br>
function SwapOrderOut() {<br>
document.orderflip.src = Image10.src; return true;<br>
}<br>
<br>
function SwapOrderBack() {<br>
document.orderflip.src = Image9.src; return true;<br>
}<br>
<br>
***End Of Script Correction***<p>
I think that's everything. Try this, and if you have any further problems, just post them.<smile><p>
Keep up the good work.<p>
Sincerely,<br>
<font color="red">Jason Gorman</font><p>
Jason Gorman (Jason_Gorman@scholars.com)<br>
Learning Advisor, <A HREF="http://scholars.com" TARGET="_new">http://scholars.com</A><br>
Microsoft Authorized Technical Education Center<br>
Novell Authorized Online Training Provider<p>
----original message----<p>
: HELP<br>
: I am trying to use some javascript code in a feame window<br>
: I can't tell what is going on with it<p>
: The code works fine on a normal page<p>
: I have posted the page on my geocities web site<p>
: here it is<br>
: http://www.geocities.com/Colosseum/8005/clubTimer/index.html<p>






 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.