blob84 Posted November 10, 2009 Report Share Posted November 10, 2009 (edited) 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". Edited November 10, 2009 by blob84 Link to comment Share on other sites More sharing options...
thescientist Posted November 10, 2009 Report 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 Report 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
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now