Force app iframe links to open new browser window?
We're building a simple app that uses iframes to pull in external images and text to display in specific regions of the app's pages. The text displayed is an HTML list of links -- each link the name of a legislator -- that lead to that person's official biography. The client wants the following behavior: When the app user clicks a name/hyperlink, the iPad browser should take over and display the bio. When done reading the bio, the user can click the browser's close-window symbol at top right, then they will be back where they started in the app.
For some reason, these links insist on opening within the iframe, regardless of whether or not we use the target="_blank" method. I tried Googling for this as a known behavior, but found nothing. Tips?
If it will help, here's a sample of the HTML were bringing into the iframe from an external source. We did not write this code but can relay messages to their Web developer ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Indiana Legislators</title>
<link href="../../../css/bootstrap.css" rel="stylesheet" type="text/css" /><link href="../../../css/normal.css" rel="stylesheet" type="text/css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js" type="text/javascript"></script>
<meta name="viewport" content="width=360, minimum-scale=1.0, maximum-scale=1.0"/>
</head>
<body>
<div class="col-100-per">
<span class="content-ac">
<table>
<tr>
<th style="padding-right: 20px; white-space: nowrap;">District</th>
<th>Legislator</th>
</tr>
<tr>
<td> </td>
<td>
<a id="ContentPlaceHolder1_rptLegislators_LegislatorLink_0" class="dem" href="/AppContent/2013/legislator-bio/110/House/0/district/District" target="_blank">Frank Mrvan, Jr.</a>
</td>
</tr>
.... etc ....
Similar Messages
-
Any way to open new browser window without using image maps?
Is there any way to open new browser window without using image maps? My code works fine in Firefox, but not in IE. There are 2 problems in IE: 1st is that the thumbnail images move up within their own borders & 2nd that when you click on an image it does open up a new browser window, but also redirects to the index page (in this case it's just a placeholder index page - the new one I've called index_new.html for the time being).
Here is the link:
http://www.susieharperdesigns.com/gallery_beads.html
Any help is greatly appreciated.Your missing a value on the HREF. In your code you have this:
<area shape="rect" coords="-24,-9,106,144" href=" " onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
</map></div>
and it should be this:
<area shape="rect" coords="-24,-9,106,144" href="javascript:void()" onclick="MM_openBrWindow('gallery_bead1.html','','width=255,height=360')" />
</map></div>
If you fix the code on all your beads, it should work.
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
Open New Browser window with "Server Behavior"
I know how to open a link in a new browser window by going to
the Behaviors panel. The site I'm working on is using PHP, so
instead of a Behaviors panel all it shows is a "Server Behaviors"
panel. Under the "Server Behaviors" there is't an option to open a
link in a new browser window. Should I be looking someplace
different or is there another way to add this function to a link?
Thanks in advance for any help!horsethiefbasin wrote:
> I know how to open a link in a new browser window by
going to the Behaviors
> panel. The site I'm working on is using PHP, so instead
of a Behaviors panel
> all it shows is a "Server Behaviors" panel. Under the
"Server Behaviors" there
> is't an option to open a link in a new browser window.
Should I be looking
> someplace different or is there another way to add this
function to a link?
>
> Thanks in advance for any help!
>
Makes no difference whether youre working on a php site or an
ordinary
htm site you still open a new browser window in exactly the
same way.
windows>behaviours>open browser window -
Hi,
this piece of code use to work for opening a new browser, but now it has problem in opening browser window. There is no exception thrown, can anyone has suggestion whats wrong in this. I am using JRE1.3. I have a feeling that something is conflicting with IE (I tried on 5.0,5.5,6.0)
thanks
Syed
try
URL url = new URL(urlString);
applet.getAppletContext().showDocument(url, "_blank");
} // End of Try
catch(MalformedURLException e)
logs("Exception in opening new browser window: " + e);
} // End of CatchSame here.
Worked fine under IE5.x to IE6, JRE 1.3.x to 1.4. OS used were W2k and WinXP, no prob here.
Now on some PCs the windows don't pop up anymore. No exception, no indicator of what's going wrong.
Any hints?
J�rgen -
Opening new browser window from View Library links
On some of the documentation pages, e.g. http://www.oracle.com/technology/documentation/ias.html , a new browser window is opened using target=new_win in the HTML code. This window will be re-used if the user goes back and clicks on another, similar link. It's better to use target=_blank for this purpose, because that would ensure that a new browser window is opened every time.
You would have to a) swap the image, and b) expose a
previously hidden layer
that superimposes the image with a transparent GIF on which
the onClick
behavior has been applied.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"tldesignstudios" <[email protected]> wrote
in message
news:e7vfhm$1hf$[email protected]..
> Hi all, does anyone know if it is possible to set a
swapped image to open
> a new browser window on a click command? Any help woul
dbe much
> appreciated. thank you in advance. :) -
Do NOT want to open link in a new browser window - iWeb '09
I do not want links that navigate around my website to open a new browser window every time. Right now, for example, From my main page, I click a link to a secondary page, it opens it in a new window, I then click the link back to my main page, and it opens in a new window. I now have 3 windows open.
I am not using the navigation bar as it set ups with iWeb (I have it hidden). I am using hyperlinks I attached to text boxes. Would this problem be remedied if I was using the navigation bar? If so, is there anyway to edit the appearance of the navigation bar and it's location on the page?
Primarily though, I would like my text hyperlinks to just navigate my page and not open in new windows.
Thanks!And that's the way it should be.
If you look at this page about navigation you'll see that the main navigation uses eternal links and the sub navigation internal ones....
http://www.iwebformusicians.com/WebMusic/Navigation.html
Try the troubleshooting steps under "Fix iWeb" here.....
http://www.iwebformusicians.com/WebMusic/iWebTips.html -
it also opens in the parent window at the same time. For
instance, I have a home page and when you click on a link I want it
to open up in a new browser window. so i set the behavior to do
this and it works. However, the first window also changes to the
new link so I then have two windows open with the same link I just
clicked on. The main window doesn't stay as the home page. any
suggestions? Thanks.Also David Powers' Smart Link extension may come in handy:
(2nd extension on the page)
http://japan-interface.co.uk/webdesign/tools/index.html
Nadia
Adobe® Community Expert : Dreamweaver
CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
~ Customisation Service Available ~
http://www.csstemplates.com.au
Forum Posting Guidelines:
http://www.adobe.com/support/forums/guidelines.html
CSS Tutorials for Dreamweaver:
http://www.adobe.com/devnet/dreamweaver/css.html
": Nadia : ** Adobe Community Expert **"
<[email protected]> wrote in message
news:[email protected]...
> You need to add a "return: false" statement to the link
so that it
> doesn't open onto itself....
> A better explanation can be found here:
>
http://apptools.com/rants/popups.php
>
>
> Project seven has this niftly little app available
(commercial - but it's
> served me well over time :)
>
http://www.projectseven.com/products/prodtools/powertoys/powertoys_retfalse.htm
>
>
> --
> Nadia
> Adobe® Community Expert : Dreamweaver
> ----------------------------------------
> CSS Templates |Tutorials |SEO Articles
>
http://www.DreamweaverResources.com
> ~ Customisation Service Available ~
>
http://www.csstemplates.com.au
> ----------------------------------------
> Forum Posting Guidelines:
>
http://www.adobe.com/support/forums/guidelines.html
> CSS Tutorials for Dreamweaver:
>
http://www.adobe.com/devnet/dreamweaver/css.html
>
>
>
>
> "Alexandra Christensen"
<[email protected]> wrote in message
> news:[email protected]...
>> it also opens in the parent window at the same time.
For instance, I have
>> a
>> home page and when you click on a link I want it to
open up in a new
>> browser
>> window. so i set the behavior to do this and it
works. However, the first
>> window also changes to the new link so I then have
two windows open with
>> the
>> same link I just clicked on. The main window doesn't
stay as the home
>> page. any
>> suggestions? Thanks.
>>
>
> -
Open new browser window without bookmark
when i open a new browser window (from a bookmark or using cnt N) it opens with the list of my bookmarks along the left side of the screen forcing me to x out of the bookmark list so i can have a full browser window page.
how can i get new pages to open without the list of bookmarks on the left side of the screen?
thanks,
toddYou can create a javascript to window.open having toobar, menubar or statusbar=0. The page content can be customized per need. Call this javascript from a link or button click using javascript:popup_window();
For example,
<script language="JavaScript" type="text/javascript">
function popup_window()
w = window.open("", "Window", "width=320,height=400,status=0,toolbar=0,menubar=0");
w.document.write('<html><head><title>Help Window</title>');
w.document.write('</head><body>');
w.document.write('<div><font face="Arial" size="2">This is help page.');
w.document.write('</font></div><p>');
w.document.write('<div><font face="Arial" size="1"><a href="javascript:window.close();">Close This Window</a></font></div><p>');
w.document.write('</body></html>');
</script>Ittichai -
Open New Browser Window Behavior Issue
I've got a site that has a list of names of deceased people.
When a viewer clicks on a name I have a new browser window open
that is a small memorial page specific for that person. This list
is fairly long so the viewer has to scroll down a ways to get to
the bottom. If the viewer clicks a name towards the bottom and then
closes that new browser window they have to scroll all the way back
down and find where they left off. This of course, is assuming they
are going in order to view the memorial pages for each person. Is
there a way to make the "original page (with the list of names)"
not refresh to the top of the page? I'm using and would like to
continue using tables and not layers or styles.
Information can be sent onto [email protected]
Any help would be much appreciated!
Thanks,
CodyCody,
It sounds like you are using <a href="#"
Try using <a href="javascript:;"
Or better yet, use David Powers' Smart Link:
http://japan-interface.co.uk/webdesign/tools/index.html
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com
"csnodgr2" <[email protected]> wrote in
message
news:fmc4tf$feq$[email protected]..
> I've got a site that has a list of names of deceased
people. When a
> viewer
> clicks on a name I have a new browser window open that
is a small memorial
> page
> specific for that person. This list is fairly long so
the viewer has to
> scroll
> down a ways to get to the bottom. If the viewer clicks a
name towards the
> bottom and then closes that new browser window they have
to scroll all the
> way
> back down and find where they left off. This of course,
is assuming they
> are
> going in order to view the memorial pages for each
person. Is there a way
> to
> make the "original page (with the list of names)" not
refresh to the top
> of the
> page? I'm using and would like to continue using tables
and not layers or
> styles.
>
> Information can be sent onto [email protected]
>
> Any help would be much appreciated!
>
> Thanks,
> Cody
> -
Anybody knows of an easy way to open a report through the link on another report into a new browser window by default? Thanks.
hi you can do this in a couple of ways
create a format trigger on the column that you want to use as the link :-
function F_organizationFormatTrigger return boolean is
begin
srw.set_hyperlink('http://' || :BASEURL || '/anotherjsp.jsp?REPORT_ID=1&destype=cache&desformat=' || :desformat || '&WHERECLS=' || :DRILLCLS || '&DRILLVALUE=' || chr(39) || :column1 || ' ' || chr(39) );
srw.set_hyperlink_attrs('target=_blank');
return (TRUE);
end;
or you can put it in the Web Settings piece of the Property Inspector for the column that you want to link from . there is a paramter for hyperlink and hyperlink destination.
hope this helps -
Cache problem for servlet opening new browser window
Requirement:
I have JSP page say summary.jsp with link "print account summary"
When user clicks on this link, new browser open with PDF document of summary.jsp
This new browser window should not have address bar and toolbar.
Solution:
Servlet called PrintSummary which sets contenttype=application/pdf and sends the data to outputstream.
href of link is
Java script function is:
function openWindow(url){
window.open(url,'blank','toolbar=no')
Problem:
Since the URL of this new window is
http:// host:portnumber/PrintSummary
Even if I click the "Print summary" link for account2,
being the same URL (http:// host:portnumber/PrintSummary) it accesses the existing page in the cache which is created for account 1.
In href if I just use servlet url as
I get the expected behaviour but then I don't have control on browser appearance and browser window will be with address bar and toolbar.
The only option I could think of was changing URL as follows:
<% String url ="javascript:openWindow('PrintSummary? var1="+ Math.random()+"')";
So that URL is different all the time
Is there any way to solve this problem?
Thanks in advance
M.I'd definitely try to use a Flex popup... but the
flash.net.navigateToURL method is a simple way to open a popup
window in a new browser. You can pass any data needed by the new
page using the URLRequest and/or URLVariables. The URL you navigate
to could, of course, be another Flex application if necessary. I
use this only when I need to open a popup window on another site,
or an HTML formatter report or something similar.
Concerning yourself with the size of the popup window may be
a bad design choice also. I, for example, have my browser
configured to open all popups in a new tab regardless of sizing
constraints imposed by the designer. If it is absolutely necessary
for you to have control over the size of your popup window, you
should follow the advice given by others and use a Flex
popup. -
Open New Browser Window in CS4 opens behind existing window - HELP!
I am creating a website in CS4, and everything works fine EXCEPT ona few pages, for every link I have set up to open in a new browser window, the new window opens BEHIND the existing window, so that you cannot see it. I tried one solution that said to type "javascript:;" in the href (link) box, but that did not correct the problem. Any ideas?
Thanks.Sounds like you have Tabbed browsing enabled.
IE
http://www.ie-vista.com/tabs.html
Firefox
http://www.mozilla.com/en-US/firefox/features/#tabs
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.com/blogspot.com -
Linking to one new browser window?
Can anyone tell me how to open multiple pdfs from one page in
the same new browser window instead of opening multiple windows in
Dreamweaver 8 (MAC)?You would not be able to do this by linking directly to the
PDF. This is
what I said in an earlier post.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"thephitt" <[email protected]> wrote in
message
news:fn31c9$7l4$[email protected]..
>I am able to get the pdfs displaying in the same window
and coming to the
>front
> by using the OpenBrowser Window behavior EXCEPT the
first link (any link)
> I
> choose gives me a page in IE (PC) stating "The Web page
can not be
> displayed".
> If I choose the same link again it will display on that
page and all
> others
> that have the same behavior. Here is an example of the
code to open the
> link.
>
> <a href="pdfs/winter_2007.pdf" target="feapdf"
class="style1"><u
>
onclick="MM_openBrWindow('pdf:blank','feapdf','')">Current
Newsletter
> </a>
>
> URL to display = pdf:blank
> window name = feapdf
> target set to feapdf
>
> Again, works fine on the MAC but this issue occurs on
the PC using IE
> -
Open new browser window from Hyperlink in BIP PDF output report?
Hello,
Is there a way to open a new browser window from Hyperlink in PDF report?
Thank you all in advance.
MTDear Friend,
It is not supported for PDF Report. But below links helps you, to accombish this task in PDF report.
[url http://oracleapps4u.blogspot.com/2011/03/open-hyperlink-in-new-browser-window.html]http://oracleapps4u.blogspot.com/2011/03/open-hyperlink-in-new-browser-window.html
Thanks & Regards
Ahamed Rafeeque Cherkala -
Open new browser window after insert
I am having a problem with form data being errased when users
go back to a form after after the insert command. I have been
trying to get the insertGoTo page to be opened in a new browser
window. The tail end of the insert command code looks as follows.
$Result1 = mysql_query($insertSQL, $squirrelcart) or
die(mysql_error());
$insertGoTo = "new_page.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
header(sprintf("Location: %s", $insertGoTo));
I have tried modifying the page name to:
$insertGoTo ="MM_openBrWindow('new_page.php','page_name','
This didn't work. Any suggestions on how to put the new_page
in its own window, or is there a way to suppress the form page
reload when going back ?Cody,
It sounds like you are using <a href="#"
Try using <a href="javascript:;"
Or better yet, use David Powers' Smart Link:
http://japan-interface.co.uk/webdesign/tools/index.html
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com
"csnodgr2" <[email protected]> wrote in
message
news:fmc4tf$feq$[email protected]..
> I've got a site that has a list of names of deceased
people. When a
> viewer
> clicks on a name I have a new browser window open that
is a small memorial
> page
> specific for that person. This list is fairly long so
the viewer has to
> scroll
> down a ways to get to the bottom. If the viewer clicks a
name towards the
> bottom and then closes that new browser window they have
to scroll all the
> way
> back down and find where they left off. This of course,
is assuming they
> are
> going in order to view the memorial pages for each
person. Is there a way
> to
> make the "original page (with the list of names)" not
refresh to the top
> of the
> page? I'm using and would like to continue using tables
and not layers or
> styles.
>
> Information can be sent onto [email protected]
>
> Any help would be much appreciated!
>
> Thanks,
> Cody
>
Maybe you are looking for
-
Group Asset Screen Layout disabled fields
Hi All, We have created asset masters with Book and Tax depreciation, For tax depreciation we are assigning Group asset. Issue is while doing take over value with t- Code AS92, system should propose the field of APC Value and Accumulated Depreciati
-
Information about CRM_STATUS_CHANGE_INTERN
Dear All, Our CRM system just got migrated to 2007 and the data which we uploaded for CRM leads has System status as OPEN but USER_STATUS as E0001 to E00004.. Now i want to system status according to user status for these leads. How can i achieve thi
-
JTable - make column headers clickable
Hi all I have a JTable, and now I want to sort by column. I've actually got the column sorting working using menu items, but how can I make my column header clickable, and where do I add an actionListener to?
-
IPhone 5 stuck in portrait mode after upgrade to iOS 8
iPhone 5 stuck in portrait mode after upgrade to iOS 8. Phone was fine before the upgrade, iOS 8.1 did not fix the issue. Have done a factory reset at Genius bar and they say it's a hardware issue and have gotten this response below: "Now, when you p
-
I cant open a pdf.zip can some one help?
I got sent a pdf.zip attachment today on my yahoo mail and i cant open it. Can someone help?