Document.write help, please!

    Date: 04/22/06 (Javascript Community)    Keywords: php

    I want to have an image gallery that displays the thumbnails based on a for loop, as opposed to me having to write each image tag.

    This is what I'm trying to do (code-wise):




    It is initalized in the body tag:


    How come it reloads the page, prints out the result on a blank page,and then reloads the original page the code was called from, with nochanges on it, whenever it's initialized?

    The code actually sits in the correct area where I want the images to appear. Why isn't it working?

    The page is at: http://melissamunroe.com/1/index.php?option=com_content&task=view&id=80&Itemid=69 (the images aren't uploaded yet; that's fine, I just want to the code to work - there's a border around each image so it should display that at least).

    Source: http://community.livejournal.com/javascript/99306.html

« parent.frame is null or not... || Bypassing popup results... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home