Image mapping on div? |
Image mapping on div? |
Aug 26 2008, 12:42 AM
Post
#1
|
|
![]() Kimberly ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,961 Joined: Apr 2005 Member No: 121,599 |
I'm having a really hard time figuring out how to image map my layout...
http://profile.myspace.com/index.cfm?fusea...96-b0ab77486e9f I found a code, but it wont let me position the links over my main layout image. Can anyone help generate a code for me? Thank you. |
|
|
|
![]() |
Aug 26 2008, 02:53 AM
Post
#2
|
|
![]() Kimberly ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,961 Joined: Apr 2005 Member No: 121,599 |
^ Thanks for the help everyone... but I caved in and just took the text off... and decided not to image map. Mapping using photoshop is too much trouble for a myspace layout. This can be closed.
|
|
|
|
Aug 26 2008, 03:06 AM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 170 Joined: Aug 2008 Member No: 675,679 |
^ Thanks for the help everyone... but I caved in and just took the text off... and decided not to image map. Mapping using photoshop is too much trouble for a myspace layout. This can be closed. kimmytree! what you said before about links on the image! its called corrds and its easy! this the code i use and you can have CODE <div class="div" style="position: absolute; left:340px; top:200px; width:874px; height:650px; overflow: hidden;"> <img src="http://i36.tinypic.com/2liwnps.jpg" usemap="#swagga" border="0" /><map name="swagga"> <area shape="rect" alt="home" coords="213,71 274,90" href="http://home.myspace.com/index.cfm?fuseaction=user" /> <area shape="rect" alt="add" coords="215,107 253,119" href="http://collect.myspace.com/index.cfm?fuseaction=invite.addfriend_verify&friendID=XXXXXX"/> <area shape="rect" alt="msg" coords="213,135 298,151" href="http://mail.myspace.com/index.cfm?fuseaction=mail.message&friendID=XXXXXX" /> <area shape="rect" alt="pics" coords="214,168 256,180" href="http://viewmorepics.myspace.com/index.cfm?fuseaction=user.viewPicture&friendID=XXXXXX" /> <area shape="rect" alt="cmt me" coords="214,195 293,211" href="http://comment.myspace.com/index.cfm?fuseaction=user.viewProfile_commentForm&friendID=XXXXXX" /> <area shape="rect" alt="view cmts" coords="212,227 320,241" href="http://comments.myspace.com/index.cfm?fuseaction=user.homeComments&friendID=XXXXXX" /> </map> </div> well im not good at coding but ..you put the image in the code then on photoshop go to the info box and then theres a x and y use your pointer then go to the top right oof the locatioon link you want the put in the first number whch is x then y then go to the bottem left then put them numbers in <area shape="rect" alt="home" coords="x,y(right top) x,y(bottem left)" thats how i do it make sure you have your x,y in px not inches |
|
|
|
kimmytree Image mapping on div? Aug 26 2008, 12:42 AM
SkyliteX have you tried my tutorial?
http://www.createblog.... Aug 26 2008, 02:06 AM
kimmytree Thank you for your help, but I've tried that t... Aug 26 2008, 02:20 AM
YunginBoss3 do u use photoshop?
if you do you can use corrds t... Aug 26 2008, 02:44 AM
schizo Are you sure you want this closed? Image mapping i... Aug 26 2008, 04:52 PM
only-tuesdays This is how I always do image mapping.
CODE<i... Aug 26 2008, 05:01 PM
YunginBoss3 QUOTE(only-tuesdays @ Aug 26 2008, 05... Aug 26 2008, 06:54 PM![]() ![]() |