Open new browser window without buttons, menus or URl-field
Hi All
How do you make an APEX-link open a new browser window with no toolbar?
Brgds
Helge
You 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
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 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 -
I have the following problem in my Flex+AIR application. I need to embed an ActiveX component that has JavaScript API inside my application. I tried to embed it inside <mx:HTML> component but unfortunately, AIR doesnot support plug-ins or ActiveX controls. So I've decided to open it in a new browser window. I tried navigateToURL(...) method but it has two problems - it is opening a new tab in the existing browser window and there is no way for me to configure the new browser window appearance, like removing toolbar, menu bar, location bar, etc. Then I tried to open a new window from JavaScript running inside <mx:HTML> component using window.open(...) API but it doesn't open a new window at all.
Is there any way for me to open a new browser window without toolbar, location bar, etc. (which will run ActiveX control, so it cannot be AIR window) from inside AIR?
Best regards,
Arkady.Is it possible to open a new browser window using JSP?a JSP page is also an HTML page, this is client side stuff, you can do it with JavaScript.
-
New browser window without Border
Hi ,
How I can achieve of on clicking commandlink need to open a new browser window without a border as a child and having the parent window in background as frozen mode..I need to have it looking similar to popup..Im using Jdeveloper 11.1.1.6
Thanks in advance,
Kumar
Edited by: user1153329 on 19-Apr-2013 03:02You 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 -
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 -
How to open new browser window on click of command button
Hi,
We have a requirement to open an image in new window when a command button is clicked. Is there any sample explaining how to do that?
Thanks in Advance,
PradeepHi,
I have to load an applet viewer in the new browser window. I have URL to the PDF.
I ma able to load the applet viewer in new browser window using javascript. But I have to load the new PDF if the same window in already opened.
The issue here is , i am loosing the window handle if the parent page is refreshed. I want to store the window handle in session scope variable and use the same.
How do i update the session scope variable using javascript?
Thanks and Regards,
Pradeep -
JavaScript to open new browser window
I have an intranet page from which users can select various
Captivate 2 movies. When they select the link I use a simple
JavaScript function to open an appropriately sized window to run
the movie in, as they are of various sizes and some so large I need
to do away with toolbars and the like.
To save the users having to return to the Intranet page to
open another movie I want to offer them a button at the end of a
movie which would have the same effect - open a new browser window
appropriately sized for the particular movie they choose.
This should be easy: create a button, choose Execute
JavaScript and put the script in the box. Only it doesn't work.
Scouring the forums I found a few potential answers, of which
the most promising seemed to be to put the function in the
standard.js file that Captivate 2 creates and then call the
function from the Execute JavaScript dialogue. I also tried putting
the function into the HTML that is created when the Captivate is
published. Also didn't work.
I've tried various permutations in the Execute JavaScript
dialogue too. Do I or do I not need to preface the line with
javascript: or javascript:function? I tried all options without
success.
It would help my nerves if every time I republish a new
attempt it didn't overwrite standard.js!
If I could solve this I could also probably solve my other
requirement to close the browser window when the movie stops - I
gave up on that last year as not being worth the effort.
Any help will be very gratefully received.
WizardOfWellingboroHi again
Loved your statement:
The more one learns the more one discovers one doesn't know!
A former co-worker once shared this with me. It was shared
with him by a former college professor. It's quite amazing when you
think about it. I refer to it as
The Circle of Knowledge
Draw a small circle on a piece of paper. Everything that fits
inside the circle represents your total knowledge of any given
field. The edge of the circle represents everything
you are currently
aware of that you
don't know about it.
Now let's assume you learn a vast amount about the subject.
Just look at how large your circle has become! But look at the
other effect. Look at how much more
you are currently
aware of that you
don't know about it.
If you would like to ship something my way, I'll be happy to
see if it runs without issue on my PC or if I see what you are
seeing. If not, that's cool too. Just thought I'd toss out the
offer. rstone75 (at) kc (dot) rr (dot) com. Address intentionally
altered in order to obfuscate scammers.
Cheers... Rick -
Opening New Browser window for click event on an image
hi all,
I want someone to help me out solving the problem of opening
a new browser window on the mouse click event of an image or a
button etc.... The new window would contain the datagrid details
from the main window, but in an expanded form. If at all there is a
solution, I even want to know whether there is anyway for sizing
the poped up window,because I dont want the new poped up window to
cover the entire screen.
For getting better idea of my problem, the best example I
could give is the popup window that appears when we click on the
preview button while posting the message to the forum.
Someone please do help me out in this regard.
Thanks,
amar.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 Behavior
I have set a behavior in Dreamweaver CS3 to open a new
browser window to a set size and to only show scroll bars if
needed. I have left all other attributes unchecked. This works fine
in all browsers including IE6 but IE7 ignores all my settings and
just opens a normal full size browser window showing scroll bars,
address bar, menus etc. Can anyone tell me how to make IE7 open a
new browser window to my settings using the behaviors in
Dreamweaver CS3?
Thanks.
Russ.I cannot reproduce this in IE7. Your OBW behavior works just
the way you
want for me. In your code, make sure that this is all on one
line -
<li id="cam"><a href="#"
onclick="MM_openBrWindow('
http://jkbmwebcam.co.uk/','webcam','width=640,height=480')">Webcam</a></li>
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
==================
"rjay60" <[email protected]> wrote in
message
news:[email protected]...
> Hi Thanks for your reply, heres the code.
>
> <!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>
> <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
> <!-- TemplateBeginEditable name="doctitle" -->
> <title>Untitled Document</title>
> <!-- TemplateEndEditable -->
> <link href="../css/main.css" rel="stylesheet"
type="text/css" />
> <!--[if IE]>
> <link href="css/iehacks.css" rel="stylesheet"
type="text/css" />
> <![endif]-->
>
>
> <!-- TemplateParam name="id" type="text"
value="currentPage" -->
> <!-- TemplateBeginEditable name="head" --><!--
TemplateEndEditable -->
> <script type="text/javascript">
> <!--
> function MM_openBrWindow(theURL,winName,features) {
//v2.0
> window.open(theURL,winName,features);
> }
> //-->
> </script>
> </head>
> <body id="@@(id)@@">
> <div id="container">
> <div id="header">
> <div id="banner1">Cheapest Prices
For..</div>
> <div id="banner2">Used, Secondhand, Repossessed,
Ex Lase Photocopiers,
> Laser Printers & Fax Machines.</div>
>
> <div id="banner3">Probably..</div>
>
> <li id="home"><a
href="../index.html">Home</a></li>
> <li id="contact"><a
href="../contactus.html">Contact</a></li>
> <li id="about"><a
href="../aboutus.html">About Us</a></li>
> <li id="find"><a href="../findus.html">Find
Us</a></li>
> <li id="cam"><a href="#"
> onclick="MM_openBrWindow('
http://jkbmwebcam.co.uk/','webcam','width=640,height=4
> 80')">Webcam</a></li>
> <li id="howto"><a href="#">How To
Buy</a></li>
>
> </div>
> <!--header ends here -->
> <div id="sidebar">
>
> <li class="sidebarMenuHeader">Product
Guide.</li>
> <li id="copiers"><a
href="#">Photocopiers.</a></li>
> <li id="printers"><a href="#"> Laser
Printers.</a></li>
> <li id="fax"><a href="#">Fax
Machines.</a></li>
> <li id="export"><a href="#">Export
Machines.</a></li>
> <li id="offers"><a href="#">Special
Offers.</a></li>
> <li id="consum"><a
href="#">Consumables.</a></li>
> <li class="sidebarMenuHeader">Information /
Help.</li>
> <li id="about"><a href="#">About
Us.</a></li>
> <li id="aboutyou"><a href="#">About
You.</a></li>
> <li id="aboutsite"><a href="#">About Our
Site.</a></li>
> <li id="contact"><a href="#">Contact
Us.</a></li>
> <li id="faq"><a href="#">Frequently Asked
Qustions.</a></li>
> <li id="howto"><a href="#">How To
Buy.</a></li>
> <li id="find"><a href="#">How To Find
Us.</a></li>
> <li id="demo"><a href="#">Web
Demonstrations.</a></li>
> <li
class="sidebarMenuHeader">Downloads.</li>
>
<a href="#">Brochures.</a></li>
>
<a href="#">Device Drivers.</a></li>
>
> </div>
> <!-- TemplateBeginEditable name="sidebarRight" -->
> <div id="sidbarRight">"sidbarRight" Goes
Here</div>
> <!-- TemplateEndEditable --><!--
TemplateBeginEditable
> name="maincontent" -->
> <div id="mainContent"> Content for id
"mainContent" Goes Here.</div>
> <!-- TemplateEndEditable -->
> <div id="footer">
> Copyright? 2008 JKBM.COM Limited</div>
> <!--RiteCounter-->
> <script type="text/javascript"
> src="
http://www.ritecounter.com/c/12/11331.js"></script>
> <noscript><a href="
http://www.ritecounter.com"><img
> src="
http://www.ritecounter.com/scripts/htmlc.php?id=11331"
alt="Free
> Website
> Visitor Counter" height="15" border=0></a>
> </noscript>
> <!--END RiteCounter--></td>
> </div>
> </body>
> </html>
> -
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
> -
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 from an Applet
I have an applet that needs to initiate a new browser window to open and go to a specified URL. Can anyone help me with this?? Thanks in advance.
http://developer.java.sun.com/developer/qow/archive/48/index.html
-
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. -
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. :)
Maybe you are looking for
-
InDesign CS5.5 won't install
I recently purchased a new computer and tried installing my cs5.5 design standard suite. Photoshop and Illustrator installed properly, but InDesign repeatedly fails installation, even after several system restarts. This is the message i recieved: E
-
Cannot See Reviewers' Comments
I initiated a shared review using Adobe Acrobat Pro XI (Windows 7) and posted the PDF on a shared local server. Reviewers used various supported versions of Acrobat Reader to comment. After the review was over, I opened the PDF but none of the review
-
What happened to contact sheet?
I have just upgraded to CS4 from CS... what happened to Contact Sheet? As in File>Automate>Contact Sheet? I don't seem to have this in my menu when I go to File>Automate... or, is there a new way to make a contact sheet that has changed from CS-CS4?
-
Contacts Randomly get erased???
Ok I Just got my iphone and I can't make it save all my contacts. Any ideas how to make my **** phone keep these numbers??
-
Is there any database table so that we can find the standard includes that we are used in the program?