Closed (fixed)
Project:
Colorbox
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2011 at 14:57 UTC
Updated:
22 Feb 2011 at 15:10 UTC
Hi,
I'm trying to open a 'shared' google doc inside a colorbox popup, but I'm running into a problem.
The url for the Google Doc is: https://spreadsheets.google.com/pub?key=0AkmA2r5iR_LcdC1ZOEJWVUw0T0lFVWluTlBoalVTOXc&hl=en&output=html
if I now try to add ?width=x&height=x&iframe=true
I get an error, because the google doc doesn't like the additional parameters in the url.
Is there a way that I can do this?
Thanks
Comments
Comment #1
frjo commentedI just tested the following link in my local dev environment and it seems to work well:
You need to check "Enable Colorbox load" in the Colorbox settings.
Also observe that a URL query starts with a "?" and then you use "&" between each value.
Comment #2
gmak commentedI am now officially putting on my 'dunce' cap. Of course, I was putting another '?' before the addition of the colorbox parameters, even though the google url had already inserted this. So, instead of adding another '?', I add an '&' and it works.
Thanks frjo - sometimes I just need someone to point out the obvious.
Comment #3
frjo commentedGlad that you got it working!