Coding help?

4 posts / 0 new
Last post
lyric666
lyric666's picture
Offline
Last seen: 6 years 5 months ago
Joined: 30/03/2009 - 6:05pm
Coding help?
Can someone explain to me what the four numbers in the coordinates in the notice board banner stand for? I am needing to split a button on my notice board ad: http://www.neopets.com/~landofroo At the bottom of the page on the nb ad I need to split the maps and paintbrush button so that the paint brush half goes to one person and the maps half goes to another. Can someone help me or at least guide me to a page with a walkthrough of coding nb banners? Thanks!!!
Kitriana
Kitriana's picture
Offline
Last seen: 13 years 2 months ago
Joined: 10/11/2010 - 8:34pm
Alright, let me see if I can explain this one. The below code is just an example. coords=107,382,217,464 href="/browseshop.phtml?owner=name1"> lets say this is the original code. You need to add another line below or above. I've deleted the coords since you need to split the box into two. coords=0,0,0,0 href="/browseshop.phtml?owner=name1"> coords=0,0,0,0 href="/browseshop.phtml?owner=name2"> Next you need a program that will allow you to look at the coords on a picture. The coords are measured in pixels, and you want to find out where the box top left corner is, and the bottom right, but twice within the same box! I used photoshop cs4 when I made the code for the mall I'm in to figure out the coordinates. Go to the tab window and make sure "info" is checked. you should see (click link) http://i1187.photobucket.com/albums/z395/Kitriana87/Neopets/tutorial/tut1.jpg select info. once you've found a way to see coords you can check the image below. http://i1187.photobucket.com/albums/z395/Kitriana87/Neopets/tutorial/tut2.jpg The blue dots are for the first box, the red dots for the second box. if you hover your mouse over the top left blue dot, you should be able to see X and Y coordinates. You need to type in these coords into the code of user1. coords=X,Y after that you hover your mouse over the bottom blue dot and you get the last two. coords=X,Y,X,Y Now you've created the first box. So you do the same with the red dots! You need to type in these coords into the code of user2. Top red first and you type in X,Y get the bottom red dot and type in the last X,Y
Kitriana
Kitriana's picture
Offline
Last seen: 13 years 2 months ago
Joined: 10/11/2010 - 8:34pm
Remember to delete the original code! And! I wouldnt use the codes above as they're purely examples, and they miss the start of the code. Sorry if the explanation was a bit messy, first time I've ever tried to explain how to code xD Hope you could make some sense of it though, else I'll check back ;) Kitriana
lyric666
lyric666's picture
Offline
Last seen: 6 years 5 months ago
Joined: 30/03/2009 - 6:05pm
Figured it out, thanks for the help!