+ 1
Function doesnt work after adding image
I am helping golden rockstar with adding a few apps to it, and everything works fine, but if you add a photo in the gallery, it wont show the big image anymore https://code.sololearn.com/WaS5BRKDLZEi/?ref=app
11 Answers
+ 2
In the script to add photos, I find no errors. In which line are the photos enlarged?
+ 2
Roel In wich line are the photos enlarged?
+ 1
Roel 258: [.removeClass("bigimg")]
0
adding photos works correctly but after doing that you cant make the photos big anymore
0
278 - 284
works properly untill you add a photo, 262-270 i thought
0
$(function(){
$(".smallimg,#imgwrap").click(function(){
$("#phone").toggle();
$("#imgwrap").toggle();
$("#bigimg").attr("src",$(this).attr("src"));
});
});
0
.teew removed it, because the class doesnt exist anymore, but the function still doesnt work :(
0
What is life? Baby don't hurt me....
0
life = very good at the moment
Baby dont hurt me?? what does that mean
0
Its a song...
0
oh didn't know that