PDA

View Full Version : image content download on header click



rich1234
04-15-2008, 10:38 AM
Switch Content Script II (icon based)

http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm

Hi, I have image content in the expandable content of this script. Would anyone know if it were possible that the images in the expandable content are not downloaded until the user clicks a header. ie, dependant on user click for download of images. I tried the ajax option but my content comes from a database with asp so that doesnt work.
Any advice would be great
Thanks
Richard

ddadmin
04-15-2008, 06:11 PM
Hmm there's no easy way to do this right now except to use the Ajax option unfortunately. What you may be able to do is simply create a separate .asp page that when called displays the desired contents from the database, then set that page as the URL to fetch within Switch Content's ajax header option.