Sliding Popup in Drupal 6
You need


a hook_menu() implementation that will provide you with the url: 
a page callback funtion that does print() or echo on the html snippet, then exit(). So no drupal_to_js() or drupal_json().