"open browser window" size
I am updating a site that uses pop-ups for definitions
throughout the site. This is a medical site, so the pop-up
definitions are essential. The site was built before pop-up
blockers came onto the scene. I have tried replacing the script
with the "open browser window" action under the tag inspector but
cannot seem to get that to work. I do rely on DW for Java script as
it is not my strong suit. I cannot find a way to have small windows
open with DW - and avoid pop-up blockers. Does anyone have a
solution?
Thank you!
> blocker doesn't even sound - only a new page saying
"page cannot be found"
Then this is not the pop-up blocker at work. This means that
your path to
the file is wrong.
> I will search for some updated Java
Then you won't find it - it's javascript not Java.
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
==================
"Reed8" <[email protected]> wrote in message
news:e50330$j08$[email protected]..
> Thanks, but it's actually long content. Sometimes up to
3 paragraphs.
> The
> customer doesn't want to re-work the whole site to have
this information
> load
> onto "regular" web pages. But, the javaScript is so old
that the pop-up
> blocker doesn't even sound - only a new page saying
"page cannot be
> found". I
> though that the behaviour panel would help to update the
script - adding
> "open
> browser window" but it doesn't show up as a link when I
use this method -
> and
> these need to be clearly defined as links. I will search
for some updated
> Java
> - but I had hoped that DW studio 8 would have this a
solution.
> I do love the 'overlib' though - thanks for the tip!
>
Similar Messages
-
Question about Behaviors and Open Browser Window
First my link:
http://www.progressity.com/portfolio.htm
I've created a Portfolio section in my web site. When you
click on one of the thumbnails you get a small browser window
(setup with Behaviors/Open Browser Window size settings) with a
link to visit the site. The problem is in visiting the actual site
the browser window is locked to the smaller size. What am I
missing? I didn't set a behavior for the "visit site" link. But
it's defaulting to the same size.Old Shoe wrote:
> First my link:
>
>
http://www.progressity.com/portfolio.htm
>
> I've created a Portfolio section in my web site. When
you click on
> one of the thumbnails you get a small browser window
(setup with
> Behaviors/Open Browser Window size settings) with a link
to visit the
> site. The problem is in visiting the actual site the
browser window
> is locked to the smaller size. What am I missing? I
didn't set a
> behavior for the "visit site" link. But it's defaulting
to the same
> size.
You didn't do anything wrong. If your browser window is a
certain size, then
if you click on a link in it, it will stay that size. What
you might want to
do is enable the scrollbars and resizing for the web site New
Browser
Windows so when it opens small the user can enlarge the
window. Though you
probably want the toolbars and everything to show so they can
actually
navigate.
MD -
Window size will not change in open browser window behaviours
Despite changing the sizes of the window in the edit function of
edit open browser window it always opens up as one big page.
My code is
<p><a href="popup.html"><img src="../Existing business1.jpg" alt="existing1" name="services" width="359" height="283" id="services" longdesc="http://Hr existing" onclick="MM_openBrWindow('popup.html','popup','width=430,height=300')" /></a></p>
Can anyone help?
ThanksWhich browser(s) are you testing?
Have you got a URL to your test pages yet? That's the best way to get help.
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 Browser Window - Can't control Fx3 window size
http://pacificwindshield.com/auto_windshield_replacement.html
The Contact/Inquire button (upper right) opens a small form
using DW's Open
Browser Window behavior. I have set the window size to 400 X
340. It works
perfectly in IE6, but not in Fx3. There it opens to the
current default Fx
window size.
What do I need to change to make the form open at 400 X 340
in Fx3?
Thanks
WaltThanks. I'll upgrade to SP3, don't know why my auto update
didn't handle
that already.
I just checked and the window opens perfectly in Fx2.
Interesting.
Thanks again.
Walt
"Dooza" <[email protected]> wrote in message
news:gb8i2k$f07$[email protected]..
> Walt F. Schaefer wrote:
>>
http://pacificwindshield.com/auto_windshield_replacement.html
>>
>> The Contact/Inquire button (upper right) opens a
small form using DW's
>> Open Browser Window behavior. I have set the window
size to 400 X 340. It
>> works perfectly in IE6, but not in Fx3. There it
opens to the current
>> default Fx window size.
>>
>> What do I need to change to make the form open at
400 X 340 in Fx3?
>>
>> Thanks
>
> Hi Walt, FF3 on XP/Pro SP3 does as you expect.
>
> Dooza -
Open browser window behavior in Mac not working right
I am simply selecting my text in my html document and then selecting "Open Browser Window" from the Behaviors panel. I then put in the info for the file I want it to open along with the size, etc...
When I test it in the browser (Safari) the link works but the rollover features don't show ... it doesn't show as a link in the browser window. I followed the tutorial exactly and the instructor's browser showed the link as a rollover. It's driving me a bit crazy.
I'm using CS5 on the latest version on Mac OS (Snow Leopard).
I can put up an example if needed.
Thanks so much for any assistance.
BCAll I can tell you is that when you browse to that link URL, you do not see a JPG image, you see this page -
<!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" />
<title>Apartment Anchor - Free Apartment Locating Service | ApartmentAnchor.com</title>
<style type="text/css">
.content {
width: 400px;
a {
font-size: 20px;
</style>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25512543-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
</script>
</head>
<body>
<div class="content">
<ol>
<li><a href="http://apartmentanchor.com/blogs">Houston Apartment Blog</a></li>
<li><a href="woodlands/woodlands-tx-apartments.html">Woodlands Texas Apartments</a></li>
<li><a href="clear-lake/clear-lake-tx-apartments.html">Clear Lake Texas Apartments</a></li>
<li><a href="cypress-texas/cypress-tx-apartments-for-rent.html">Cypress Texas Apartments</a></li>
<li><a href="river-oaks/houston-river-oaks-apartments.html">Houston River Oaks Apartments</a></li>
<li><a href="spring-texas/spring-apartments-for-rent.html">Spring Texas Apartments</a></li>
<li><a href="league-city/league-city-tx-apartments.html">League City Texas Apartments</a></li>
<li><a href="houston-texas-apartment-search-engine.html">Houston Apartment Search Engine</a></li>
<li><a href="get-availability-information.html">Get Apartment Listing</a></li>
</ol>
</body>
</html>
Do you have that page on your site? Is that your home page?
Perhaps you have some hidden redirection going on via an htaccess file? I dunno.... -
Behaviors: Open Browser Window
When I have a link with behaviors to "open browser window" I
do get the new browser window opening up at the desired dimentions
that I specified. The problem is the main page too opens up that
same URL. How do I prevent it from doing so?Wait - he removed that (as recommended originally) in later
posts in the
thread. Or maybe he didn't.
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
==================
"David Powers" <[email protected]> wrote in message
news:gen134$8pe$[email protected]..
> Edmond4 wrote:
>> it appears the SmartLink didin't insert or code it
right.
>
> There's nothing wrong with SmartLink. The answer, as
always, lies in the
> code:
>
> <td valign="top" class="p_videoTitle"
>
onmousedown="MM_openBrWindow('/port.html','Portfolio','width=750,height=600')">3D
> Demo Reel<br />
> <a href="/port.html"
>
onclick="dpSmartLink('/port.html',0,700,525,'c:16','s');return
> document.MM_returnValue">Watch in 2X
Size</a></td>
>
> The onmousedown attribute triggers MM_openBrWindow
whenever anyone clicks
> anywhere in that table cell. SmartLink has been applied
to a link inside
> that cell. Consequently, clicking the link triggers both
SmartLink and
> MM_openBrWindow. Remove the Open Browser Window behavior
from the table
> cell, and it will work the way you intended.
>
>
> --
> David Powers, Adobe Community Expert
> Author, "The Essential Guide to Dreamweaver CS3"
(friends of ED)
> Author, "PHP Solutions" (friends of ED)
>
http://foundationphp.com/ -
Open browser window - not working right in different browsers
My client wants to link to a video on another company's site (he has permission). When I use the DW behavior of Open Browser Window in a specifc size it acts weird, depending on which broswer is used. I've used this function many times over the years and never had this problem until now.
Here is the page: http://www.jesseyoung.com/clients/pristine/services/chimney_sweeps.shtml If you click on the blue graphic "Chimney safety institute of America" it is supposed to open in a 620x460 window. But the client says that sometimes it opens a second full browser window of the site, and also a window with the video, which is not sized properly. It happens with Safari and Firefox, on both is Mac and PC. On my PC it all seems to work fine.
Any suggestions? Could this be something to do with the fact that the video is hosted on someone else's site?
-JesseTry this tutorial:
http://alt-web.blogspot.com/2012/03/create-pop-up-window-in-dreamweaver.html
Nancy O. -
I used an extension I bought to have more control over
flash's "Open Browser Window' behavior. The new windows open at a
smaller size and are centered in Safari and Firefox on my Mac but
do nothing when the browser is Internet Explorer on a PC.
Thanks if you can help.
See code:ask for you money back and use the externalinterface class to
call a javascript function that controls your new window. -
I've setup a table using a spry vertical navigation bar in
each cell. I then set the second level (flyout) item to use a
clickon open browser window with a size set at 300 x 300 px....
now, when I test the code in Safari, I'm getting two windows that
open in the correct size, one right on top of the other.. but,
while the top window is the correct link, the bottom window is the
same file that opens with all the links... I'm hoping this makes
sense.. I may be trying to do something that shouldn't be done
using a Spry bar....when I try to remove the # in the first link,
the spry code is removed... this is probably my lack of java script
knowledge.... I've attached my code...
Is there anything I can do, or should I abandon the idea...?
thanks.
Jilljcecz wrote:
> never mind...found it!
> the missing #
hmm, sounds like you may have solved your problem in an
undesirable way.
I am guessing now, but your solution replaces the href value
with # ?
That will work, however it will also make it impossible for
folks with
javascript turned OFF - or Search Engines which do not use
javascript -
to reach your linked page. Instead do this:
<a
href="
http://www.temple.edu/photo/photographers/cartier_bresson/pages/boy.htm"
onclick="MM_openBrWindow('
http://www.temple.edu/photo/photographers/cartier_bres
son/pages/boy.htm','','scrollbars=yes,resizable=yes,width=400,height=500');return
false">Henri Cartier-Bresson</a>
Notice I inserted ";return false" in there. Now everyone will
get to
see your linked page, with or without javscript.
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/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
I am using the Open Browser Window behavior. When test on my
machine, it works fine in IE, Safari, Firefox and Navigator. When I
upload to my test server it does not open at the correct size in IE
7 (did not test earlier versions) and Safari 3. In both browsers,
the new window is tiny, whereas I am specifying 460 wide and 490
high.
The code for this behavior is: <li>Chairman - John
Andrews (<a href="#"
onclick="MM_openBrWindow('Bios&Roles/BioJMA.html','BioJMA','width=460,height=490')">b io</a>)</li>
The page is at:
http://www.collabracom.com/Home-Test8/About/Index.html#
I have the behavior inside a Tabbed Panel. The links for this
behavior on on the "Leadership" tab.
JohnMy pet peeve - a website in a single page.
It works fine for me in IE7. Once I found the tab.
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
==================
"John-Andrews" <[email protected]> wrote in
message
news:fen9cg$10n$[email protected]..
>I am using the Open Browser Window behavior. When test on
my machine, it
>works
> fine in IE, Safari, Firefox and Navigator. When I upload
to my test
> server it
> does not open at the correct size in IE 7 (did not test
earlier versions)
> and
> Safari 3. In both browsers, the new window is tiny,
whereas I am
> specifying
> 460 wide and 490 high.
>
> The code for this behavior is:
Chairman - John Andrews (<a href="#"
>
onclick="MM_openBrWindow('Bios&Roles/BioJMA.html','BioJMA','width=460,height
> =490')">bio</a>)</li>
>
> The page is at:
http://www.collabracom.com/Home-Test8/About/Index.html#
>
> I have the behavior inside a Tabbed Panel. The links for
this behavior on
> on
> the "Leadership" tab.
>
> John
> -
Open Browser Window behavior not working in IE6 Win
Using DW 8 on Mac and can't get this Open Browser Window
behavior to work in IE 6 on a Windows machine. Any
suggestions?This page is a GoLive page, and it throws a js error when it
loads because
of some of the GoLive code you have left therein.
I see that link as orange in IE6. And when you click on the
link, you throw
another js error, because the function (MM_openBrWindow) is
not defined on
the page - which is what causes the link to open in a
full-size browser
window. If it were not for that js error, you would get TWO
windows opening
since you have BOTH a link and the behavior, and the behavior
is not
'killed' with a return false, like this -
<a href="aptapp.html" class="override"
onClick="MM_openBrWindow('aptapp.html','QualifyforFREEMOVE','scrollbars=yes,width=760,hei ght=800');return
false">
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
==================
"mcjack" <[email protected]> wrote in
message
news:elul28$le2$[email protected]..
> Here you go:
http://www.freemovetexas.com/new
> Only the index here. See the last text line of the the
center text and the
> link on the What You MUST DO to get Your FREE MOVE" blue
box on the left
> nav
> area.
>
> Sorry to double up, but I'm up against a deadline and I
also have another
> problem with the link color override for this same Open
Browser Window
> behavior
> in the last line of text in the main center td. The a
color for the page
> is
> white but the .override a:link color is orange. The link
shows white in an
> IE6
> browser. I'm kinda green at this. Can you suggest on
this link color
> problem
> also for IE6? Thanks!
> -
How Do I Set a Specific Browser Window Size?
I have a question about setting a browser window to open up
at a specific size. I would like to have a pop-up window open up to
a 400 x 600 pixel window. Is this possible in Dreamweaver? Is there
hard code I can place in to make this happen? Any help on this
would be greatly appreciated!
Thanks...:-)dantrues wrote:
> I have a question about setting a browser window to open
up at a specific size.
> I would like to have a pop-up window open up to a 400 x
600 pixel window. Is
> this possible in Dreamweaver?
Select the link that will open the new window, and then apply
the Open
Browser Window behavior from the Behaviors panel.
David Powers
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "Foundation PHP 5 for Flash" (friends of ED)
http://foundationphp.com/ -
Behaviours, open browser window
hi,
have an annoying problem using the "open browser window"
Behaviour. Basically whats happening is that i put up a page of
photos that i have reduced in size, users then click on a photo
that they want to see. Using the "open browser window" a new page
appears with the enlarged photo on it. The problem is this, if
users scroll down my webpage and select a photo, the new window
opens no prob but when they return to the original previewing page
it has returned to the top of the page again. The use then has to
scroll back down to where they left off! this is very annoying for
me and them. HOW DO I FIX?
here is the page im question so you can see for yourself
http://www.vas-ni.com/spares%20gallery.html
i am using Dreamweaver 8. I create hotspots then assign
behaviours to them..
thanksChange this -
<area shape="rect" coords="3,3,101,76" href="#"
onclick="MM_openBrWindow('web
pages/15.html','','width=400,height=300')" />
to this -
<area shape="rect" coords="3,3,101,76" href="#"
onclick="MM_openBrWindow('web
pages/15.html','','width=400,height=300');return false;"
/>
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
==================
"ncaskey" <[email protected]> wrote in
message
news:e3t6n0$5fo$[email protected]..
> hi,
>
> have an annoying problem using the "open browser window"
Behaviour.
> Basically
> whats happening is that i put up a page of photos that i
have reduced in
> size,
> users then click on a photo that they want to see. Using
the "open
> browser
> window" a new page appears with the enlarged photo on
it. The problem is
> this,
> if users scroll down my webpage and select a photo, the
new window opens
> no
> prob but when they return to the original previewing
page it has returned
> to
> the top of the page again. The use then has to scroll
back down to where
> they
> left off! this is very annoying for me and them. HOW DO
I FIX?
>
> here is the page im question so you can see for yourself
>
http://www.vas-ni.com/spares%20gallery.html
>
> i am using Dreamweaver 8. I create hotspots then assign
behaviours to
> them..
>
> thanks
>
> -
Open browser window in same location
I am using Dreamweaver CS3. I have photos opening up to their
original size with the open browser window behavior. The problem I
am having is that the new browser opens up bringing the main page
back to the top with the new window at the top. How can I get is to
open in the exact location where the photo is shown without
bringing the main browser window to the top? Should I be doing
something else beside using behaviors?quote:
Originally posted by:
Newsgroup User
"Alan" <[email protected]> wrote in
message
news:C596B4D8.31C779%[email protected]..
>
>
>> The problem I am having is that the new
>> browser opens up bringing the main page back to the
top with the new
>> window at
>> the top. How can I get is to open in the exact
location where the photo
>> is
>> shown without bringing the main browser window to
the top?
>
> If the page with the link is jumping to the top, a guess
would be you have
> used # as the null link? Which the browser sees as an
empty anchor link.
>
> change the # to
> javascript:;
It would be better to use an arbitrary string after the "#",
making sure
that that fragment identifier does *not* match a named anchor
on the page.
That way the document won't jump *and* won't freeze either;
which can happen
in IE6 when users click on links that have "javascript;" for
href values.
An even better approach of course would be to use a "real"
href (what's
loaded in the popup) with a "return false" statement...
Thierry | Adobe Community Expert | Articles and Tutorials ::
http://www.TJKDesign.com/go/?0
Spry Widgets |
http://labs.adobe.com/technologies/spry/samples/
[click on
"Widgets"]
Spry Menu Bar samples |
http://labs.adobe.com/technologies/spry/samples/menubar/MenuBarSample.html
Thanks for the responses. The java script command worked
well. To avoid IE issues, I made the link like this: #!. That makes
it pop up right there. The open browser command was done on the a
tag for the image (the original # place holder). How would you use
a "real" href with the return false command? Can you give me an
example?
Here is the html code:
<a href="#!"
onclick="MM_openBrWindow('assets/images/portfolio/halfup_48.jpg','halfup48','width=480,he ight=640')"><img
src="assets/images/portfolio/halfup_48.jpg" alt="halfup48"
width="135" height="203" /></a>
M -
Can you set opening browser window dimensions?
Can I set the window size that will open when a page is
opened from clicking the link for that page?
thksSelect your link -> Behavior Panel > Add Behavior (+)
> Open Browser
Window >
enter the dimensions, url, etc.
Anurag
Orr 4 wrote:
> Can I set the window size that will open when a page is
opened from clicking the link for that page?
> thks
Maybe you are looking for
-
Problem viewing iWeb pages on PC
Hi, this may have been addressed already, but I didn't see it anywhere. I believe I have v1.1. I have a couple of issues. One, the fonts that are "loaded" to the template, don't even show up correctly on safari or any other browser I have. So I had t
-
Everytime my iPod tries to update songs from iTunes, it says "Unknown error [-50]" what does that mean and how can i fix it?
-
Valid from and valid to properties under history preservation transform
I have created_dt and last_updated both date columns in source table and also in target table. Now under history preservation transform for Date columns: For "Valid from" and "valid to" properties: which column should i pick? how can i use created_dt
-
Can you figure out what was the problem in this simple 3 liner code?
Hello, below is a class to demonstrate a problem I see that I can't understand. I create an instance of the enclosing class at class level, another instance in static main method. Class below fails at run time with stack overflow exception. It's all
-
What does it mean when there's a _ at the beginning of a username?
Example: _softwareupdate Thanks.