Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / March 2008

Tip: Looking for answers? Try searching our database.

text character "space" converts into "%20" which kills my link

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
debilunq - 16 Mar 2008 22:57 GMT
I'm trying to set up links that open a new window while staying in my
website.  I used a link with spaces in it, but the spaces convert to %20.  I
tried changing them by hand but they just convert back to %20.  I tried to
just eliminate the spaces, but the link still won't work.  Any ideas how to
overide whatever causes the spaces to change?
DavidF - 17 Mar 2008 01:05 GMT
Don't use spaces in you links. Don't use spaces or anything other than a
dash or an underscore in file names that you are going to use on the
internet. And I recommend that you don't use underscores, as when the link
is underlined, you can't tell if there is a space or an underscore, which
leads to more errors. Also keep in mind that Unix based servers are case
sensitive and most "experts" recommend using only lower case. So at least be
very consistent in the way you go from lower to upper case in file names. It
is easy to mess up.

If you are linking to images, rename the image file names, rewrite your
links, and chances are your problems will go away. If not, provide the links
here and we'll take a look.

DavidF

> I'm trying to set up links that open a new window while staying in my
> website.  I used a link with spaces in it, but the spaces convert to %20.
[quoted text clipped - 3 lines]
> to
> overide whatever causes the spaces to change?
debilunq - 17 Mar 2008 14:40 GMT
DavidF, thanks for your help.  I am trying to use a solution paper in the
"Help" section of Publisher called "Answer Box: Create a hyperlink in
Publisher that opens in a new window".  I'm not sophisticated enough, yet, to
write my own codes, so I am trying to cut and paste hers.  It just isn't
working.  I've tried removing all of the spaces, both in the HTML code
fragment and in the hyperlinks, but that didn't resolve it.  I'm out of
tricks to try to troubleshoot the code.  Maybe this "Answer Box" just isn't
correct.  

> Don't use spaces in you links. Don't use spaces or anything other than a
> dash or an underscore in file names that you are going to use on the
[quoted text clipped - 8 lines]
> links, and chances are your problems will go away. If not, provide the links
> here and we'll take a look.
DavidF - 17 Mar 2008 16:34 GMT
In the future please be more specific. I am assuming that you are
referencing, the same code that is discussed in the next post.

Reference:
http://office.microsoft.com/en-us/publisher/HA011587451033.aspx
describes two methods.

And if you choose to use the ECMAScript code approach note that the first
javascript code snippet is incorrect on the website. Use this instead:

<script language="JavaScript" type="text/javascript">function Show(Url,
Name, Features) { window.open(Url, Name, Features); }</script>

DavidF

> DavidF, thanks for your help.  I am trying to use a solution paper in the
> "Help" section of Publisher called "Answer Box: Create a hyperlink in
[quoted text clipped - 23 lines]
>> links
>> here and we'll take a look.

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.