IronMagazine Bodybuilding Forum


Go Back   IronMagazine Bodybuilding Forum > General Interests Forums > Open Chat
Photo Gallery Register Members List Videos Blogs Search Today's Posts Mark Forums Read

Open Chat General adult talk about life, relationships or whatever you want to discuss.


Anyone know HTML?


Reply
 
LinkBack Thread Tools Display Modes
Old 09-23-2002, 04:56 PM   #1
 
w8lifter's Avatar
 
Join Date: May 2001
Location: Around.....
Posts: 14,964

Confused Anyone know HTML?

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
w8lifter is offline   Reply With Quote
Old 09-23-2002, 05:00 PM   #2
the one & only
Administrator
 
Prince's Avatar
 
Join Date: Nov 2000
Location: Colorado
Posts: 33,520
Blog Entries: 25
Photos: 313

View Member's Myspace Profile
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]



Prince is offline   Reply With Quote
Old 09-23-2002, 05:02 PM   #3
the one & only
Administrator
 
Prince's Avatar
 
Join Date: Nov 2000
Location: Colorado
Posts: 33,520
Blog Entries: 25
Photos: 313

View Member's Myspace Profile
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.



Prince is offline   Reply With Quote
Old 09-23-2002, 05:05 PM   #4
 
w8lifter's Avatar
 
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?
w8lifter is offline   Reply With Quote
Old 09-23-2002, 05:05 PM   #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!!
mrguy is offline   Reply With Quote
Old 09-23-2002, 05:14 PM   #6
 
w8lifter's Avatar
 
Join Date: May 2001
Location: Around.....
Posts: 14,964

Quote:
Originally posted by mrguy
Try this:

Your last line for the source has a link to a non existing file: SRC="testpic_1x1.jpg --- Should be testpic.jpg

-----------------------------------------------------------------------
Thank you ....I'm a dork ....but thank you very much, LOL
w8lifter is offline   Reply With Quote
Old 09-23-2002, 05:14 PM   #7
Um......get rooted!
Elite Member
 
kuso's Avatar
 
Join Date: Dec 2001
Location: aka ( o Y o )
Posts: 15,033
Photos: 15

It works now



kuso is offline   Reply With Quote
Old 09-23-2002, 05:21 PM   #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!!
mrguy is offline   Reply With Quote
Old 09-23-2002, 06:09 PM   #9
the one & only
Administrator
 
Prince's Avatar
 
Join Date: Nov 2000
Location: Colorado
Posts: 33,520
Blog Entries: 25
Photos: 313

View Member's Myspace Profile
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]



Prince is offline   Reply With Quote
Old 09-23-2002, 06:22 PM   #10
 
w8lifter's Avatar
 
Join Date: May 2001
Location: Around.....
Posts: 14,964

and this "pre-loads" the pics? how does that work? lol
w8lifter is offline   Reply With Quote
Old 09-23-2002, 07:25 PM   #11
the one & only
Administrator
 
Prince's Avatar
 
Join Date: Nov 2000
Location: Colorado
Posts: 33,520
Blog Entries: 25
Photos: 313

View Member's Myspace Profile
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.



Prince is offline   Reply With Quote
Old 09-23-2002, 08:23 PM   #12
 
w8lifter's Avatar
 
Join Date: May 2001
Location: Around.....
Posts: 14,964

Oh....Okay...thanks Prince
w8lifter is offline   Reply With Quote
Old 09-23-2002, 10:22 PM   #13
Pizza the Hut
Super Moderator
 
Mudge's Avatar
 
Join Date: Jun 2002
Posts: 22,997
Photos: 1

I KNOW NUSSIIIIIIIIIIIING!



Kinesiology Vote @ Top 25 Deads Comp Bench
Motivation Bench form MaxCalc Charles Poliquin
When I let go of what I am, I become what I might be. Lao-Tzu
I don't know any sources so don't ask - thanks
Mudge is offline   Reply With Quote
Old 09-24-2002, 01:51 AM   #14
Strongest of all Hobbits
Elite Member
 
Preacher's Avatar
 
Join Date: Jan 2001
Location: Belgium - Western Europe
Posts: 413
Photos: 2

Cool

lol@mudge .. You should see my DreamWeaver courses ...
Preacher is offline   Reply With Quote
Old 09-24-2002, 07:04 AM   #15
P/RR/Sh Warrior
Elite Member
 
Tank316's Avatar
 
Join Date: Dec 2001
Location: Barron,Wi
Posts: 4,345
Photos: 8

Quote:
Originally posted by Mudge
I KNOW NUSSIIIIIIIIIIIING!
you too, frickin computer nerds.........
Tank316 is offline   Reply With Quote
Old 09-24-2002, 09:21 AM   #16
Born-again newbie
 
dino's Avatar
 
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."
dino is offline   Reply With Quote
Old 09-24-2002, 10:40 AM   #17
Pizza the Hut
Super Moderator
 
Mudge's Avatar
 
Join Date: Jun 2002
Posts: 22,997
Photos: 1

Sgt. Schultz for anyone that didn't get it



Kinesiology Vote @ Top 25 Deads Comp Bench
Motivation Bench form MaxCalc Charles Poliquin
When I let go of what I am, I become what I might be. Lao-Tzu
I don't know any sources so don't ask - thanks
Mudge is offline   Reply With Quote
Old 09-24-2002, 10:47 AM   #18
Senior Member
Elite Member
 
butterfly's Avatar
 
Join Date: Mar 2002
Location: Houston, TX
Posts: 11,526
Photos: 11

Quote:
Originally posted by Preacher
lol@mudge .. You should see my DreamWeaver courses ...
Love DreamWeaver... just got my upgrade to MX



~Ann
We must teach our children to dream with their eyes open.
-Harry Edwards
butterfly is offline   Reply With Quote
Old 09-24-2002, 11:00 AM   #19
IDIOT SAVANT
 
ALBOB's Avatar
 
Join Date: Jun 2001
Location: An alternate reality.
Posts: 10,129

Re: Anyone know HTML?

Quote:
Originally posted by w8lifter
Or java
Hell yes I know Jave, I'm having a cup right now.



Rules? You mean we have RULES for that???
ALBOB is offline   Reply With Quote
Old 09-24-2002, 12:06 PM   #20
Born-again newbie
 
dino's Avatar
 
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."
dino is offline   Reply With Quote
Old 09-24-2002, 12:08 PM   #21
the one & only
Administrator
 
Prince's Avatar
 
Join Date: Nov 2000
Location: Colorado
Posts: 33,520
Blog Entries: 25
Photos: 313

View Member's Myspace Profile
actually it would be JavaScript, not Java.



Prince is offline   Reply With Quote
Old 09-24-2002, 12:19 PM   #22
Senior Member
Elite Member
 
butterfly's Avatar
 
Join Date: Mar 2002
Location: Houston, TX
Posts: 11,526
Photos: 11

Hate them applets...



~Ann
We must teach our children to dream with their eyes open.
-Harry Edwards
butterfly is offline   Reply With Quote
Old 09-24-2002, 12:57 PM   #23
IDIOT SAVANT
 
ALBOB's Avatar
 
Join Date: Jun 2001
Location: An alternate reality.
Posts: 10,129

Quote:
Originally posted by Prince
actually it would be JavaScript, not Java.
Haven't tried that, is it Columbian?



Rules? You mean we have RULES for that???
ALBOB is offline   Reply With Quote
Old 09-24-2002, 01:26 PM   #24
Born-again newbie
 
dino's Avatar
 
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."
dino is offline   Reply With Quote
Old 09-24-2002, 01:52 PM   #25
Pizza the Hut
Super Moderator
 
Mudge's Avatar
 
Join Date: Jun 2002
Posts: 22,997
Photos: 1

How about VBScript, imported from far away Redmond Washington, definately has a domestic flavor to it



Kinesiology Vote @ Top 25 Deads Comp Bench
Motivation Bench form MaxCalc Charles Poliquin
When I let go of what I am, I become what I might be. Lao-Tzu
I don't know any sources so don't ask - thanks
Mudge is offline   Reply With Quote
Old 09-24-2002, 02:19 PM   #26
IDIOT SAVANT
 
ALBOB's Avatar
 
Join Date: Jun 2001
Location: An alternate reality.
Posts: 10,129

Quote:
Originally posted by Mudge Redmond Washington
Ewwww.........Too close to Canada. Probably tastes like beer.



Rules? You mean we have RULES for that???
ALBOB is offline   Reply With Quote
Old 09-24-2002, 03:42 PM   #27
Registered User
 
Join Date: Dec 2001
Posts: 10,779
Photos: 6

Quote:
Originally posted by ALBOB


Ewwww.........Too close to Canada. Probably tastes like beer.
...and? What's your point OLDBOOB?



Senior citizen at work, don't bugg me.
Dero is offline   Reply With Quote