| You are Unregistered, please register to gain Full access. |
|
![]() |
![]() |
![]() |
| Supplement Store | Forums | Main Site | News Blog | Photos | eBooks |
|
|||||||
| Photo Gallery | Register | Members List | Search | Today's Posts | Mark Forums Read |
| Open Chat General adult talk about life, relationships or whatever you want to discuss.
Sponsored by: MassNutrition.com |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Join Date: May 2001
Location: Around.....
Posts: 14,964
|
Or java or whatever it is
![]() Could ya look at my main page and check out the code and maybe tell me why the fuq the pic loads as a red X until you run the mouse over it? ...oh, and tell me how to fix it ![]() HELP ME, LOL ![]() |
|
|
|
|
|
#2 |
|
IronMagLabs Owner
Administrator
|
yes, what is the point of this code:
[php] <A HREF="http://home.cogeco.ca/~lwynne2/main.htm" TARGET="_self" onMouseOver="if(document.images) document.testpic0.src='testpic2.jpg';" onMouseOut="if(document.images) document.testpic0.src='testpic.jpg';"><IMG NAME="testpic0" SRC="testpic_1x1.jpg" WIDTH="451" HEIGHT="685" BORDER="0" ALT="Click to Enter"></A> [/php] BOARD SPONSORS: ![]()
|
|
|
|
|
|
#3 |
|
IronMagLabs Owner
Administrator
|
oh, I see...it does a mouse over and turns the image from color to b/w.
not really necessary, I would get rid of that. BOARD SPONSORS: ![]()
|
|
|
|
|
|
#4 |
|
Join Date: May 2001
Location: Around.....
Posts: 14,964
|
...is that a yes, you can help...or a no? I want the mouseover, do you know what's wrong w/ the code to make it load as an X first? ![]() |
|
|
|
|
|
#5 |
|
Pump Till You POP
Join Date: Jun 2002
Location: AZ
Posts: 185
|
Try this:
Your last line for the source has a link to a non existing file: SRC="testpic_1x1.jpg --- Should be testpic.jpg ----------------------------------------------------------------------- <HTML> <HEAD> <META NAME="Author" CONTENT=""> <META NAME="Generator" CONTENT="Jasc Paint Shop Pro 7"> <TITLE> </TITLE> </HEAD> <BODY> <div align="center"><img src="testhead.gif" alt=""></div> <!-- Begin Table --> <div align="center"><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="451" HEIGHT="685"> <TR> <TD ROWSPAN="1" COLSPAN="1" WIDTH="451" HEIGHT="685"> <A HREF="http://home.cogeco.ca/~lwynne2/main.htm" TARGET="_self" onMouseOver="if(document.images) document.testpic0.src='testpic2.jpg';" onMouseOut="if(document.images) document.testpic0.src='testpic.jpg';" ><IMG NAME="testpic0" SRC="testpic.jpg" WIDTH="451" HEIGHT="685" BORDER="0" ALT="Click to Enter"></A></TD> </TR> </TABLE> </div><!-- End Table --> </BODY> </HTML>
Was on a Ephedrine buying Frenzy before it was to late... Now, I've got enough stocked up to last 10 years!!
|
|
|
|
|
|
#6 | |
|
Join Date: May 2001
Location: Around.....
Posts: 14,964
|
Quote:
Thank you ....I'm a dork ....but thank you very much, LOL ![]() |
|
|
|
|
|
|
#8 |
|
Pump Till You POP
Join Date: Jun 2002
Location: AZ
Posts: 185
|
Your quite welcome!!!!
Was on a Ephedrine buying Frenzy before it was to late... Now, I've got enough stocked up to last 10 years!!
|
|
|
|
|
|
#9 |
|
IronMagLabs Owner
Administrator
|
I just got back....
the reason I say remove it is because it's worthless. Unless you have a high speed connection it takes way to long to load and people will just click the image and never even see that there is a mouseover. That's why I asked in the beginning what's the point of this code. When you design a website you should optimize it for a 56k dial-up connection. I guess you could try "pre-loading" the 2 images, that might help. change the names of the images (image1.jpg & image2.jpg) appropriately and add following code to the <HEAD> of your page: [php] <SCRIPT LANGUAGE="JavaScript"> Image1= new Image Image1.src = "image1.jpg" Image2 = new Image Image2.src = "image2.jpg" </SCRIPT> [/php] BOARD SPONSORS: ![]()
|
|
|
|
|
|
#10 |
|
Join Date: May 2001
Location: Around.....
Posts: 14,964
|
and this "pre-loads" the pics? how does that work? lol
|
|
|
|
|
|
#11 |
|
IronMagLabs Owner
Administrator
|
Yes, the 2 images will be pre-loaded before anything else on the page loads, so that your mouseover will work.
The way it is now you have to wait for the second image to download after you mouseover the first image. So, most people will just click the image and they will never even see the second image. You are probably not seeing the problem either because you have a fast connection or because you have the images cached on your drive. BOARD SPONSORS: ![]()
|
|
|
|
|
|
#12 |
|
Join Date: May 2001
Location: Around.....
Posts: 14,964
|
Oh....Okay...thanks Prince
|
|
|
|
|
|
#13 |
|
Dieting I swear!
Super Moderator
|
I KNOW NUSSIIIIIIIIIIIING!
Kinesiology Comp Bench
MaxCalc Motivation Bench form Charles Poliquin When I let go of what I am, I become what I might be. Lao-Tzu |
|
|
|
|
|
#16 |
|
Born-again newbie
Join Date: Apr 2002
Location: Ontario, Canada
Posts: 621
|
I could have given you the answer since I taught HTML, but I was too overwhelmed with your beautiful picture that I kept starring at it, and forgot why I was there...........
![]()
"The greatest mistake you can make in life is to be continually fearing you will make one."
|
|
|
|
|
|
#17 |
|
Dieting I swear!
Super Moderator
|
Sgt. Schultz for anyone that didn't get it
![]()
Kinesiology Comp Bench
MaxCalc Motivation Bench form Charles Poliquin When I let go of what I am, I become what I might be. Lao-Tzu |
|
|
|
|
|
#18 | |
|
Senior Member
Elite Member
|
Quote:
![]()
~Ann
![]() We must teach our children to dream with their eyes open. -Harry Edwards |
|
|
|
|
|
|
#19 | |
|
IDIOT SAVANT
Join Date: Jun 2001
Location: An alternate reality.
Posts: 10,385
|
Re: Anyone know HTML?
Quote:
![]()
Rules? You mean we have RULES for that???
|
|
|
|
|
|
|
#20 |
|
Born-again newbie
Join Date: Apr 2002
Location: Ontario, Canada
Posts: 621
|
Me too......
![]() And I even know Mocha Java!
"The greatest mistake you can make in life is to be continually fearing you will make one."
|
|
|
|
|
|
#21 |
|
IronMagLabs Owner
Administrator
|
actually it would be JavaScript, not Java.
![]() BOARD SPONSORS: ![]()
|
|
|
|
|
|
#23 | |
|
IDIOT SAVANT
Join Date: Jun 2001
Location: An alternate reality.
Posts: 10,385
|
Quote:
Rules? You mean we have RULES for that???
|
|
|
|
|
|
|
#24 |
|
Born-again newbie
Join Date: Apr 2002
Location: Ontario, Canada
Posts: 621
|
LMAO
![]()
"The greatest mistake you can make in life is to be continually fearing you will make one."
|
|
|
|
|
|
#25 |
|
Dieting I swear!
Super Moderator
|
How about VBScript, imported from far away Redmond Washington, definately has a domestic flavor to it
![]()
Kinesiology Comp Bench
MaxCalc Motivation Bench form Charles Poliquin When I let go of what I am, I become what I might be. Lao-Tzu |
|
|
|
|
|
#26 | |
|
IDIOT SAVANT
Join Date: Jun 2001
Location: An alternate reality.
Posts: 10,385
|
Quote:
![]()
Rules? You mean we have RULES for that???
|
|
|
|
|
|
|
#28 |
|
IDIOT SAVANT
Join Date: Jun 2001
Location: An alternate reality.
Posts: 10,385
|
Beer is OK but you don't mix it with the life sustaining nectar that is coffee.
![]()
Rules? You mean we have RULES for that???
|
|
|
|
|
|
#29 |
|
Member
Elite Member
Join Date: Jun 2002
Location: Toronto
Posts: 188
|
What you really need is a 5'7" 175 lb good looking but currently unemployed Polish web developer who has nothing but time on his hands to help you out.
![]() |
|
|
|
|
|
#30 | |
|
Join Date: May 2001
Location: Around.....
Posts: 14,964
|
Quote:
![]() |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| abs question | rogor1 | Training | 119 | 08-30-2007 02:08 AM |
| HTML question | TheGreatSatan | Open Chat | 17 | 07-15-2006 05:55 PM |
| When you take Glutamine? | KataMaStEr | Supplements | 36 | 05-05-2006 02:34 AM |
| Html | Dale Mabry | Open Chat | 17 | 09-10-2004 10:33 PM |
| html | ossiferdawkins | Suggestion Box | 4 | 02-14-2002 06:08 PM |