Log In · Register

 
coords of links
alias5731
post Oct 13 2006, 06:33 PM
Post #1


Senior Member
****

Group: Member
Posts: 192
Joined: Jan 2006
Member No: 361,578



I have a problem. Here's myspace and i dont know how to change the coords of the top links.

Here's the initial code i had but i moved the writings on the background. so now i have to change the coords so they fit with the writings (=the written links).

I don't understand what the numbers correspond to:

CODE
<div class="backgroundlayer">
<IMG SRC="http://www.matthewtrinder.co.uk/myspace/chinese.jpg" WIDTH=900 HEIGHT=1055 BORDER=0 ALT="" USEMAP="#you_Map">
<MAP NAME="you_Map">
<AREA SHAPE="rect" ALT="Message" COORDS="263,193,346,207" HREF="http://messaging.myspace.com/index.cfm?fuseaction=mail.message&friendID=37087282&MyToken=62534fb6-8028-4d8e-ad7f-3f270cff0a6a">
<AREA SHAPE="rect" ALT="Add" COORDS="218,193,257,207" HREF="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=37087282">
<AREA SHAPE="rect" ALT="Pics" COORDS="128,192,213,206" HREF="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=37087282&MyToken=5a4c2d35-8913-4766-b17a-63683f0611be">
<AREA SHAPE="rect" ALT="Home" COORDS="68,192,121,208" HREF="http://home.myspace.com/index.cfm?fuseaction=user&MyToken=5a4c2d35-8913-4766-b17a-63683f0611be">
</MAP>
</div>


I tried to change the coords of Home for example, but then when I had the right ones and try the next link, it changed everything. i cant really explain but i dont manage to put the html links under the written links _dry.gif

Could someone do it for me? i really tried but i dont know, something isnt working or i just cant do it sad.gif
 
 
Start new topic
Replies (1 - 9)
freeflow
post Oct 13 2006, 09:53 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



Use imageready or cutemap . Both are great programs for that. Or you can read the simple div tutorial, I think it tells you how too in paint. Not sure.
 
alias5731
post Oct 14 2006, 06:37 AM
Post #3


Senior Member
****

Group: Member
Posts: 192
Joined: Jan 2006
Member No: 361,578



Ok i've just tried on paint and with my layout I got these coords.

CODE
<MAP NAME="you_Map">
<AREA SHAPE="rect" ALT="Message" COORDS="790,195,208,208" HREF="http://messaging.myspace.com/index.cfm?fuseaction=mail.message&friendID=37087282&MyToken=62534fb6-8028-4d8e-ad7f-3f270cff0a6a">
<AREA SHAPE="rect" ALT="Add" COORDS="617,195,208,208" HREF="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=37087282">
<AREA SHAPE="rect" ALT="Pics" COORDS="396,195,208,208" HREF="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=37087282&MyToken=5a4c2d35-8913-4766-b17a-63683f0611be">
<AREA SHAPE="rect" ALT="Home" COORDS="223,195,208,208" HREF="http://home.myspace.com/index.cfm?fuseaction=user&MyToken=5a4c2d35-8913-4766-b17a-63683f0611be">
</MAP>


I read the coords were in that order: left; top; width; height. So the 2coords Paint gave me are at the beginning and then I just made up the 2 last ones.

My problem is that something is wrong, the only link that appears is "Message" on the whole layout width ohmy.gif

that'd be totally awesome if someone could correct my code with my layout picture HERE... wink.gif
 
xastallaslyons
post Oct 14 2006, 09:07 AM
Post #4


Senior Member
*****

Group: Member
Posts: 307
Joined: Apr 2006
Member No: 393,086



your codes are off...all the links are showing up, just not in the right places, home, add,pics,and message are all showing up before the home box..
 
freeflow
post Oct 14 2006, 11:57 AM
Post #5


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



I did it for you in imageready, but you should really learn how to do it yourself, because no ones going to keep doing it for you each time. As I said you can download a free trial or the program cute map. It is made for image mapping, and it works great. Plus its extremely simple to use.


CODE
<img src="images/chinese.jpg" width="900" height="1055" border="0" alt="" usemap="#chinese_Map">
<map name="chinese_Map">
<area shape="rect" alt="" coords="652,184,834,231" href="message me url here">
<area shape="rect" alt="Add me" coords="458,184,640,231" href="add me link here">
<area shape="rect" alt="pictures" coords="254,184,440,231" href="place picture link here">
<area shape="rect" alt="home " coords="66,184,254,232" href="placehomelinkhere">
</map>

You have to add the urls yourself. Put the image url where it says so . And then I guess you can post that whole code, in a div to position it. If it doesn't work on myspace, you have to change the code and get rid of the # .
 
alias5731
post Oct 14 2006, 12:13 PM
Post #6


Senior Member
****

Group: Member
Posts: 192
Joined: Jan 2006
Member No: 361,578



thanks a lot, it works fine. But I had really tried doing it by myself but that turned out wrong; i've downloaded Imageready now and I'm going to learn on it. Thanks for your help thumbsup.gif

PS: just a question: whats the number in the coords that controls the width of the link? I would like the html links to be only the width of the words, if you know what I mean. sorry to be so picky...
 
freeflow
post Oct 14 2006, 12:21 PM
Post #7


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



They go for the whole box that there in. Not the whole long one but the whole box that there in . Just hove your mouse and you'll see.
 
alias5731
post Oct 14 2006, 12:58 PM
Post #8


Senior Member
****

Group: Member
Posts: 192
Joined: Jan 2006
Member No: 361,578



yeah I saw. but i would have liked the links to be a bit shorter you know. ive just tried to install the imageready program i've downloaded but i have troubles. so yeah i cant use it for the moment to look for the coords i'd like sorry.
 
freeflow
post Oct 14 2006, 01:04 PM
Post #9


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



CODE
<img src="images/chinese-1.jpg" width="900" height="1055" border="0" alt="" usemap="#chinese_1_Map">
<map name="chinese_1_Map">
<area shape="rect" alt="" coords="712,184,832,213" href="message link">
<area shape="rect" alt="add me " coords="580,184,634,213" href="add link">
<area shape="rect" alt="pictures" coords="348,184,446,214" href="picture linke">
<area shape="rect" alt="Home" coords="190,184,252,214" href="home">
</map>
 
alias5731
post Oct 14 2006, 04:20 PM
Post #10


Senior Member
****

Group: Member
Posts: 192
Joined: Jan 2006
Member No: 361,578



awesome!! biggrin.gif thanx a lot! you can close this topic now
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: