By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,763 Members | 1,641 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,763 IT Pros & Developers. It's quick & easy.

How do we execute this link server side?

P: n/a
HI! I want to execute a link witch is in JavaScript, How do we execute this
in asp server side if possible?

Basically I don't want anyone to see this link in the code view.

this is the link code. below---------------

<script TYPE="text/JavaScript" LANGUAGE="JavaScript"
src='http://www.site1.com/ffff/jjjgtr.php?a=blahlablah&bgcolor=%23FFFFFF&tuck=aaa &sp=0&ft=4&ftt=1&iw=178&ih=198&gt=yes&hj=rn&src=ye s&nt=no'>
</script>

Thanks in advance :)

Jul 22 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
opps. sorry about this repleat

"paul dallaire" <pa***********@sympatico.ca> wrote in message
news:uE*************@TK2MSFTNGP10.phx.gbl...
HI! I want to execute a link witch is in JavaScript, How do we execute
this
in asp server side if possible?

Basically I don't want anyone to see this link in the code view.

this is the link code. below---------------

<script TYPE="text/JavaScript" LANGUAGE="JavaScript"

src='http://www.site1.com/ffff/jjjgtr.php?a=blahlablah&bgcolor=%23FFFFFF&tuck=aaa &sp=0&ft=4&ftt=1&iw=178&ih=198&gt=yes&hj=rn&src=ye s&nt=no'>
</script>

Thanks in advance :)

Jul 22 '05 #2

P: n/a
Gazing into my crystal ball I observed "paul dallaire"
<pa***********@sympatico.ca> writing in
news:uE*************@TK2MSFTNGP10.phx.gbl:
HI! I want to execute a link witch is in JavaScript, How do we execute
this in asp server side if possible?

Basically I don't want anyone to see this link in the code view.

this is the link code. below---------------

<script TYPE="text/JavaScript" LANGUAGE="JavaScript"
src='http://www.site1.com/ffff/jjjgtr.php?a=blahlablah&bgcolor=%23FFFF
FF&tuck=aaa&sp=0&ft=4&ftt=1&iw=178&ih=198&gt=yes&h j=rn&src=yes&nt=no'>
</script>

Thanks in advance :)


That does not look like a link to me, it looks like an external javascript.
What does the javascript do?

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #3

P: n/a
HI! Thanks for response. the script links to a server which in turns then
displays images according to the parameters that is passed. there is also a
username in the form of text in the parameters passed. but the link looks as
is. ( with all user stuff changed of coarse and I false link :) ).

this script is saved in a page called whatever.htm
its called from within an iframe .. the code is below..

<tr>
<td height="175" colspan="3" class="Ctemppicpad"></li>
<iframe src="whatever.htm" name="contentFRM" id="contentFRM"
scrolling="Yes" marginwidth="0" marginheight="0"></iframe>
</tr>

So the iframe calls the whatever.htm file and inserts its content into the
iframe. The content comes from that link to the remote server ( The
images.).

Paul



"Adrienne" <ar********@sbcglobal.net> wrote in message
news:Xn****************************@207.115.63.158 ...
Gazing into my crystal ball I observed "paul dallaire"
<pa***********@sympatico.ca> writing in
news:uE*************@TK2MSFTNGP10.phx.gbl:
HI! I want to execute a link witch is in JavaScript, How do we execute
this in asp server side if possible?

Basically I don't want anyone to see this link in the code view.

this is the link code. below---------------

<script TYPE="text/JavaScript" LANGUAGE="JavaScript"
src='http://www.site1.com/ffff/jjjgtr.php?a=blahlablah&bgcolor=%23FFFF
FF&tuck=aaa&sp=0&ft=4&ftt=1&iw=178&ih=198&gt=yes&h j=rn&src=yes&nt=no'>
</script>

Thanks in advance :)


That does not look like a link to me, it looks like an external
javascript.
What does the javascript do?

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Jul 22 '05 #4

P: n/a
HI! Its ok, I don't understand it enough to properly explain it either. I
will try a few suggestions and look it up as well to further understand what
I need to accomplish.. :)

Paul

"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:u9*************@TK2MSFTNGP09.phx.gbl...
"Bob Barrows [MVP]" <re******@NOyahoo.SPAMcom> wrote in message
news:eo**************@tk2msftngp13.phx.gbl...

paul dallaire wrote:
>> HI! I want to execute a link witch is in JavaScript, How do we
>> execute this in asp server side if possible?
>>
>> Basically I don't want anyone to see this link in the code view.
>>
>> this is the link code. below---------------
>>
>> <script TYPE="text/JavaScript" LANGUAGE="JavaScript"
>>
>> src='http://www.site1.com/ffff/jjjgtr.php?a=blahlablah&bgcolor=%23FFFF
>> FF&tuck=aaa&sp=0&ft=4&ftt=1&iw=178&ih=198&gt=yes&h j=rn&src=yes&nt=no'>
>> </script> Thanks in advance :) HI! Thanks for response. the script links to a server which in turns
then displays images according to the parameters that is passed.
there is also a username in the form of text in the parameters
passed. but the link looks as is. ( with all user stuff changed of
coarse and I false link :) ).
this script is saved in a page called whatever.htm
its called from within an iframe .. the code is below..

<tr>
<td height="175" colspan="3" class="Ctemppicpad"></li>
<iframe src="whatever.htm" name="contentFRM" id="contentFRM"
scrolling="Yes" marginwidth="0" marginheight="0"></iframe>
</tr>

So the iframe calls the whatever.htm file and inserts its content
into the iframe. The content comes from that link to the remote
server ( The images.).

Paul
I don't get it. have you changed the question? You were originally
talking about a script element's src attribute. Now you're talking
about an iframe's src ...?

In this case, you would simply do:
<tr>
<td height="175" colspan="3" class="Ctemppicpad"></li>
<iframe name="contentFRM" id="contentFRM"
scrolling="Yes" marginwidth="0" marginheight="0">
<!--#include file="whatever.htm-->
</iframe>
</tr>

HI! thanks for the response, the file whatever.htm is the one that
hold the content that I want to mask or hide from the user.
Paul


Sorry, but that still leaves me confused. I take it the server-side
include I showed you doesn't fit the bill ... ?

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"

Jul 22 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.