| | |
set image path onMouseClick
Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Nov 2007
Posts: 81
Reputation:
Solved Threads: 2
Hi
Im trying to re-make one of those image galleries where you click the thumbnail and the whole browser window is blacked out with the larger image displayed in the middle. Ive gotten as far as finding a script to hide this black layer and reveal it onMouseClick... but if Im using a database of images, I cant hard code every hidden layer for each gallery... and I dont think loading up every single large image in the background is fair to the viewer...
how can I set the path of the large image when the user clicks the thumbnail and then still reveal the black layer?
Im trying to re-make one of those image galleries where you click the thumbnail and the whole browser window is blacked out with the larger image displayed in the middle. Ive gotten as far as finding a script to hide this black layer and reveal it onMouseClick... but if Im using a database of images, I cant hard code every hidden layer for each gallery... and I dont think loading up every single large image in the background is fair to the viewer...
how can I set the path of the large image when the user clicks the thumbnail and then still reveal the black layer?
![]() |
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: javascript error??????
- Next Thread: getElementsByName() generates undefined ouput value in a textbox
| Thread Tools | Search this Thread |
acid2 ajax ajaxcode ajaxexample ajaxhelp ajaxjspservlets animate automatically beta box browser bug calendar captchaformproblem checkbox child class close column cookies createrange() css cursor decimal dependent design disablefirebug dom download dropdown editor element engine error events explorer ext file form forms google gwt gxt hiddenvalue highlightedword html htmlform ie8 iframe images index internet java javascript javascripthelp2020 jawascriptruntimeerror jquery jsf jsfile jump libcurl listbox math media microsoft mimic mp4 object onmouseoutdivproblem onmouseover onreadystatechange parent pdf php player post problem progressbar regex runtime scroll search security select session shopping size software sql text textarea unicode w3c web website window windowofwords windowsxp wysiwyg \n





