Open a _blank window with a specific size
Hi !
I need to open a new _blank window with a specific size. I
don't know sh*t about javascript. Could somebody help me by showing
me a completed solution.
I searched for a "onLoad" solution to put in the html of the
targeted page but I didn't find anything. My link is from a flash
to a really basic html page.
Thx guys !
Fel_911 wrote:
> Hi !
> I need to open a new _blank window with a specific size.
I don't know sh*t
> about javascript. Could somebody help me by showing me a
completed solution.
Forum Archives:
http://groups.google.com/advanced_group_search?q=group:macromedia.flash.*&hl=en&lr=&ie=UTF -8
Search "pop up" or "popup"
Couple of hundreds of posts, with code samples.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
Happy New Year
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
Similar Messages
-
Link to new window with a specific size
I want to link to a new window with a specific size in
dreamweaver.
Thankscheck this website, I found it useful....
http://www.accessify.com/tools-and-wizards/accessibility-tools/pop-up-window-generator/ -
Opening a web page with a specific size window
I have an interesting problem. I want to open a Safari window on my computer with a specific size and screen position. Is this possible to do? Maybe an HTML string? This would apply to a very specific web site.
If it matters, I am using a Sling Box to watch TV on my iMac. I want a "small-ish" window that opens on the lower right of the screen. What happens now is the the window usually opens in the same place as last time (the lower right) but not always. Sometimes I have to go hunting for it. And it's almost never the right size or aspect ratio which has to adjusted manually each time.
Another question: The new version of Safari insists on putting the web page name on the top of the window. Any way to turn this off?
Thanks in advance.
That's the little window in the lower right. See the page name?"Many" financial institutions and banks use special web software that all versions of Safari are incompatible with. My bank is one of those. The downloading, installing, and use of "Firefox" for an alternate browser is what they recommend, instead of Safari.
-
Opening a browser window with Java
Is there a way I can open a Browser Window (with a specific html document) from Java? Thanks.
Use Runtime.exec(cmd) with the following command:
Under Windows 9x:
command.com /C" start "urltofile.html"Under other Windows:
cmd.exe /C [start] "urltofile.html" (start is needed when url begins with 'http://") -
Clicking on a link often causes the link to open behind the window with the linik.
Clicking on a link often causes the link to open behind the window with the link.
This occurs most frequently when only one or two windows are open.Work around found.
The problem was occurring in links on a web page I created for my home page with "target=_new". Changing this to "target=_blank" fixed the problem. The old links worked fine before version16. -
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...
YanmanYep. 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
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
> -
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 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 -
How to create a String with a specific size?
how to create a String with a specific size?
For example I want to create different Strings with the size of 100 , 1000 or 63k byte?String are immutable so just initialize it with the number of characters you want.
You might want to look at java.lang.StringBuffer and see if that's what you want. -
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,
Ameyif 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 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.
-
When i open a new site on safari it always opens a new window with ads how can i stop that?
when i open a new site on safari it always opens a new window with ads how can i stop that?
Follow the instructions in the Apple article below.
Remove unwanted adware that displays pop-up ads and graphics on your Mac - Apple Support -
How do I open the photoshop window with the tools all around the screen?
How do I open the photoshop window with the tools all around the screen?
Try This:
Hope this helps!
Julia -
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.
-s64What happens if you change to a modern action listener?
Maybe you are looking for
-
I have couple of questions in FI and CO-PA.... 1. What happens when we intialise the delta for the first time in CO-PA? I read some where saying " Initialiation should be performed on Summarization level which we can do in KEDV transaction...what exa
-
can u help
-
Access SOA suite installed on VM via the host operating system
Hello All, Is it possible to create connection to SOA Servers/Domain/WLS which are part of VM from the Host machine on which VM is running. If yes , how do I configure the same. thanks
-
Can only download Yahoo messages to 6 August
Hi, I've got a brand new MacBookPro, haven't imported any info from my old mac yet, but did set up Mail with my Yahoo account. To start with it didn't want to play at all, but then I took the 'plus' out of the server addresses and it downloaded all t
-
Sending (whatsapp) messages when offline
HI Im a recent convert from BB to iPhone - my biggest miss is that using bbm you could send a (non text) message when offline and it would automatically send when you got a signal I'm using whatsapp to communicate with my bb friends but this lack of