How do we execute this link server side?

A

Adrienne

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=#FFFF
FF&tuck=aaa&sp=0&ft=4&ftt=1&iw=178&ih=198&gt=yes&hj=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?
 
P

paul dallaire

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
 
B

Bob Barrows [MVP]

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>

Bob Barrows
 
P

paul dallaire

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
 
B

Bob Barrows [MVP]

Bob Barrows said:
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
 
P

paul dallaire

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,045
Latest member
DRCM

Latest Threads

Top