Anyone have any tips on this script? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Anyone have any tips on this script?

I was able to make a link between onmouseover and a div, but I can not enable next and prev bottons. I am using the JavaScript course script and a function for onmouseover with document.getElementbyId with style.display. https://code.sololearn.com/WmxMgA6xAJnr/?ref=app

2nd May 2019, 5:45 PM
Lυƈιҽɳҽ Bυʅԋõҽʂ Mαƚƚσʂ 🐢
Lυƈιҽɳҽ Bυʅԋõҽʂ Mαƚƚσʂ 🐢 - avatar
3 Réponses
+ 1
Kkkkkk....Where it reads: dolphins, read: buttons next and prev.
2nd May 2019, 9:46 PM
Lυƈιҽɳҽ Bυʅԋõҽʂ Mαƚƚσʂ 🐢
Lυƈιҽɳҽ Bυʅԋõҽʂ Mαƚƚσʂ 🐢 - avatar
0
I'm afraid that I am not sure what you mean that you are trying to do. Was the "dolphins" a word mistake? 😅
2nd May 2019, 7:41 PM
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘 - avatar
0
K so the problem is where your id is. You have it on the <div> tag when it should be on the <img> tag: <div id="div_fotos"> should be <img id="div_fotos" ... Also none of your images load for me so I can't tell of that is that was needed or not.
2nd May 2019, 11:19 PM
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘
Decimis † 𝕯𝖊𝖈𝖎𝖒𝖎𝖘 - avatar