Open page in a new window..

I am making a website and I would like to make a few links on
it open in a new window. I know the 'target ._blank' code, but here
is my question....
If someone has a pop up blocker, will they not be able to see
a new window pop up? Is there a different code I could use so it
won't be seen as a 'pop up'???

Al Sparber- PVII wrote:
> I simply wanted to state for the masses that "DOM
Scripting" is nothing
> more than a non-standard term to describe certain
approaches a
> programmer might take in a JavaScript, and that the
approach really does
> not need to be named - unless one wants to make a point
or to set his
> script apart in some way from older scripts. It is not a
new or
> different technology.
After a night's sleep, i decided to respond to this
statement. Al is
certainly entitled to his opinion. But for anyone who might
still be
following this thread, as I will demonstrate, it is simply
incorrect to
say that Dom Scripting is nothing new. It really is.
But Al chose his words carefully. Is it new "technology"?
Perhaps not,
depending on how one defines "technology". But to spend time
parsing
that term is to overlook the larger issue that Al is making.
He has
argued here, and many times elsewhere, that those who
advocate DOM
Scripting are perpetrating some sort of hoax, suggesting
those scripts
are somehow better than other scripts.
I would make such a suggestion at all. There is an obvious
need for
both sorts of scripting. I myself have created many of each,
and each
has a perfectly legitimate purpose. But I do recognize that
they each
use their own sets of tools and techniques. They are simply
different,
one from the other, even if we have the luxury of using the
same
scripting language for both - just as use the same language
to write
poetry or prose, to write essays or novels.
Before getting to DOM scripting, let me begin by holding up
AJAX -
ignoring for now its merits and demerits - as an example of a
technique
that is (or was) new and different. It uses javascript to be
sure, but
what made it new and different was that it uses Objects and
Methods that
browsers did not (fully) support until recently. So it is not
the
javascript that is new and different, it is the Objects and
Methods that
are. In addition, over time, developers worked out better,
more
powerful and more effective ways of using them. Like AJAX or
dislike
it, it is new and different and allows us to do on the web
things that
could not be done before.
So too with Dom Scripting. Again it (usually) uses
javascript. But what
makes it new and different is that it employs Objects and
Methods that
modern browsers added only recently. They are new and
different. They
(or access to them anyway) were simply not there before.
Take a step back and look at DHTML. It was a valiant attempt
to do what
we now do far better with DOM Scripting. It used not the
Document
Object Model (DOM) but the Browser Object Model (BOM). It was
a brave
and clever few who could tame the wild and wooly
incompatibilities
created by each browser manufacturer with their unique BOMs.
It too was
new and different, as it was manipulating the BOM in ways
that had not
been done before.
Then, as a result of a large and vocal cadre of
forward-thinking
designers, the browser makers finally created browsers that
stuck
(some better than others) to defined Standards, and added
real support
for the various DOM Objects and their Methods. It is these
that DOM
Scripting manipulates, and it is these that distinguish it
from DHTML
(BOM) and non-DOM-Object-manipulating javascripts taht came
before. And
over time clever folk have figured out better and better ways
of using
it, with ever-more-clever scripts.
DOM Scripting is not rocket science, but to argue that it is
not new and
different simply ignores the fact that it is a methodology
for
manipulating Objects and Methods that simply did not exist
before. It
is based on a new and different paradigm, with a new set of
tools and rules.
Al Sparber wrote:
> does not need to be named - unless one wants to make a
point or to
set his script apart in some way from older scripts It is not
a new or
different technology.
As I've shown above, in fact it IS new and different. The new
Objects
and Methods that modern browsers support *make* it new and
different.
They open amazing opportunities for creating useful,
interesting, and
powerful web sites (that are more likely to be cross-browser
compatible,
too.)
One does have to take the time to learn the details before
diving in. If
you are interested in learning more (and I for one have
*lots* more to
learn), there are some good books, among them
Jeremy Keith, "DOM Scripting" (
http://domscripting.com/),
Peter-Paul Koch, "PPK on Javscript" (
http://www.quirksmode.org/),
and many, many more.
There are also a zillion websites devoted to the subject.
First you
might want to read the Wikipedia entry,
http://en.wikipedia.org/wiki/DOM_Scripting,
and then perhaps
http://www.webstandards.org/action/dstf/,
http://www.w3.org/DOM/
and links at
http://clagnut.com/blog/364/,
to name just a very few.
E. Michael Brandt
www.divaHTML.com
divaPOP : standards-compliant popup windows
divaGPS : you-are-here menu highlighting
divaFAQ : FAQ pages with pizazz
www.valleywebdesigns.com
JustSo PictureWindow
JustSo PhotoAlbum

Similar Messages

  • Will iWEB open pages in a new window??

    After the main page, I want iWEB to open the rest of the pages in new windows. Is this possible??
    iMAC Intel Core Duo 20"   Mac OS X (10.4.6)  

    After you Publish navigate to the html file you'd like to modify then find the particular link you want to open in a new window. after the a href tag insert
    target="blank"

  • How to open the navigated page in a new window???

    i a report when we click on properties and then go to Column format tab.
    there if go to navigate option it jus asks only the target request or dashboard and opens that in the same window on dashboard.
    i want to open that in a new window.
    how to do that?????

    I have an example here http://oraclebizint.wordpress.com/2007/11/26/oracle-bi-ee-101332-same-page-navigation-drills-and-passing-parameters/. You basically need to put it inside an iframe or Embedded Section.
    Thanks,
    Venkat
    http://oraclebizint.wordpress.com

  • Firefox randomly opens an existing page in a new window

    I open Firefox with no problem - it opens all my existing tabs. When I choose a tab, and run the cursor over a page (no button pressed) Firefox will randomly (not always) open that page in a new window. VERY annoying!

    The problem occurs with no clicking or dragging, but thanks ...
    ~pete

  • How to Open BSP page in a new window?

    Hi All,
    I am creating a BSP application wherein i have a htmlb button for "help".
    I want to open this help page in a new window, so that alongwith the help page the user can
    view other pages also simultaneously.
    Is there any way by which i can open this BSP page into a new window without loosing
    the contents of the current page on which the help button is present.
    A sample code for opening page in new window will be of great help.
    Thanks in Advance for your help.

    Hi Mahima,
    Use the onClientClick event of the button.
    on_Client_Click="callwindow();"
    <s cript>
    function callwindow()
    win_dow.o_pen("www.sap.com");
    </s cript>
    Please remove the underscores from code.
    Regards,
    Anubhav

  • [ADF Faces] How to open a jsf page in a new window.

    I need to open in a new window a page....
    I have used the Dialog Framework, but it does not work, because the objects is never reseteds, the frameworks was saving the states of it.....
    Then I need only to open the page in a new window, a pop up.
    The CommandButton has not the Target property :(
    thanks

    I discovered it
    private String goPohecamp() {
            FacesContext context = FacesContext.getCurrentInstance();
            // Create the dialog UIViewRoot
                ViewHandler viewHandler = context.getApplication().getViewHandler();
                UIViewRoot dialog = viewHandler.createView(context, "/access/ecamp.jsp");
                HashMap properties = new HashMap();
                //properties.put("width", new Integer(250));
                //properties.put("height", new Integer(150));
                AdfFacesContext afContext = AdfFacesContext.getCurrentInstance();
                afContext.launchDialog(dialog,
                                        null, // not launched from any component
                                        null, // no particular parameters
                                        true, //show in dialog
                                        properties);
            //return "goPohecamp";
            return null;
        }Like this is better to me

  • Open a page in a new window on clicking a button

    Ver: Application Express 4.1.1.00.23
    Hi,
    I have a button which opens up another page and I am passing values through the button. But I want the new page to open up in a new window.
    I know that we can make the button action type Redirect to a URL and put the target as blank, but in that case, I have to hard-code my entire website link in the URL, which is what I am trying to avoid.
    Is there any way around this?
    Thanks.
    Parth.

    Hi,
    I'm trying to understand exactly what you expect to happen for the page/window operation.  Anytime a page/window is opened, I think there's a URL called.  (I could be wrong.)  I think you must have a URL.  I suppose there are a couple different ways to open a page/window.  You could call javascript from a Dynamic Action fired by the button.    For example, I have
    javascript:callMyPopup(42,'42:P42_GOBACK_PAGE,P42_ROWID,P42_DSD_ID,P42_PROC_NM:&APP_PAGE_ID.,#ROWID#,#DSD_ID#,#PROC_NM#');
    Where callMyPopup function defined in the Page's Header Text -- I'm on APEX 4.1.
    <script language="JavaScript" type="text/javascript">
    // Start script
        function callMyPopup (pageID,parms) {
        var url;   url = 'f?p=&APP_ID.:'+pageID+':&APP_SESSION.:::'+parms+':';
    // alert('url = '+url);
        Page42 = open(url,"","Scrollbars=1,resizable=1,top=600,left=100,width=925,height=250");
    // End script   }
    </script>
    Does that help any?
    Howard
    (more)
    Google with "oracle APEX open popup window"
    See especially: http://www.nullskull.com/q/10182263/how-to-create-a-popup-page-in-oracle-apex.aspx

  • Open a bsp page in a new window?

    Hi All,
    I am creating a BSP application wherein i have a htmlb button for "help".
    I want to open this help page in a new window, so that alongwith the help page the user can
    view other pages also simultaneously.
    Is there any way by which i can open this BSP page into a new window without loosing
    the contents of the current page on which the help button is present.
    A sample code for opening page in new window will be of great help.
    Thanks in Advance for your help.

    Hi,
    Pls try the below logic :
    <htmlb:button id = "help"
    text = "Help"
    design = "standard"
    onClientClick = "window.open('http://www.sap.com')"
    tooltip = "Help"
    />
    This will work for you.
    Regards
    CSM Reddy

  • UIX question: Open printable page in a new window

    I am using 10.1.2 version of JDeveloper with UIX/ADF.
    In one of the UIX pages, I am using a submit button to fire an event named printMe to open the uix page in a printable format.
    <event name="printMe">
          <showFacet name="printable"/>
        </event>But, understandably this takes out all the links in the page and the only way to go back to the original page is to use the back button (which users might find unintuitive). I was wondering if there is a way to make the printable page to open in a new window?
    I don't think using the destination or onClick attributes of the submitButton with the javascript:openWindow() function would achieve this. Because this still loads the page in a 'printable' format in the same window and opens a new window in the 'non-printable' format.
    I would like to know, if there is a way to direct the printable facet to open in a new window leaving the original page as-is, so the users can print, close the new window and resume using the application.
    Or is there a better way to handle this, as I am open to ideas if there is a better way to address this usability issue.
    Thanks in advance,
    Karthik

    Dear Sir...
    assume that in order to view the report in the page, you should change the where clause of a view object for example (this is dependent on how and what settings you want to make for the page. it does not have to be like this, it is dependent on how you prepare data, perhaps you do not have to prepare anything at all, i do not know what code you have).
    So, assume that in order to view the print report, your code was something like this:
    public void onViewReport(DataActionContext ctx)
    ViewObject V=GetView(); //
    V.setWhereClause("myfiled=123"); //
    V.executeQuery(); // these steps used for preparing data
    ctx.setActionForward("printpageforward"); // go to print page
    Now you remove this code , go to the print page, and override the print page prepareModel method with something like this:
    protected void prepareModel(DataActionContext actionContext) throws Exception
    super.prepareModel(actionContext);
    ViewObject V=GetView();
    V.setWhereClause("myfiled=123");
    V.executeQuery();
    Now you add the script to your button to show the print page in a new window, and that is it. your print page should work fine.
    best regards

  • Opening a page in a new window...

    I have discovered that if a page is being opened by clicking a link rendered using the Destination URI and the target frame is self, then it opens up in a new window. Why can't I duplicate this behavior using the pageContext.setForwardURL method?

    Hi
    OAF gives no ways other than target frame "_blank", to open pop up windows. Also OAF only supports read only pop up window. But if your requirement is a pop up window.... u can do it via javascript. You can see this link...
    http://mukx.blogspot.com/2007/07/javascript-in-oa-framework.html
    Ajay

  • After I have opened a page in a new window Firefox after a few secs return to the previous page.

    I click on a link in one page to open another page in a new window. This happens and I am brought to the new window, but after 1-3 secs I am brought back to the original window.
    To go to the new window I have to move the cursor to the list at the bottom of the screen and click on the entry for the new window.
    This behavior started a few weeks ago (say early September).
    The problem is consistent.

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • ForwardImmediately to open new page in a new window

    Hi,
    Is it possible to force the forwardImmediately method to open the specified page in a new window? Like the Target Frame = _blank on the Link item.
    I am unable to use JavaScript to do this.
    Can forwardImmediately be modified to do this or can I create a link item on my page and dynamically fire it from with the processRequest method of my controller?
    Any help will be appreciated.
    regards
    DG

    How to open new window  in CO programitically in OAFramework
    opening a page in a new window using code
    Thanks
    --Anil
    http://oracleanil.blogspot.com

  • FF cant open a page in a new window, even from rightclick menu and if tried ff cannot exit correctly

    as described above, cant open anything in a new window, even from right click menu.......... open in new tab is not checked in settings.
    also the flash plug in crashes all the time

    I have these problems, as well, but after disabling and re-enabling extensions and plug-ins one by one, it appears these issues are related to the Java Console 6.0.22 extension update. With this extension disabled and the older Java 6.0.20 enabled, I could open a new window and FF could exit correctly even with the updated Java Deployment Toolkit 6.0.220.4 and Java(TM) Platform SE 6 U22 6.0.220.4 plug-ins enabled.
    The question is whether FF is conflicting with the Java Console update or the Java Console update is the true culprit. I'm leaning toward the latter.
    Firefox 3.6.10
    ''Extensions:'' Java Console's (noted above), Better Privacy 1.48.3, Download Helper 4.8.1, Scrapbook Plus 1.8.17.31,Vacuum Places Improved 1.1, and ZoneAlarm Toolbar 1.5.152.10
    ''Plug-ins:'' Java Platform and Toolkit (noted above), Mozilla Default 1.0.0.15, QuickTime 7.6.8.0, Silverlight 4.0.50917.0, Windows Genuine Advantage 1.9.0042.0, and WPF 3.5.30729.1
    Vista Home Premium (SP2)

  • Open download file in new window.

    Hi,
    I m using oracle 11g and Apex4.0.2 version
    Browser IE8.
    I m downloading PDF file when a button is pressed.
    The code will be
    htp.init;
    OWA_UTIL.MIME_HEADER(NVL(L_V_MIME,'application/octet'),FALSE);
    owa_util.http_header_close;
    WPG_DOCLOAD.DOWNLOAD_FILE(BLOB_content);
    It works fine by opening the pdf file.
    But I need the pdf file to be opened in new tab page or in new window.
    Is it possible?

    vk,
    it seems your page process is not triggering or it was not working quite right in the first place.
    It should be something lke this:
    Name: DOWNLOAD_FILE
    Type: PL/SQL anonymous block
    Process Point: On Submit - After validations
    When Button Pressed: DOWNLOAD
    Source
    /* if the BLOB content is stored in wwv_flow_files: */
    DECLARE
      l_blob_content wwv_flow_files.blob_content%TYPE;
      l_mime_type    wwv_flow_files.mime_type%TYPE;
    BEGIN
    SELECT blob_content, mime_type
    INTO  l_blob_content, l_mime_type
    FROM  wwv_flow_files
    WHERE  ... /* how you access your file */
    htp.init;
    OWA_UTIL.MIME_HEADER(NVL(l_mime_type,'application/octet'),FALSE);
    owa_util.http_header_close;
    WPG_DOCLOAD.DOWNLOAD_FILE(l_blob_content);
    --apex_application.stop_apex_engine;  /* APEX 4.1 and above */
    apex_application.g_unrecoverable_error:= true;  /*before APEX 4.1 */
    END;Jens

  • Issue while opening Shop Link in New Window

    Hi All,
    Recently We have upgraded SRM5.0 to 7.0 and now we are using Portal for Front end application. We have configure the SRM appliation in Portal EP 7.0.
    Now i can fetch the data from SRM but problem is when i am opening Shop Link ( Employee Self Serviece --> Shopping Area ) in new window then it's navigating to Home Page instead of opening the Shop application.
    When i am opening the Shop Link in Content area that time its opening correctly.
    Can you please assist us how we can resolve this issue when i am opening Shop link in new window.
    Regards,
    Rahul Sanas.

    Dear Poster,
    As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
    Best Regards,
    SDN SRM Moderation Team

Maybe you are looking for

  • "All Movies" - Movies.cannedSearch

    In the Finder mainpage: when I click to on the left down the search folder: "All Movies" it comes an error: The original Movies.cannedSearch could not be found. I don't remember exactly anymore, but remember only that I was playing with it once. So I

  • Please help a newbie (Map).

    I would like to know if it's possible to use Autodesk MapGuide instead of MapViewer in order to create JDeveloper project. Thank you

  • I maintain a website on which the main (index) page is frequently updated.

    I maintain a website on which the main (index) page is frequently updated. In order to make sure that the latest version is displayed, I use the following in the Head of the page: <META HTTP-EQUIV="Pragma" CONTENT="no-cache" /> This works on all web

  • Rules created in worklist application don't execute

    Hi all, i am using BPEL 10.1.3, i created a simple rule in the worklist application to reassign all the tasks of jcooper to jstein, the rule is active (a green light is displayed in the Active column) but the task is still assigned to jcooper, is the

  • Sqlplus error

    Hi Gurus, i have installed IDES 5.0 and solution manager on the same system. But ides 5 have oracle 9i and for solution manager i have installed 10G When i try to connect oracle from sqlplus /nolog; its given an following error C:\Documents and Setti