Viewing Cannot set linked file to open in new window
Cannot set linked file to open in new window
|
User: EdMcK 12 years ago
|
|
| I'm trying to link a PDF file and have it open in a new window. Looks like this can't be done, but if anyone has found a way to do it I'd sure like to know how to make it happen. Thanks! | |
|
User: Roddy 12 years ago
|
|
|
Hmmm, I see your problem. The "Link to: A File" has no box to check for opening in a new window. I have put in a request for this feature but, in the meantime, you can use an HTML Snippet. Drag the PDF into Assets, control click it and select "Copy Relative File Path". Paste the contents of your clipboard (Command V) to replace - File Path To PDF - in the code shown below... <a href="File Path To PDF" target="_blank">Your Link Text</a> ... and enter your own choice of text to replace - Your Link Text. Drag an HTML Snippet onto the page and paste in your code. This will result in a link which will open the file in a new window due to the addition of - target="_blank". This link will not have any styles and these would need to be added in the Head Code box since it is not possible to style rollovers etc using an inline style. Let me know if you need help with the CSS and if you want to include the link in a styled paragraph. ------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: EdMcK 12 years ago
|
|
| Thank you, Roddy. This would likely do the trick, but with over 1,000 file links on the page I'm working with, this is not the solution I was hoping for. Perhaps future releases of EverWeb will feature an "Open in New Window" check box for file links. | |
|
User: Roddy 12 years ago
|
|
|
I would imagine that the exclusion of this feature is just an oversight. I don't recall that anybody else has even mentioned it before you did.
------------------------------- Roddy Website: http://everwebwidgets.com Contact: http://everwebwidgets.com/ewWidgets-home/contact.html NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own. |
|
|
User: Paul-RAGESW 12 years ago
|
|
|
It's something we can add. We will be debuting a feature request system soon that will help people submit features they want.
------------------------------- Paul EverWeb Developer |
|
| Post Reply |
| You must login or signup to post. |
