Setting Universal Link Properties
Let's say I have a link to an MP3. Clicking on it opens a new window with the player active. I can go into link properties and muck around with the target to get it to be a pop-up window of a certain dimension showing up at a certain location. Is there a way to make these properties universal for a certain type of link, or with a certain name, other than going into each link separately and setting them all manually?
Are you adding these MP3 links using the Content block?
This can be done by creating a custom template for the Content block. The custom template would look look through the content for any links to MP3 files, then perform some operation on those links.
Here is an example of how to do this:
What are the exact operations you want to perform on each MP3 file link?
What I want to do with the MP3 link is to have it become a pop-up window with the ability to be resized and relocated. Width at 500, height at 100, Left Position (which I assume means "position from the left edge" at 1200, and Top Position at 700. This way the users can still see most of the page they were on.
I would do something similar for PDF files, with a different size, position, and probably an added scroll bar.
Your reply is very encouraging. Thank you.
If you are using concrete5 version 8, you can do this manually in the rich text editor.
I attached a screenshot showing where to manually set the popup window options.