blob84 Posted November 10, 2009 Share Posted November 10, 2009 Hi i need help to set coords for this imagei used the gimp plugin to take coords but are not fine.Gimp get these coords <area shape="rect" coords="40,15,243,35" href="#" alt="foto ecuador0" /><area shape="rect" coords="125,120,69,32" href="#" alt="bandiera ecuador" /><area shape="rect" coords="50,190,230,15" href="#" alt="foto ecuador" /> I have created a script with javascript and when you click on a picture coords it will show a box, every picture has an own text.for example if i click on first coords area it show a box with the text "hi", if i click on the second coords area ih show the text "goodbye" ecc..BUt these coords are not good, beacause if i click on flag of ecuador it show the box of another coords?!?!!?Why??I'm interested at the top three bananas pictures,the flag of Ecuador,and the text at bottom "Ecuador produzione di banane". Link to comment Share on other sites More sharing options...
thescientist Posted November 10, 2009 Share Posted November 10, 2009 maybe its the javascript code? Link to comment Share on other sites More sharing options...
gar onn Posted November 12, 2009 Share Posted November 12, 2009 a something likealert('function started');to verify that the script runs. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.