Project

General

Profile

Actions

Feature #16158

closed

popup link should allow "show scrollbar [yes|no]" - selection

Added by Felix Griesser over 18 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2006-05-19
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

When I want to open a popup link it should also be possible to select if scrollbars should be shown or not.
You never know what resolution the client is using nor you know if the content changes.

(issue imported from #M3514)

Actions #1

Updated by Martin Kutschker over 18 years ago

Where do you want this feature? For Typoscript (link configuration)? In the BE?

Anyway, I think that it makes litte sense to makeonly one window-open parameter available.

Actions #2

Updated by Felix Griesser over 18 years ago

Thanks Martin, for your fast reply - and sorry I've been to short in my first post here :)

Imo It would be a nice feature when it would be possible to add these window.open() specs by typoscript like the popup-selector or target-selector to enable/disable them.
In the backend, when enabled, a selection would be nice, like "enable vertical scrollbar" and "enable horizonal scrollbar".

Of course it's a great idea to add even more of those window.open specs (like - window resizeable [y/n], and others like statusbar, titlebar, toobar, location (y/n) as left and top (px or percent).

As you wrote it makes little sense to make only one parameter available - but that IS what we have right now since "height" and "width" are the only parameters available yet.
In my point of view scrollbars is the most needed feature. Others may make sense, too.
Maybe there is another way to solve this (i.e. by link configuration)? I could not find any way right now to configure the scrollbars. Google takes me with "+scrollbar +rte" to a german thread which suggests KJ: Extended TYPO3 Links - but it seems not to work with typo3 v4.0

Actions #3

Updated by Stanislas Rolland almost 17 years ago

In your TS template, you may set:

lib.parseFunc.tags.link.typolink.JSwindow_params = left=100,top=100,location=yes,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no
lib.parseFunc_RTE.tags.link.typolink.JSwindow_params < lib.parseFunc.tags.link.typolink.JSwindow_params
tt_content.image.20.1.imageLinkWrap.typolink.JSwindow_params < lib.parseFunc.tags.link.typolink.JSwindow_params
tt_content.textpic.20.1.imageLinkWrap.typolink.JSwindow_params < lib.parseFunc.tags.link.typolink.JSwindow_params

Then all popup windows to which the template applies will be resizable and will have scrollbars.

Actions #4

Updated by Stanislas Rolland almost 17 years ago

I don't think one would want the authors to change those properties for each individual popup window. Setting the properties of popups through TS template seems sufficient.

Actions

Also available in: Atom PDF