|
|
| Welcome to the Mac Forums forums. Please read the FAQ if you have questions. Register to participate. |
|
|||||||
| TouchArcade.com - iPhone Game Reviews and News |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
macrumors regular
Join Date: Oct 2006
|
Making a web badge
hey folks just making a page and wanted to make a web badge basically an image that points the person to my web page and my friends can put on their site but i am not sure how to do that i really just want to supply the image as a link integrated inside it so they can simply embedd it in . thanks here is the image below. all help appreciated.
|
|
|
|
|
|
#2 |
|
macrumors 65816
Join Date: Apr 2007
|
Never mind. didn't work.
|
|
|
|
|
|
#3 |
|
Thread Starter
macrumors regular
Join Date: Oct 2006
|
all help appreciated
thanks
|
|
|
|
|
|
#4 |
|
macrumors 6502a
|
what i dont understand what you want?
HTML Code:
<a href="http://yoursite.com" target="_blank"><img src="http://yoursite.com/yourimage.jpg" border="0"></a>
__________________
Mac Mini Core Duo 1.83Ghz 2GB RAM 80GB HDD SuperDrive 10.5 - 23" Dell Monitor
8GB iPhone 3G - 80GB iPod Classic Silver - 2G Shuffle Silver ![]() Last edited by yagran : Jun 13, 2007 at 05:44 PM. |
|
|
|
|
|
#5 |
|
macrumors 65816
Join Date: Oct 2003
Location: Tucson AZ
|
You might try creating a Flash movie with the URL embedded in it.
Maybe one the Flash experts here could talk you through the process.
__________________
2.4ghz 24" iMac (Aluminum); 4GB RAM; 320GB HDD; 250GB external G-Drive; 10.5.7; Adobe CS3. |
|
|
|
|
|
#6 |
|
macrumors 6502a
|
no need for flash here, the simple code above is sufficient. if you want basic animation in the 'badge' i would reccomend just using an animated gif format.
__________________
Mac Mini Core Duo 1.83Ghz 2GB RAM 80GB HDD SuperDrive 10.5 - 23" Dell Monitor
8GB iPhone 3G - 80GB iPod Classic Silver - 2G Shuffle Silver ![]() |
|
|
|
|
|
#7 | |
|
macrumors 68000
Join Date: Jul 2006
Location: Queensland, Australia
|
Quote:
css Code:
#badge {
display: block;
width: widthinpixelspx;
height: heightinpixelspx;
background: url(path/to/image.png);
}
Code:
<a href="yourlink" id="badge" rel="external" title="pagename"></a>
__________________
20" iMac Core Duo
13" 2.26Ghz MBP Upgraded to 4GB RAM & 500GB HDD |
|
|
|
|
|
|
#8 |
|
macrumors 6502a
|
sorry but how is this better in any way? he wants to distribute it to friends for links on their site, so the shortest amount of code is the BEST solution surely. your method adds nothing
__________________
Mac Mini Core Duo 1.83Ghz 2GB RAM 80GB HDD SuperDrive 10.5 - 23" Dell Monitor
8GB iPhone 3G - 80GB iPod Classic Silver - 2G Shuffle Silver ![]() |
|
|
|
|
|
#9 |
|
Thread Starter
macrumors regular
Join Date: Oct 2006
|
hey folks thanks for your replies and help - what i am trying to do is give people an image that they can put on their website and when a person clicks on that image it takes them to my little page. Thanks for the html code but i don't know how to link it to the image - when i wanted to make a link on something i would just use a hot selection in dreamweaver to put over the image and that would do it - do i supply the code and the image separately? i am a little bit lost. thanks once again for your help guys.
|
|
|
|
|
|
#10 | |
|
macrumors 65816
Join Date: Apr 2007
|
Quote:
Code:
<img src="image path here"> Code:
<img src="http://farm2.static.flickr.com/1215/544280569_d2b001b9d2_o.gif"> Code:
<img src="http://www.flowoflava.com/images/imagename.gif"> Code:
<a href="http://www.flowoflava.com" target="_blank"><img src="http://www.flowoflava.com/images/imagename.gif" border="0"></a> |
|
|
|
|
|
|
#11 |
|
macrumors 601
Join Date: May 2005
|
__________________
.
|
|
|
|
|
|
#12 |
|
Thread Starter
macrumors regular
Join Date: Oct 2006
|
thanks folks i think i worked it out - what i will do is put the image on my webspace and send people the line of code to add to their page - thanks so much for your help - i am not great a coding stuff
wish i was. thanks once again tho ...
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|