{{=XML(expand_one(
'http://www.official-notebook.com/notebook/default/download/'+str(update[
'file']),cache.ram('mycache',lambda:dict(),3600)))}}

update['file'] is a file uploaded to my app with a .docx extension which 
means that it's supposed to open in a google docs viewer. That works fine, 
but the width and height are fixed and I can't seem to find where to change 
it. I tried altering the values in the autolinks.py file but i saw no 
change, I put a div around the xml expand_one code above in hopes of it 
affecting the rendered iframe, nope! that didn't work too (seems obvious). 
not sure exactly where to make the uploaded files render in a frame size 
specified by me or change the size of the youtube embeds... Please help

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to