Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 07-27-2006, 10:32 AM   #1
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
Exclamation Code for clickable banner

hi i want to make a clickable picture so that it takes me to a different site...whats the code for that?

thanks!! its it something like img scr = "
gmanz73 is offline   Reply With Quote
Old 07-27-2006, 11:02 AM   #2
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
You have to next an img link inside an anchor link. For example:
PHP Code:
<a href="http://www.newlocation.com/send/click/here">
<
img src="http://www.images.com/yourimagefile.jpg" alt="alt text">
</
a
Suggest you read this: http://www.w3schools.com/html/html_links.asp
Statica is offline   Reply With Quote
Old 07-27-2006, 11:24 AM   #3
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
A couple of additions to what Statica posted.

<a href="link.htm" target="_blank" ><img src="/images/someimage.jpg" border="0" alt="some text"> </a>

target="_blank" will open the link in a new window. You don't want someone leaving your site and going to another one generally.
border="0" will turn off the ugly blue border around your image.
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 07-27-2006, 01:09 PM   #4
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
PHP Code:
<a href="http://www.stores.ebay.com/watchesusa"target="_blank">
<
img src="http://img370.imageshack.us/img370/8889/bannewhq0.th.gif" border="0" alt="alt text"></a
the pic is too small to see, what can i do to make it bigger?

can someone edit it?

thanks!
gmanz73 is offline   Reply With Quote
Old 07-27-2006, 01:19 PM   #5
~ Ryan ~
 
Join Date: Jun 2005
Location: Jackson TN
Posts: 3,516
Send a message via AIM to rspassey Send a message via MSN to rspassey
The image you made is only 150 * 20 > http://img370.imageshack.us/img370/8...nnewhq0.th.gif

If you want it any larger, you'll have to do it with your editor... resizing with HTML ain't so pretty.
__________________
RiotCats.com, an internet domain specifically fabricated and visually erected for the appreciation of the feline kingdom!
rspassey is offline   Reply With Quote
Old 07-27-2006, 02:25 PM   #6
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
can you edit the code?
i used imageshack.us for hosting.
gmanz73 is offline   Reply With Quote
Old 07-27-2006, 02:26 PM   #7
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
this is the pic
Attached Images
File Type: gif bannew.gif (5.8 KB, 33 views)
gmanz73 is offline   Reply With Quote
Old 07-27-2006, 02:31 PM   #8
~ Ryan ~
 
Join Date: Jun 2005
Location: Jackson TN
Posts: 3,516
Send a message via AIM to rspassey Send a message via MSN to rspassey
Your upload screwed up the size.

Try hosting it directly from your webserver. If you have a webserver, it makes much more sense to host the file from there; and looks more professional.

This is what it would look like if you used your upload and allowed HTML to resize it.



alt text



PHP Code:
<a href="http://www.stores.ebay.com/watchesusa"target="_blank">
<
img src="http://img370.imageshack.us/img370/8889/bannewhq0.th.gif" border="0" width="486" height="60" alt="alt text"></a

Last edited by rspassey; 07-27-2006 at 02:36 PM.
rspassey is offline   Reply With Quote
Old 07-27-2006, 02:47 PM   #9
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
wow...i dont think that i should let HTML resize it...what size should i use in Imageshack?
gmanz73 is offline   Reply With Quote
Old 07-27-2006, 02:50 PM   #10
~ Ryan ~
 
Join Date: Jun 2005
Location: Jackson TN
Posts: 3,516
Send a message via AIM to rspassey Send a message via MSN to rspassey
Quote:
Originally Posted by gmanz73
wow...i dont think that i should let HTML resize it...what size should i use in Imageshack?
Leave it at it's original size. width=486 height=60

If it still auto resizes it, take a look at hosting with photobucket.
rspassey is offline   Reply With Quote
Old 07-27-2006, 04:03 PM   #11
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
hey, what do you think of this?


alt text
gmanz73 is offline   Reply With Quote
Old 07-27-2006, 04:05 PM   #12
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
thanks guys!!
gmanz73 is offline   Reply With Quote
Old 07-27-2006, 05:54 PM   #13
~ Ryan ~
 
Join Date: Jun 2005
Location: Jackson TN
Posts: 3,516
Send a message via AIM to rspassey Send a message via MSN to rspassey
Looks good.

Just out of curiousity, how many watches do you sell in a week?
rspassey is offline   Reply With Quote
Old 07-27-2006, 06:02 PM   #14
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
its personal, just check my feedback, it will tell you
Ryan, did you change your ID name?
gmanz73 is offline   Reply With Quote
Old 07-27-2006, 06:13 PM   #15
~ Ryan ~
 
Join Date: Jun 2005
Location: Jackson TN
Posts: 3,516
Send a message via AIM to rspassey Send a message via MSN to rspassey
Quote:
Originally Posted by gmanz73
its personal, just check my feedback, it will tell you
Ryan, did you change your ID name?
Yes, I changed my user name.

I checked out your feedback: your business looks pretty lucrative so far, let's hope it stays that way
rspassey is offline   Reply With Quote
Old 07-27-2006, 08:58 PM   #16
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
thanks! what was wrong with your old ID?
gmanz73 is offline   Reply With Quote
Old 07-28-2006, 08:24 AM   #17
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally Posted by gmanz73
thanks! what was wrong with your old ID?
He's in Tennessee now, hehe.
mairving is offline   Reply With Quote
Old 07-28-2006, 10:08 AM   #18
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
so?...i still dont get it....when you change states, you have to change your ID?
gmanz73 is offline   Reply With Quote
Old 07-28-2006, 11:23 AM   #19
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally Posted by gmanz73
so?...i still dont get it....when you change states, you have to change your ID?
You didn't see that in the rules?

You ought to see what happens when you move to Arkansas.
mairving is offline   Reply With Quote
Old 07-29-2006, 01:15 PM   #20
Member (9 bit)
 
gmanz73's Avatar
 
Join Date: Feb 2005
Posts: 430
HAHAHA your funny,


...no seriously...why did he change it?
gmanz73 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:11 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2