When tinymce uses a new window to open a hyperlink, can you just click to jump instead of ctrl key and click? - hyperlink

In tinymce, I want to click a hyperlink to jump to a new window without adding ctrl. Is there any way?

Related

youtube right click menu

I just logged into youtube and found out that they replaced my context right click menu with their own. If I want to use regular one, I have to double click my right mouse button.
Is there any way to turn that off? I just want my old regular right click context menu

"Right Click" in Selenium IDE to bring up the Context Menu

How can you bring up the context menu (as if you were right clicking on an element on a page) so you can see the context menu in the browser?
I see the contextMenu and contextMenuAt commands are available, but they always seem to pass the "T" flag so that the link opens in a new tab. I don't want that. I want the menu to come up so I can simulate a 'k' keypress and have the file download to my desktop.
How do you pass a switch/param to contextMenu and/or contextMenuAt so that you can actually do more than just open whatever in a new tab?

imacros changing focus to second firefox window

We are trying to create a script that can click on a button that appears in a second window (not a tab in the same window) but do not seem to be able to get iMacros to change its focus to a new window.
Can iMacros cross browser windows in a single script?
The webpage flow is:
- browser window directed to a URL
- Click a button in that page
- a new window is opened
- click a button in that window
You can try to make the browser show this pop-up in a new tab of the same window.
Let's suppose that your button html code looks like this:
<button id="popupbut" onclick="window.open('http://popupUrlHere', '', 'width=300,height=300,left=50,top=50,menubar=no');">New window</button>
So, here is a macro to do the above mentioned thing:
SET !EXTRACT_TEST_POPUP NO
TAG XPATH="id('popupbut')" EXTRACT=HTM
SET popupUrl EVAL("'{{!EXTRACT}}'.match(/(http:.+?)['"]/)[1];")
TAB OPEN
TAB T=2
URL GOTO={{popupUrl}}
I think this direction should be right.

open popup through Link in Vaadin

I am Using Vaadin Framework in my application. I want to open a popup screen using Vaadin Link. I know to open popup thrugh button but I need to open popup through Link. Can anybody help, this is my code:
Link link1 = new Link(String.valueOf(rs.getInt(1)), new ExternalResource("#"));
_reportTable.getItem(dashboardDataRowId)
.getItemProperty("todo").setValue(link1);
As explained in in Book of Vaadin - Components - Link, Link should be used only for hyperlinks to external resources, as it is nothing more than a wrapper for a anchor html tag and as such it does not fire any server side events. As a result you cannot react on server side to open a popup window or do some other logic.
The Link is a regular HTML hyperlink, that is, an anchor
element that is handled natively by the browser. Unlike when clicking
a Button, clicking a Link does not cause an event on the server-side.
What you really want is vaadin button styled as a hyperlink. You can do it by creating a regular button (which supoorts server side events and can open your popup) and then adding an appropriate style.
Button linkButton = new Button();
linkButton .setStyleName(BaseTheme.BUTTON_LINK);
Always be sure to call addStyleName() instead of setStyleName() as it only adds your new style to the list of other styles already present and it does not override that list with your only new style.

Open up a pop-up window, select an item and go back to main window in Rails 3.2

Inside a page called Program edit, there will be a button named Select image and as it is clicked, a Pop-up window will open which shows list of images. After selecting an image from the list and click to the Add button, pop-up will close up and selected pictures ID will be passed to main window. It should be available to use at program's params after closing image list popup.
Here is the scenario I would like to have.
Which way should I follow while doing this?
You need a version of responds_to_parent rails plugin. That can do the trick.
I've learnt that I can do it via JavaScript and AJAX. Similar to this: http://snipplr.com/view/7461/get-selected-value/

Resources