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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

blank space in Get URL anchor call

Status
Not open for further replies.

willbo

Programmer
Oct 12, 2000
24
US
hmmmmm
Im calling anchors in a site between html documents fine with anchors like River Wilde. But when I call a link from my flash map it puts a %20 in the space and screws up the anchor link.. so http:\\ wilde
..gets screwed up with river%20wilde, yet works fine from html to html..
any idea how to send the blank space in the get URL line??
thanks in advance AGAIN
 
The %20 is put into a URL when there is a space in the name; it's called URL encoding and a %20 is used to represent the space. To get rid of the %20, get rid of the space in the name (try using an underscore or something).

:)

PetitPal
 
right, well that would be easy, but ive indexed an entire set of html documents with anchors that have blank spaces in them... as they work fine between html documents. so i cant rightly go and change hundreds of spaces in anchors that are already setup.

SO there is NO WAY to pass a space in an Get URL??

and yet its NO PROBLEM between htmls? :(
 
how about putting a %20 into getURL? I don't know if it would work or not as I haven't tried it; the html to html thing works because html normally url encodes stuff before it sends it...

=)

PetitPal.
 
haha yeah that was the first thing i tried.. sounded like a good idea at the time :)
im just bummed that i was lead on that spaces would work since they work fine between html's. now im screwed.
 
I don't know whether this will work or not; but try using variable name in the getURL url parameter, instead of typing it; that may deal with the space (but I don't know... I'll keep thinking!)

=)

PetitPal.
 
hmmm pass a variable in the Get URL line whos value is like anchor
?

is that passed as an expression?

i realized what ill probably have to do is make new anchors for all the dual word links from the map.. link em to just the first word, since i cant rightly go and change ALL the anchors..
oh btw the site im working on is
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top