PDA

View Full Version : AJAX Tabs Content Script to display images



dogshasha
10-09-2008, 05:11 PM
1) Script Title: Ajax Tabs Content

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/

3) Describe problem: I tried to use tabs to display images. When I click on the 1st tab, I'd like the content area to show myimg1.gif. Click on the 2nd tab to show myimg2.gif and so on.

instead, I got this:

http://www.geocities.com/dogshasha/ddtab.jpg

Searched here and found no answer.

much appreciation,

Michael

ddadmin
10-10-2008, 02:20 AM
Make sure your server side script returns the image as an HTML tag, not the actual image in binary format. So something like:


<img src="http://mysite.com/mygif" />