Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using PARAM NAME

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm trying to pass a URL to a flash (.swf) banner by using the PARAM NAME function. Everything seems to be fine other than the fact that if the URL has a & in it, it would not read the rest of the url. So forexample if it is:

<PARAM NAME=movie VALUE=&quot;/test/banner_test.swf?clickTAG=
it will only actually get
how can i make it so it reads the & and the characters past that too. Any help is appreciated.
 
hello
if u r just using javascript then u can try this bit of code but try on netscape as it only works on netscape not on ie

<html>
<head>
<script language=&quot;javascript&quot;>
clickTAG=&quot;function abc()
{
mylink=clickTAG;
alert(clickTAG)
}
</script>
</head>
<body onload=&quot;abc()&quot;>
<a href=&quot;&{mylink};&quot;>hello</a>
</body>
</html>

javascript entities

but if u r using anything like asp then try using
server.mappath or
server.urlencode

may be this will help u
from
Rishu

let me know if it works
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top