Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old August 25th, 2006, 11:35 PM
2hawks
Guest
 
Posts: n/a
Default ASP variable in HTML frame target?

This is simpler than I am making it... all I want to do is build a url
for an html frame source from a string constant and a variable.

I want to

Response.Write "<Frame source=""bla.bla.asp?query=& aspVariable"" ...
etc>"

I can get it to open the bla.bla.com in the frame but the number and
sequence of quotes seem to be messing up the tail end of it

it is annoying becasue it is simple and I am close to it just seem to
be kicking it away when I almost get it to work...

ty

  #2  
Old August 25th, 2006, 11:55 PM
Peter
Guest
 
Posts: n/a
Default Re: ASP variable in HTML frame target?

"2hawks" <2Hawks@gmail.comwrote in news:1156545833.343686.131940
@m79g2000cwm.googlegroups.com:
Quote:
This is simpler than I am making it... all I want to do is build a url
for an html frame source from a string constant and a variable.
>
I want to
>
Response.Write "<Frame source=""bla.bla.asp?query=& aspVariable"" ...
etc>"
>
I can get it to open the bla.bla.com in the frame but the number and
sequence of quotes seem to be messing up the tail end of it
>
it is annoying becasue it is simple and I am close to it just seem to
be kicking it away when I almost get it to work...
>
ty
>
Response.Write
"<frame src=""bla.bla.asp?query=" & aspVariable & """ etc=""0"">"
  #3  
Old August 26th, 2006, 08:05 AM
Evertjan.
Guest
 
Posts: n/a
Default Re: ASP variable in HTML frame target?

Peter wrote on 26 aug 2006 in microsoft.public.inetserver.asp.general:
Quote:
"2hawks" <2Hawks@gmail.comwrote in news:1156545833.343686.131940
@m79g2000cwm.googlegroups.com:
>
Quote:
>This is simpler than I am making it... all I want to do is build a url
>for an html frame source from a string constant and a variable.
>>
>I want to
>>
>Response.Write "<Frame source=""bla.bla.asp?query=& aspVariable"" ...
>etc>"
>I can get it to open the bla.bla.com in the frame
You could not, because _source_ is incorrect.
Quote:
Quote:
>but the number and
>sequence of quotes seem to be messing up the tail end of it
>>
>it is annoying becasue it is simple and I am close to it just seem to
>be kicking it away when I almost get it to work...
>>
>
Response.Write
"<frame src=""bla.bla.asp?query=" & aspVariable & """ etc=""0"">"
>
1
I would use single quotes for the HTML:

Response.Write "<frame src='bla.bla.asp?query=" &_
aspVariable & "' etc='0'>"

2
same render effect, even better readable to my aging mind, has:

%>
<frame src='bla.bla.asp?query=<% = aspVariable %>' etc='x'>
<%

3
OT: I would prefer not to use frames at all.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
  #4  
Old August 27th, 2006, 09:35 PM
2hawks
Guest
 
Posts: n/a
Default Re: ASP variable in HTML frame target?

Yes frames are ridiculous...but I must work with what is there...
anyhow, thanks for the good advice. Cheers.

response.write "<FRAME SRC=""YADAYAD.COM?QUERY=" & aspVariable & "
Evertjan. wrote:
Quote:
Peter wrote on 26 aug 2006 in microsoft.public.inetserver.asp.general:
>
Quote:
"2hawks" <2Hawks@gmail.comwrote in news:1156545833.343686.131940
@m79g2000cwm.googlegroups.com:
Quote:
This is simpler than I am making it... all I want to do is build a url
for an html frame source from a string constant and a variable.
>
I want to
>
Response.Write "<Frame source=""bla.bla.asp?query=& aspVariable"" ...
etc>"
I can get it to open the bla.bla.com in the frame
>
You could not, because _source_ is incorrect.
>
Quote:
Quote:
but the number and
sequence of quotes seem to be messing up the tail end of it
>
it is annoying becasue it is simple and I am close to it just seem to
be kicking it away when I almost get it to work...
>
Response.Write
"<frame src=""bla.bla.asp?query=" & aspVariable & """ etc=""0"">"
>
1
I would use single quotes for the HTML:
>
Response.Write "<frame src='bla.bla.asp?query=" &_
aspVariable & "' etc='0'>"
>
2
same render effect, even better readable to my aging mind, has:
>
%>
<frame src='bla.bla.asp?query=<% = aspVariable %>' etc='x'>
<%
>
3
OT: I would prefer not to use frames at all.
>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,248 network members.