Raised This Month: $ Target: $400
 0% 

php, making a link associated with a picture


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 09-17-2004 , 22:05   php, making a link associated with a picture
Reply With Quote #1

I am curious, how can I make it in php language to have a picture
like the superhero mod above that when you click on it it redirects you to my home page

just realized that when you are in my forum there is no link back to my site
I tried
Quote:
."<tr><td width=\"100%\" height=\"11\" valign=\"bottom\">\n"
."<map name=\"FPMap0\">"
."</map>"
."<url=http://www.bringoutyourdead.deadanddying.net/NUKE/><img border=\"0\" src=\"themes/hl2v2_clanspy/images/logo.gif\" usemap=\"#FPMap0\" width=\"800\" height=\"84\"><url>"
but it seems to have no effect, the logo is not linked


just an off topic curiosity, thanx
__________________
Chivas2973 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-17-2004 , 22:13  
Reply With Quote #2

you dont do that kind of stuff in "php" php is advanced coding where you can use variables and IF/ELSE and other cool stuff....

thats just normal html.

try this

Code:
"
that is actual html code.... I dunno wtf you were using
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 09-17-2004 , 22:37  
Reply With Quote #3

sorry, I am new to php or any coding for that matter, I did what you gave, and it now gives a link but for some reason I have to right click and select open or open in a new window

thanks for the help, it is a big step forward
__________________
Chivas2973 is offline
jtp10181
Veteran Member
Join Date: May 2004
Location: Madison, WI
Old 09-17-2004 , 22:48  
Reply With Quote #4

its probably acting weird because of that useless image map your using

take out that <map> block of code and use this for the link/image

Code:
<a href=\"http://www.bringoutyourdead.deadanddying.net/NUKE/\"><img border=\"0\" src=\"themes/hl2v2_clanspy/images/logo.gif\" width=\"800\" height=\"84\"></a>"
__________________
jtp10181 is offline
Send a message via ICQ to jtp10181 Send a message via AIM to jtp10181 Send a message via MSN to jtp10181 Send a message via Yahoo to jtp10181
Chivas2973
Veteran Member
Join Date: Mar 2004
Location: Wisconsin
Old 09-18-2004 , 00:03  
Reply With Quote #5

thanx jtp, that worked great
__________________
Chivas2973 is offline
Reply



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 Off

Forum Jump


All times are GMT -4. The time now is 06:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode