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
Similar Messages
-
Spawning new browser windows with jsp
in a webapp, is there a jsp way to open a new browser window? i'd like to avoid javascript if i can....
Definetely not. JSP is 100% server-side, it has nothing to do with the client-side (browser). You cannot do anything in the client-side with JSP.
You will have to use either HTML or JavaScript.
A seven-second Google-lookup with the keywords "opening new browser windows" yields as a second link:
Dan's Web Tips: Opening New Browser Windows
http://webtips.dantobias.com/new-window.html -
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 -
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
HelgeYou 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 -
Send e-mail action sometimes opens new browser window w/error
In a captivate 5 tutorial, to encourage feedback, I've added a click box with the action to send email. On Preview and Publish, this does open a new message in Outlook (if I have Outlook open) but sometimes it also opens a new browser window with the message "Navigation to the web page was canceled". Anyone have ideas on why this is occurring and how it can be avoided? Thank you.
Hi there
See if the link below helps
click here
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
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 -
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://") -
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
> -
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>
> -
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.
>>
>
> -
New browser window with javascript
Hello,
I'm trying to accomplish something similar to what has been
discussed in other threads (Jess Learnin, 9/30/2008, and another
thread from back in '07). I've tried the advice given in these
threads and have had no luck. I would like to create a button to
call a new browser window that displays a URL of my choosing. I'd
like to specify the size and attributes of the new window. I've
created a small dummy tutorial in order to work on this feature.
I'm using the "Execute Javascript" option when configuring
the button. I include the following javascript:
window.open('
http://lib.berkeley.edu/BIOS/index.html',
'myWindow','height=400, width=700, toolbar=no');
I have the Captivate button context set to "Current". I have
deselected "Continue Playing Project" (though I've tried it with
that option selected as well).
I've tried prefacing the script w/
"javascript:window.open...", but no luck.
I'm testing the file on a development server, rather than
from a local copy. When I test in Firefox, my movie simply stops
when I click the button, without opening a new window or loading a
web page. When I test in IE7, the movie stops and I get a message,
"Error on page"; still no new window.
I do notice that I'm currently running Flash Player 10. I'm
using Captivate 3. When I publish my file, my options only go up to
Flash Player 9, which is what I have chosen. I don't know if this
would make a difference.
I have also tried altering the standard.js file in the manner
that jbradley88 suggested in the 9/30/08 thread, and using the
corresponding javascript in the button properties window, with
similar unsuccessful results.
I have tried running the movie on a different computer, in
case some local setting was somehow mucking things up. I get
nothing.
Any suggestions? If anyone's willing to take a look, I can
send along my small dummy .cp file that I've been working on.
Thanks in advance.
-KellyHi John,
Here's the exact javascript that I currently have associated
with the button:
void(window.open('
http://lib.berkeley.edu/BIOS/index.html',
'myWindow','height=400, width=700, toolbar=no'));
I've tried multiple permutations, including placing
"javascript:" in front of the script, both with and without the
void().
The message in IE7 just says "Error on page". It's not a
pop-up message; it's just the small message that appears at the
bottom left of the browser window in IE7 when a page fails to load
properly. The message doesn't appear until I click on the button
that's supposed to call the javascript. There's a yellow
exclamation point icon that appears next to the "Error on page"
message. When I click on that I get:
"Problems with this Web page might prevent it from being
displayed properly or functioning properly. In the future, you can
display this message by double-clicking the warning icon displayed
in the status bar."
It also displays a pointer to the error:
Line: 1
Char: 111
Error: Syntax error
Code: 0
URL:
http://library11.berkeley.edu/bios/kelly/Practice_demo.htm
I looked at the source for the page as displayed by IE7 (have
also looked at the .htm and .js files generated by Captivate) and
haven't seen anything obvious, but I'm somewhat unschooled in such
matters.
If it would help to see what it does, you can view the demo
at the URL above.
Thx again,
Kelly -
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. :) -
Opening new browser window from image swaps
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. :)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. :) -
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 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
Maybe you are looking for
-
How do I turn off temperature alerts in Calendar
Since upgrading to Mavericks, my calendar on every day is displaying the high and low temperature for the city I live in (in fact 3 sets of temperature for the same day!) and also putting up alerts of same in the upper right hand corner of my iMac. I
-
I am using jcaptcha in struts. Whenever jcaptcha test failed then I am getting error as "You failed jcaptcha test". How can I change this error message of jcaptcha as " write the same displayed in the image " or whatever i want. Please guide me. Than
-
Selection of startup plug dynamically
Dear Gurus I am facing a little confusion in understanding the plugs of a window. Please help me in understanding the concepts and correct the following statements > Startup plugs are the plugs which the application can access > Standard plugs are
-
Scrolling in timeline goes pixelated
Hello, Whenever i watch i youutbe video people scroll through the timeline without having the picture to render. What happens for me is. I scroll through my video and the picture get's picelated and I see it loading the frame. Is this hardware sided
-
Why are photos so blurry inside and so clear outside
My photos that I take inside are most of the time blurry and the ones I take outside are not. Why is this? How can I make the photos not blurry?