Scripty Lightbox

Have a couple of Scripty lightbox questions:

Can Scripty Lightbox only link to image files? I’m in the process of setting up a website for a restaurant, and wanted to have the menu pop up in the lightbox, but perhaps also be a pdf file that could be downloaded. I notice that if I link to a pdf nothing happens. So if that is not possible, is there a way to build a link into the lightbox so someone could then download the file?

And if none of the above are possible, is there a way to have the file in the lightbox be an html item, so that one, my client could edit the menu, say using webyep or better build the link to the pdf into it.

I know I could just create another page to do all this, but kind of like the lightbox effect.

Here is the link to the site (just a splash page right now, but if you click on the “sample menu” it will bring up the lightbox.) http://www.tabouligrill.com/

Jeff


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I was able to use lightbox to link to an html file within my site, but with mixed results. I created the link as per usual, and then applied the lightbox action.
I say mixed results becuase, the html text on the page (the lightbox page) was badly distorted when opened via lightbox. I had to change the text on the page to graphic text to make it readable.

If you go here, http://www.frontrangeweb.com/ and then click the “current featured project, The Raven’s Gift” link, lightbox opens an html page…but as I said I had to change the text to graphic text to make it readable.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

When ScriptyLightbox opens a local page (not a page on a remote site)
it expects that page to be a fragment – just a bit of HTML without
the HEAD and BODY tag – rather than a full page. When it pulls in a
remote page, like Apple.com or something like that, it places an
iframe on the overlay layer and uses that to access the remote site
for all content. I haven’t delved into this enough to find a way to
fix it, the developer of Lightwindow (the JavaScript library that
drives this effect) has effectively abandoned that code and I haven’t
found another open-source script that does as much as Lightwindow to
replace it.

Walter

On Sep 8, 2009, at 4:52 PM, Rich Gannon wrote:

I was able to use lightbox to link to an html file within my site,
but with mixed results. I created the link as per usual, and then
applied the lightbox action.
I say mixed results becuase, the html text on the page (the lightbox
page) was badly distorted when opened via lightbox. I had to
change the text on the page to graphic text to make it readable.

If you go here, http://www.frontrangeweb.com/ and then click the
“current featured project, The Raven’s Gift” link, lightbox opens an
html page…but as I said I had to change the text to graphic text
to make it readable.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walt

One other question

Tried to enlarge the menu I want in lightbox, change dimensions in Photoshop to 1025 x 800 pixels, but the lightbox seems to be coming up the same size. I have no dimensions in the actions panel. Is there a built in size limit?

Jeff


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

It automatically discerns the available window size and scales images
to fit within it (allowing a bit of padding around that). If you make
your browser window larger and reload the page, you will see larger
photos.

Walter

On Sep 8, 2009, at 7:59 PM, Jeffrey Stern wrote:

Walt

One other question

Tried to enlarge the menu I want in lightbox, change dimensions in
Photoshop to 1025 x 800 pixels, but the lightbox seems to be coming
up the same size. I have no dimensions in the actions panel. Is
there a built in size limit?

Jeff


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Jeff,
I am also trying to use scriptylightbox on a pdf. I looked at your site. Seems like you got something working. How did you implement the Menu Lightbox?
Thanks Jan

On 8 Sep 2009, 8:25 pm, Jeffrey Stern wrote:

Have a couple of Scripty lightbox questions:

Can Scripty Lightbox only link to image files? I’m in the process of setting up a website for a restaurant, and wanted to have the menu pop up in the lightbox, but perhaps also be a pdf file that could be downloaded. I notice that if I link to a pdf nothing happens. So if that is not possible, is there a way to build a link into the lightbox so someone could then download the file?

And if none of the above are possible, is there a way to have the file in the lightbox be an html item, so that one, my client could edit the menu, say using webyep or better build the link to the pdf into it.

I know I could just create another page to do all this, but kind of like the lightbox effect.

Here is the link to the site (just a splash page right now, but if you click on the “sample menu” it will bring up the lightbox.) http://www.tabouligrill.com/

Jeff


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walt, thanks for the tip. You inadvertently answered a question I posted a few weeks ago that went unanswered about embedding a video from another site into a ScriptyLightbox window. After editing out everything but the embed info, it works perfectly.

When ScriptyLightbox opens a local page (not a page on a remote site) it expects that page to be a fragment — just a bit of HTML without the HEAD and BODY tag — rather than a full page.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options