Search found 5 matches

by MarioAllStar
Thu Dec 25, 2003 4:05 pm
Forum: Javascript
Topic: Modify HTML code with an image.
Replies: 7
Views: 1837

Thank you that helps!

Also, is there a way to insert different HTML code into the document which calls for the image. You know, instead of the <a href="http://foo.com/">. For example, add in some Javascript code to the HTML document and have the image execute that script.?
by MarioAllStar
Tue Dec 23, 2003 9:58 pm
Forum: Javascript
Topic: Modify HTML code with an image.
Replies: 7
Views: 1837

Acually, I have a question. // Use a switch to determine what to do based on the image you are going to display switch( $imageToBeUsed ) { case 'img1.jpg': $link = '<a href="http://foo.com/">'; break; case 'img2.jpg': $link = '<a href="http://bar.com/'>'; break; default: $link = '<a h...
by MarioAllStar
Tue Dec 23, 2003 7:53 pm
Forum: Javascript
Topic: Modify HTML code with an image.
Replies: 7
Views: 1837

Thanks I'll try that one out!

If anybody here has any disagreements and think it won't work please post here.
by MarioAllStar
Tue Dec 23, 2003 5:40 pm
Forum: Javascript
Topic: Modify HTML code with an image.
Replies: 7
Views: 1837

Sorry about that! :) Ok, I want to generate an image using a PHP script. I also want this image to modify the HTML source of the document that it is in. I want to be able to define what picture will be generated and the HTML source to be added in by the image. For example, I have my avatar in a foru...
by MarioAllStar
Tue Dec 23, 2003 3:41 pm
Forum: Javascript
Topic: Modify HTML code with an image.
Replies: 7
Views: 1837

Modify HTML code with an image.

[This post was extremely unclear and sloppy. Please read my next post]