Hi!

This is more of a question than a bug report, but it seems to me that there could be an issue with a question mark in the url for an outside page. I used a link in the form of
<a href="http://maps.google.de/maps?q=25,+Neie+Wee,+Schieren,+Luxembourg?width=800&height=600&iframe=true" class="colorbox-load">Map</a>

and only got the response "request unsuccessful". On the other hand colorbox did load correctly, when I used the link without the address:
<a href="http://maps.google.de/?width=800&height=600&iframe=true" class="colorbox-load">Map</a>

I solved the issue by putting the options for colorbox in a javascript-snippet and now URLs like
<a href="http://maps.google.de/maps?q=25,+Neie+Wee,+Schieren,+Luxembourg" class="colorbox-load">Map</a>

are loaded correctly. It seems strange enough to let you know.

Comments

frjo’s picture

Category: bug » support

The question mark in a url is there to separate the path from the query so you never have more than one.

To separate multiple queries you use an ampersand (&).

This is wrong:

<a href="http://maps.google.de/maps?q=25,+Neie+Wee,+Schieren,+Luxembourg?width=800&height=600&iframe=true" class="colorbox-load">Map</a>

This is right:

<a href="http://maps.google.de/maps?q=25,+Neie+Wee,+Schieren,+Luxembourg&width=800&height=600&iframe=true" class="colorbox-load">Map</a>
patrickx’s picture

Ok. Thanks.

frjo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

3rdLOF’s picture

This solution of adding the "&" only is not working in my case. Doing this:

<a href="https://www.xxxxxxxxxxxxx.net?CustomerIDFK=43269&LinkAction=PAYAPPEAL&width=800&height=600&&iframe=true" class="colorbox-load" id="link_button" >Pay / Appeal a Ticket <a>

Just triggers a regular link action. Removing the ID, with or without iFrame...same results.

3rdLOF’s picture

Issue summary: View changes

needed to put the links in tags