[Pro] best way to get a 'popup' image

I have a html text list of products that I want to popup a window showing an image when moused over or clicked. I’d originally thought of a text link to PDF but that opens a new tab in safari (the PDFs are physically large so only show a small portion in the window) and I’d rather have a floating window type of affair that shows the whole image. Is there an action that would give me this type of effect or alternative?

All the ‘images’ are currently PDFs of signs that are no smaller than 1m square, though I could convert them to raster format for the purposes of this exercise.


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

How about scripty lightbox?

http://www.actionsforge.com/actions/view/215-scriptylightbox2

Hmm…not sure if it will work with PDFs though. Might be worth a try.


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

Neil, I’m confused – do you want an image like a preview image to pop-up or
the actual PDF document to pop-up?

Just wondering.


Ernie Simpson

On Fri, Sep 7, 2012 at 10:27 AM, Rich Gannon email@hidden wrote:

How about scripty lightbox?

ScriptyLightbox2 - ActionsForge

Hmm…not sure if it will work with PDFs though. Might be worth a try.


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

Thanks Rich, I’ll have a look.

Ernie, I have about 200 PDFs that I want to be able to preview, but they are all physically large. Ideally I want a something like a 300 x 300px window to appear even if it means converting all the PDFs into a raster format.


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

Why not use PS (or similar) to create jpegs at a suitable size.

You could automate this in PS

David


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

That’s exactly what I’d have to do David, and I haven’t looked at scripty lightbox yet, but how to display them as separate windows is the problem.

Neil


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

Target show/hide for one - it really depends if you want the visitor to be able to read all the content or just see a visualisation.

D


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

For some reason I’m having a problem setting up the scripty lightbox. It might sound like a daft question but how do I link html text to a graphic (as indicated in the scripty instructions)?

The text is in a table (in different cells) and I’m applying the scripty action to each cell and trying to link the text to a graphic.


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

Are you able to apply the Action to a table cell? I’m not sure how that’s possible, but I do know it isn’t going to work. Try applying the Action to the outermost box of the table (this will only work if the table is itself a layer item). Click and drag your cursor around one corner of the table so the 8 handles light up on the edges and corners. When you have that selection, apply the Action to the table. (Remove it from any table cell you have managed to apply it to.) Then make a normal link in the cell to the image you want to have appear. If you’re using ScriptyLightbox (the original version, not ScriptyLightbox2) then you want to use the Link to File Action to create the link to your image, since that will do double-duty – upload the file to your server and write the link code. The SL Action will cause all of the links inside whatever element it is applied to to appear in the lightbox, rather than behaving as normal. This means that if you apply it to the table (which really ends up applying it to the DIV that positions the table on the screen) all of the links inside that table – in each cell – will be extended to have the lightbox behavior.

Walter

On Sep 11, 2012, at 5:06 AM, neil.west1 wrote:

For some reason I’m having a problem setting up the scripty lightbox. It might sound like a daft question but how do I link html text to a graphic (as indicated in the scripty instructions)?

The text is in a table (in different cells) and I’m applying the scripty action to each cell and trying to link the text to a graphic.


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

Thanks Walter, I’ll try that. The action can be applied to a cell but you’re right, it doesn’t appear to work!

Neil


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

I’ve applied the action as instructed by I’m getting a javascript error. I’ve figured it’s down to the use of the ‘text link style’ action that I’m also using on the table. Removing this action enables scripty to work correctly but how do I colour my links (different from the page links) without the action?


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

Also, the page is set up using the box model, but with the table now being a layer item, how will the expanding table at the top of the page ‘push’ down the html content below it?

Here’s the page: http://heatherbankprint.co.uk/network-rail/standard-board-selector.html

Is there are an alternative image display function that will allow the table to stay within the html structure?


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

I think I mislead you earlier about applying the Action to an inline table. Just tested the following:

  1. Create an empty HTML box. With a text cursor flashing inside it, choose Insert / Table from the main menu.
  2. Double-click into one of the cells of the table and choose Insert / Action Item / Text Link to File. Configure your link to the file you want to have pop up.
  3. Very carefully click on the outer edge of the inline table, so all of its corners light up with handles. Apply the ScriptyLightbox Action to the inline table. (Alternatively, you could also apply it to the outer HTML box that you created in step 1, no difference except one of scope – all links contained in the HTML box would gain the lightbox behavior.)
  4. Configure the Action if needed (only set media size for links to Flash or QuickTime movies).

To style the links uniquely, click once on the parent element of the link and open the Links segment of the Style tab in the Inspector. If you don’t see that tab or segment, look further up the nesting hierarchy. Some parent element will allow this styling. If you need to style links in a single cell of a table, for example, you will want to apply the AddSelector Action to the cell, choose TD from the Tag picker, and either give it a page-unique ID or a Class name. Then you can use the Tag-Only Style technique to create a CSS rule that will only apply to links in that cell (ID) or cells (class).

#myID a {
	color: red;
	text-decoration: none;
	background-color: black;
}

#myID a:hover {
	color: black;
	background-color: yellow;
}

Or whatever your tastes run to.

Walter

On Sep 20, 2012, at 6:12 AM, neil.west1 wrote:

Also, the page is set up using the box model, but with the table now being a layer item, how will the expanding table at the top of the page ‘push’ down the html content below it?

Here’s the page: http://heatherbankprint.co.uk/network-rail/standard-board-selector.html

Is there are an alternative image display function that will allow the table to stay within the html structure?


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