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

Quick question about & 2

Status
Not open for further replies.
Thank you very much, I'll give you a star as soon as I test it.
 
Upon reading, I think I'd practically forgotten to backspace all the & parts! leaving traces everywhere. The idea is that rather to use "&", at their places, use instead "&". I mess all up in the editing of the line, so I won't relist the line!
 
>& and & are equivalent ...

The op's observation of error is a fact. To render the thing in controls under the webpage, it equivalence is no longer.
 
The original poster posted a URL with a mixture of properly encoded [tt]&[/tt]s and plain [tt]&[/tt] signs:

<shortcut target="\Windows\iexplore.exe" args="[green]&amp;[/green]near=FL[red]&[/red]dm=none[red]&[/red]site=local[green]&amp;[/green]hl=en[green]&amp;[/green]lr=[red]&[/red];ie=ISO-8859-1[red]&[/red]btnG=Search" iconfile="\storage\glicon.ico"/>

That's what's causing his/her problems. You can encode those [tt]&[/tt] signs with either more [tt]&amp;[/tt]s or [tt]&#38;[/tt]s, or a mixture of the two if you prefer - they're equivalent.

Actaully, as I observed above, you can drop a lot of extraneous parameters in that Google URL to get this:
Code:
<shortcut target="\Windows\iexplore.exe" args="[URL unfurl="true"]http://www.google.com/xhtml?near=FL&amp;site=local"[/URL] iconfile="\storage\glicon.ico"/>

-- Chris Hunt
Webmaster & Tragedian
Extra Connections Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top