Click to See Complete Forum and Search --> : Getting and outputting HTML from a URL


kent_will
11-15-2007, 06:12 AM
Hi,

I've got an asp forum that I'm trying to make look like the site I've built. As the site is sat on a rather neat CMS, I want to pull alot of the sites features, Navigation etc straight into the Forums master template, by grabbing the HTML.

I have an ashx file as the location for the HTML, I'm only outputting the blobs of HTML I want so it is not a valid document.

what I want to do its:

<div>
<!-- CODE HERE TO GRAB THE HTML FROM ... Menu.ashx -->
</div>

I have tried using Javascript:
<script language="javascript" type="text/javascript" src="/Menu.ashx"></script>

But errors as the syntax of the HTML isnt right for JavaScript,

I have tried
<!-- #include virtual="/Menu.ashx" -->

There must be a really easy way.....I don't want to have to store it as a file to bring it in, I want it to be a HTML doc