Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > ASP variable in HTML frame target?

Reply
Thread Tools

ASP variable in HTML frame target?

 
 
2hawks
Guest
Posts: n/a
 
      08-25-2006
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

 
Reply With Quote
 
 
 
 
Peter
Guest
Posts: n/a
 
      08-25-2006
"2hawks" <> wrote in news:1156545833.343686.131940
@m79g2000cwm.googlegroups.com:

> 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"">"
 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      08-26-2006
Peter wrote on 26 aug 2006 in microsoft.public.inetserver.asp.general:

> "2hawks" <> wrote in news:1156545833.343686.131940
> @m79g2000cwm.googlegroups.com:
>
>> 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.

>> 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)
 
Reply With Quote
 
2hawks
Guest
Posts: n/a
 
      08-27-2006
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:
> Peter wrote on 26 aug 2006 in microsoft.public.inetserver.asp.general:
>
> > "2hawks" <> wrote in news:1156545833.343686.131940
> > @m79g2000cwm.googlegroups.com:
> >
> >> 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.
>
> >> 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)


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Variable variable name" or "variable lvalue" mfglinux Python 11 09-12-2007 03:08 AM
Trying to access a JavaScript variable in one frame from another frame. Rob Javascript 11 05-17-2006 04:25 PM
Referring to a frame's content from another frame Microsoft ASP .Net 3 10-04-2004 06:35 AM
How do I scope a variable if the variable name contains a variable? David Filmer Perl Misc 19 05-21-2004 03:55 PM
Manipulating control in one frame from another frame, how? Søren M. Olesen ASP .Net 0 11-13-2003 05:37 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57