hi, i use wysiwyg web builder 5, im not a coder but am making an online portfolio and want to incorporate this no refreshing function within the whole site... basically someone can click on the preview icons of my photos and then it loads the bigger image in a diefferent section of the site. is this possible using your code from here? and could i paste it directly into wysiwyg? thanks..
that ajax example is use ajax to get the file name, not get the image. It use the img tag in html to load the image, it use innerHTML to set the html inside "targetDiv", so it just dynamic to change the "src" attribute. You may load all the image name first when the website load(that means use javascript: var imagesName = new Array();imagesName[0] = "image1.jpg";imagesName[1]= "image2.jpg"). then, when someone click the preview icon, it use the image name as the src of the img tag.
Comment removed
ramranjithm 1 year ago
Comment removed
ramranjithm 1 year ago
Comment removed
ramranjithm 1 year ago
Comment removed
ramranjithm 1 year ago
Comment removed
ramranjithm 1 year ago
Comment removed
ramranjithm 1 year ago
I tried. This code didnot work.
NedimHy 2 years ago
It work, I have tryed on Ubuntu 9.04 FireFox 3. If you need, I can give you code and images :-)
Tvinky 2 years ago
very straight foward, thank you
dreadrazor 3 years ago
hi, i use wysiwyg web builder 5, im not a coder but am making an online portfolio and want to incorporate this no refreshing function within the whole site... basically someone can click on the preview icons of my photos and then it loads the bigger image in a diefferent section of the site. is this possible using your code from here? and could i paste it directly into wysiwyg? thanks..
mrconcept 3 years ago
that ajax example is use ajax to get the file name, not get the image. It use the img tag in html to load the image, it use innerHTML to set the html inside "targetDiv", so it just dynamic to change the "src" attribute. You may load all the image name first when the website load(that means use javascript: var imagesName = new Array();imagesName[0] = "image1.jpg";imagesName[1]= "image2.jpg"). then, when someone click the preview icon, it use the image name as the src of the img tag.
altu892 1 year ago