Ask a Question related to ASP, Design and Development.
-
jordan #1
Including Static Content
I'm using the Server.Execute method to include a static page inside a
dynamic database call. This static page is not a valid HTML page (i.e.
lacking <body>,<head>, etc. elements), but I'm pulling it into the dynamic
page just to give the content an upgrade in presentation, including images.
The problem is that there is no way to have relative URLs in the content
page, so all the image src's are wrong. Is there a better way to include
static content like this, or a way to alter the contents on the static page
prior to running Server.Execute (I could parse the file via the
FileSystemObject, but I'm hoping not to do that)?
Thanks, j
jordan Guest
-
#39713 [NEW]: Static variables defined in static methods duplicated in derived classes
From: paul at digitalbacon dot us Operating system: Linux, Mac OS X 10.4, Windows XP PHP version: 5.2.0 PHP Bug Type: ... -
#39048 [NEW]: Static variables and instantiated classes. private static doesn't work.
From: matti at nitro dot fi Operating system: * PHP version: 5.1.6 PHP Bug Type: Scripting Engine problem Bug description: ... -
#38783 [NEW]: Call to non-static as static E_STRICT thrown when error reporting set to E_ALL
From: dmb27 at cornell dot edu Operating system: Redhat AS 4 PHP version: 5.1.6 PHP Bug Type: Class/Object related Bug... -
combining static & dynamic content
Since the Description is not in the database table, an overall loop over the interest group(IG) records will not work too well, but it would be good... -
forms authentication: redirects for *.aspx pages only, not for other extensions, not for static content
Hi! I am using something like this in web.config : <authentication mode="Forms"> <forms name=".MSMOBILES_COM___COOKIE" loginUrl="login.aspx"... -
Ray at #2
Re: Including Static Content
Can't you just use paths that are relative from the root of your site?
<img src="/images/file.gif">
It won't matter if you put that in a page in the root of the site or in a
page that is nine directories deep then.
Ray at work
"jordan" <jfritts@learn.colostate.edu> wrote in message
news:%23OfwsEmkDHA.2528@TK2MSFTNGP12.phx.gbl...images.> I'm using the Server.Execute method to include a static page inside a
> dynamic database call. This static page is not a valid HTML page (i.e.
> lacking <body>,<head>, etc. elements), but I'm pulling it into the dynamic
> page just to give the content an upgrade in presentation, includingpage>
> The problem is that there is no way to have relative URLs in the content
> page, so all the image src's are wrong. Is there a better way to include
> static content like this, or a way to alter the contents on the static> prior to running Server.Execute (I could parse the file via the
> FileSystemObject, but I'm hoping not to do that)?
>
> Thanks, j
>
>
Ray at Guest
-
jordan #3
Re: Including Static Content
Yes, *I* can, but the persons who will be responsible for the content won't
be. They will be editing the files locally in pushing them up to me. They
can be told to replicate the directory structure too, which I will ask that
they do, but I'm also looking for alternatives.
j
"Ray at <%=sLocation%>" <myfirstname at lane34 dot com> wrote in message
news:OBS2GHmkDHA.2488@TK2MSFTNGP12.phx.gbl...dynamic> Can't you just use paths that are relative from the root of your site?
>
> <img src="/images/file.gif">
>
> It won't matter if you put that in a page in the root of the site or in a
> page that is nine directories deep then.
>
> Ray at work
>
> "jordan" <jfritts@learn.colostate.edu> wrote in message
> news:%23OfwsEmkDHA.2528@TK2MSFTNGP12.phx.gbl...> > I'm using the Server.Execute method to include a static page inside a
> > dynamic database call. This static page is not a valid HTML page (i.e.
> > lacking <body>,<head>, etc. elements), but I'm pulling it into the> images.> > page just to give the content an upgrade in presentation, including> page> >
> > The problem is that there is no way to have relative URLs in the content
> > page, so all the image src's are wrong. Is there a better way to include
> > static content like this, or a way to alter the contents on the static>> > prior to running Server.Execute (I could parse the file via the
> > FileSystemObject, but I'm hoping not to do that)?
> >
> > Thanks, j
> >
> >
>
jordan Guest



Reply With Quote

