Open a blank window with  parameters

How can I open a new browser window when i click a link but i
want it to
open in a seperate window and be only a certain size and
centred on the
screen...
Yanman

Yep. This probably means you didn't select the tag before
applying the
behavior.
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
==================
"Yanman" <[email protected]> wrote in message
news:[email protected]...
> Yes it was wonky.. Ive fixed it.. So it does work the
way I want..Thanks!
>
>
> "Murray *ACE*" <[email protected]>
wrote in message
> news:[email protected]...
>> Let's see your page. You must have applied the
behavior to the BODY tag,
>> i.e.,
>>
>> <body onclick="..."
>>
>> --
>> 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
>> ==================
>>
>>
>> "Yanman" <[email protected]> wrote in
message
>> news:[email protected]...
>>> Actually I noticed now that that behavior tool
works fine except it
>>> works no matter where you click on the
page...onclick refers to anywhere
>>> on the page according to this tool.. I would
like it to work only when i
>>> click a link...is there any way of changing this
behaviour or changing
>>> the code to work only when clicking a link the
action will open a
>>> browser window in a certain size and certain
spot on the page..??
>>>
>>>
>>>
>>> "Yanman" <[email protected]> wrote
in message
>>> news:[email protected]...
>>>> Thanks alot dude! I really really appreciate
that tool!!! wicked..
>>>> Im one happy webdesigner!
>>>>
>>>> "Tarvardian"
<[email protected]> wrote in message
>>>> news:[email protected]...
>>>>> Hi Yanman --
>>>>>
>>>>> Check out this extension:
>>>>>
http://www.flevooware.nl/dreamweaver/extdetails.asp?extID=8
>>>>>
>>>>> I've used it quite a few times with
great success. It allows you to
>>>>> pretty much specify whatever you want
for the new window: size,
>>>>> location, what Windows attibutes you
want (nav toolbar, location
>>>>> toolbar, status bar, etc.)
>>>>>
>>>>> Hope this helps.
>>>>> John
>>>>>
>>>>> "Yanman" <[email protected]>
wrote in message
>>>>>
news:[email protected]...
>>>>>> How can I open a new browser window
when i click a link but i want it
>>>>>> to open in a seperate window and be
only a certain size and centred
>>>>>> on the screen...
>>>>>>
>>>>>> Yanman
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
>

Similar Messages

  • Javascript:showPrintPDF opens a blank window

    I use a courier site which opens a new window to view and print the labels for parcels, using "javascript:showPrintPDF". Firefox opens a blank window with no content.

    I'm not sure anyone can diagnose this for you without registering for the site, so here are some suggestions for self-help.
    Question: Did it work before and stop working recently? If so:
    (A)
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    1. Clear Firefox's Cache
    orange Firefox button ''or'' Tools menu > Options > Advanced
    On the Network mini-tab > Offline Storage : "Clear Now"
    2. If needed, delete the site's cookies here
    While viewing a page on the site, right-click and choose View Page Info > Security > "View Cookies"
    Then try reloading the page. Does that help?
    (B)
    To rule out the possibility that an add-on is interfering, can you test in Firefox's Safe Mode?
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in [http://support.mozilla.com/kb/Safe+Mode Safe Mode] using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, do not check any boxes, just click "Continue in Safe Mode."
    If the window populates correctly, this points to an add-on or custom setting or perhaps a saved password as the problem. A few things to work through.
    If the site doesn't load correctly, we would have to consider other factors.
    Any luck?

  • Just tried to open iTunes, it won't, and I'm getting a blank window with an OK button. When I press the OK button, iTunes closes. what is going on?

    Have just tried to open iTunes, and I get a blank window (no dialogue, just a blank window) with an OK button. When I press OK, it closes down (not having opened anything) and shuts down. I've tried opening while holding down the option key, as I would to open with a new iTunes folder, and I"m getting the same empty window with an OK. Very frustrating, has anyone seen this, and can anyone help?  Thanks in advance,  Kate

    so, I called a friend who's more experienced than I am. He walked me through some steps, checking iTunes and we got the same dialogue -free window with the OK button. We then uninstalled iTunes, downloaded it afresh, and it opened with no problems. Seems to all be there, music, tv, etc. Not sure what the issue was, but it has stopped this problem.

  • When I click on a link, sometimes it will open a blank window & do nothing

    # Question
    When I click on a link, sometimes it will open a blank window & do nothing

    Click the link with the scroll wheel.

  • Open a browser window with a different icon

    I normally have many browser windows and tabs open at the same time. My job requires quick context changes.
    I would like to open a window that has a different icon in the tool bar so I can get to that one quickly.
    Putting an icon with a preset urls works great but I would like this one session to have a unique icon that stand's by itself in the toolbar.
    I'm using Windows 7 but may need to do this with *nix systems in the future.

    HI nynjnc,
    Thank you for your question. I understand that you would like an icon in the toolbar that opens a session/window pretty quickly.
    There is an icon in the customize menu in the new Australis menu that is titled "New Window" that would open a blank window.
    However if you are looking to open a specific page try this add on: [https://addons.mozilla.org/en-US/firefox/addon/custom-buttons/?src=search Custom Buttons]
    Post back to let other users know if this worked for you!

  • Opening new applet windows with button

    I'm having a bit of trouble. I have this button when you click it, would open up another window with text in it. That works perfectly. But when I try to add another button for another window, it doesn't go perfectly.
    I took out the useless code to show you the main stuff I'm working with.
    import java.awt.*;
    import java.applet.*;
    public class HorseRacing extends Applet
        CustomFrame gameWindow;
        CustomFrame creditWindow;
        Button openGame, openCredit;
        Image redHorse, yellowHorse, blueHorse, orangeHorse;
        public void init()         
              //Initializes the images
            redHorse = getImage(getCodeBase(), "../classes/horsered.GIF");
            yellowHorse = getImage(getCodeBase(), "../classes/horseyellow.GIF");
            blueHorse = getImage(getCodeBase(), "../classes/horseblue.GIF");
            orangeHorse = getImage(getCodeBase(), "../classes/horseorange.GIF");
              //Instructions window
            gameWindow= new CustomFrame("21 Century Horse Racing - Instructions", redHorse);
              openGame=new Button("View Instructions");
              add(openGame);
              //Credit window
              creditWindow=new CustomFrame2("21 Century Horse Racing - Credits");
              openCredit=new Button("View Credits");
              add(openCredit);
        //  Method Name: action()
        //  Parameters Passed: Event variable evt, Object varible obj
        //  Data Returned: Variable true
        //  Method Purpose: This block responds when the user takes an action
        //                  (such as hitting the return key). It causes the paint
        //                  block to be done again
        public boolean action(Event evt, Object arg)
            Graphics screen=getGraphics();
               boolean visible=gameWindow.isShowing();
            boolean visible2=creditWindow.isShowing();
               if(evt.target instanceof Button)
                 if(visible)
                         gameWindow.hide();
                         openGame.setLabel("View Instructions");
                    else
                         gameWindow.show();
                         openGame.setLabel("Close Instructions");
                    if(visible2)
                         creditWindow.hide();
                         openCredit.setLabel("View Credits");
                    else
                         creditWindow.show();
                         openCredit.setLabel("Close Credits");
            return true;
    //  Name: Sachit Harish
    //  Name of Program: CustomFrame
    //  Date Started: May 15, 2003
    //  Date Finished: 2003
    //  Program Description: This is a racing game where the program will
    //                               generate random odds for the 4 horses. The user
    //                               can then choose their horse and place a bet.
    //                               The user will then see the horses race, and the
    //                               money will be handed out depending on the odds.
    class CustomFrame extends Frame
         CustomFrame(String title,Image redHorse)
              super(title);
              Graphics screen=getGraphics();
              //getClass().getResource("../classes/horsered.GIF").getImage();
              //redHorse=getImage("../classes/horsered.GIF");
              //screen.drawImage(redHorse, 0,0,10,10,this);
         public void init()
              setBackground(Color.gray);
         public void paint(Graphics screen)
              resize(430,280);
              screen.setColor(Color.lightGray);
              screen.fillRect(0,0,500,500);
              screen.setColor(Color.black);
              screen.drawRect(15,40,402,185);
              screen.drawRect(14,39,404,187);
              screen.setColor(Color.gray);
              screen.fillRect(16,41,401,24);
              screen.setColor(Color.black);
              screen.drawString("- - Instructions - -", 160,58);
              screen.drawLine(15,65,417,65);
              screen.drawString("    Once you start clicking on the checkboxes to choose your horse, the", 20,80);
              screen.drawString("odds will be created beside the horses. You can then select the horse",20,95);
              screen.drawString("you want with the checkboxes and in the input box place your bet amount",20,110);
              screen.drawString("Press enter to confirm your bet and click 'Race'.",20,125);
              screen.drawString("    The horses will then race, and once they finish, the winner will be",20,145);
              screen.drawString("displayed. If you didn't choose that horse, you will lose the money you",20,160);
              screen.drawString("bet. If you won, you will be payed out depending on the odds of that",20,175);
              screen.drawString("horse. Your bank will change according to how much money you lost or",20,190);
              screen.drawString("made. Once that is over, new odds will be created and you can play",20,205);
              screen.drawString("again.",20,220);
                 //Image title = getImage(getCodeBase(), "../classes/titlepicture.jpg");
            //screen.drawImage(title, 0,0,430,220,this);         
    //  Name: Sachit Harish
    //  Name of Program: CustomFrame
    //  Date Started: May 15, 2003
    //  Date Finished: 2003
    //  Program Description: This is a racing game where the program will
    //                               generate random odds for the 4 horses. The user
    //                               can then choose their horse and place a bet.
    //                               The user will then see the horses race, and the
    //                               money will be handed out depending on the odds.
    class CustomFrame2 extends Frame
         CustomFrame2(String title)
              super(title);
              Graphics screen=getGraphics();
              //getClass().getResource("../classes/horsered.GIF").getImage();
              //redHorse=getImage("../classes/horsered.GIF");
              //screen.drawImage(redHorse, 0,0,10,10,this);
         public void init()
              setBackground(Color.gray);
         public void paint(Graphics screen)
              resize(430,280);
              screen.setColor(Color.lightGray);
              screen.fillRect(0,0,500,500);
              screen.setColor(Color.black);
              screen.drawRect(15,40,402,185);
              screen.drawRect(14,39,404,187);
              screen.setColor(Color.gray);
              screen.fillRect(16,41,401,24);
              screen.setColor(Color.black);
              screen.drawString("- - Credits - -", 160,58);
              screen.drawLine(15,65,417,65);
              screen.drawString("    CREDITS", 20,80);
                 //Image title = getImage(getCodeBase(), "../classes/titlepicture.jpg");
            //screen.drawImage(title, 0,0,430,220,this);         
    }If I take away everything associated with the creditWindow, it will work. But when I add that in, I get problems.
    Also, I let in those redHorse, yellowHorse, blueHorse, and orangeHorse images because thats another problem I'm having - to get an image to work in one of those new windows.
    -s64

    What happens if you change to a modern action listener?

  • Finder open a blank window

    Hi guys,
    I have a problem with my finder, if I click on the finder icon on the dock open a blank windows, nothing inside, if I try to open my mac disk nothing happen. To open terminal I need to use spotlight and make a search, can access any application because finder open a blank window
    I have a white macbook with snow leopard

    Guys,
    I solve the problem deleting all com.apple.finder.plist.* and com.apple.finder.plist under /Users/[my username]/Library/Preferences
    thank anyway

  • Open new/blank window automatically

    Hi, I nedd to open a popup window with an external url when my animation arrives to a certain state an plays a certain transition, automatically. I know that is possible "On ApplicationStart" but I don't know how to do it on any other state... help please....

    Flash Catalyst doesn't have a built in timer. You could create a blank video file the same length as you need, play it and have that trigger the new window. Or you could bring your project into Flash Builder and add the timer there. You will need to have some ActionScript knowledge for the last solution. The video trick is mentioned somewhere in the forums.
    Chris

  • When you run the Adobe Creative Cloud opens a blank window, without authorization...

    When you run the Adobe Creative Cloud opens a blank window, without authorization, without a list of programs, just empty, as in the screenshot

    Hi Vetal1000 ,
    Welcome to Adobe Forums
    You can use the below mentioned links for solution -
    http://forums.adobe.com/message/5509684
    or
    http://forums.adobe.com/thread/1251577
    Let us know if that helps !
    Thanks
    Garima

  • Is there a way to open a new window with one site when the home setting on Firefox has multiple websites?

    While working in Firefox is there a way to open a new window with one site when the home setting on Firefox has multiple websites?

    I guess I'm not explaining myself fully. I have a home page designation in firefox preferences that starts firefox up with 5 sites. that pretty fills up my screen with tabs.
    At some point I want to initiate another WINDOW in firefox (NOT a tab). I would like to be able to open up a window that ONLY has ONE tab, or as if there were only one site designated as the home page. This gives me a workspace that has my most useful sites available in tabs in one window, and also another WINDOW that I can move around in and even create more tabs without messing up my primary set of TABS (in my primary window). I see how this might not be doable without doing what I do now, which is open up a new window, and then close tabs until the new window just has one tab for me to work from.

  • When I click on an Icon on my desktop to take me to a site (such as google) I get a message that it could not find the loaction. Then it goes ahead and opens a Firefox window with the site anyway as if the message never happened.

    When I click on an Icon on my desktop to take me to a site (such as Google) I get a message that it could not find the location. Then it goes ahead and opens a Firefox window with the site anyway as if the message never happened. Then when I close the window I see that the message is still there. I have to close it separately. Any suggestions? Oh, and this only happens if Firefox is NOT already active. If I have another Firefox window open when I click on the Icon, it just opens as expected. This message appears no matter which site Icon I select. It did not happen before I upgraded to ver 9.0.

    Hello BassoonPlayer,
    Since you are using one of the the school's Macbooks, it is quite possible that the time and date are not properly set on the computer that you are using.  FaceTime will not work if you do not have the proper time zone set up for the location that you are in.  This past week, there were a two other Macbook users I've helped by simply telling them to set the Date/Time properly.  By the way, you described your problem very well, which makes it easier for us to help you.  Hope this solves your problem -- if not, post back and I can suggest other remedies.
    Wuz

  • How can I open a new window with the same website like the one I have open?

    In safari I can open a new window with the same website like the one I have open, that makes it easy continuing to navigate on a website and to go back to the original website

    Hello Andieas
    Why open a new window for fast browsing??
    Open new tabs.
    Just right click on what you want to open and click "Open in new Tab"
    It is easy and doesn't consume memory from your computer as well as easy to navigate.
    Hope you'll like it

  • Opening a popup window with fade effect

    Hi,
    I have a scenario where I want to open a pop up title window with some nice effect.
    Can you please suggest how do I achieve it?
    I have a repeater that repeats set of Text UI comps and I want to show a pop up window on MouseOver or MouseClick of each of these Text UI comps.
    Please help.
    Thank you,
    Amey

    if you want to open an title Window with a smooth fade effect there are more than one possible ways.
    1. Declare Fade Effect
         <s:Fade id="windowFade" target="{_titleWindow}" alphaFrom="0.0" alphaTo="1.0" />
    2. Execute the fade effect on openening
         2.1 start the effect after the PopUpManager.addPopUp
         PopUpManager.addPopUp(_titleWindow, this);
         windowFade.play();
         2.2 start the effect on added-Event
         protected function titlewindow1_addedHandler(event:Event):void
              windowFade.play();
    3. Make sure the effect is stopped before you start the animation with windowFade.stop()

  • I have 2 copies of Firefox open (two different windows with lots of tabs), if I reboot can I restore both sessions?

    I have 2 copies of Firefox open (two different windows with lots of tabs), if I reboot can I restore both sessions? I am familiar with clicking history/ restore previous session, but don't want to reboot to let windows update to do it's thing unless I can restore both sessions.

    If they are running different profiles, then yes.

  • Firefox 6.0 opens multiple blank windows when I restore a previous session

    Firefox 6.0 opens multiple blank windows when I restore a previous session

    Multiple tabs open when starting Firefox
    * https://support.mozilla.com/en-US/kb/Multiple%20tabs%20open%20when%20starting%20Firefox
    Restore the Default Home page
    * https://support.mozilla.com/en-US/kb/How%20to%20set%20the%20home%20page#w_restore-the-default-home-page
    Check and tell if its working.

Maybe you are looking for

  • Stressed out Student!!!! Servets

    Well lads hows it goin. Listen im getting an error trying to connect to the database to return some information. The class and the servlet app are both compiling fine, and SHOULD work, but there acting like proper knobs and i dont know why. I think i

  • I accidentally opened all my downloads in text. how can i change my settings to normal?

    can someone please help me change my settings to normal? i some how opened it in text and everything i try to download from safari opens in text such as music ect please help much appreciated

  • LF and CRs & editor

    In a previous postin, it was mentioned that for Unix executable files the LF should be used and not the CR. The member of the group gave me a Perl instruction to change the CR, or rather, perhaps to remove it. How can we "see" this instructions (if I

  • Capture MessageID in a Message Map

    I am trying to use a custom function within a message map to return the GUID assigned to the message.  I am trying to use the getMessageID() method that SAP provides; however, my message map does not compile.  I get the following error message: "cann

  • HT1414 How do I retrive my I tunes after my iphone was upgraded to 7.0?

    How do I retrive my music from itunes that was purchased after my iphone was upgraded to 7.0?