Center Open Browser Window
Hi, I am using Dreamweaver 8, Windows XP. When I use the Open
Browser Window behavior, the new window opens at the top and left
edge of the original browser window. Is there anyway to have the
new window open covering the middle of the existing window?
Thanks for your help!
http://www.fourlevel.com/dreamweaver/extensions/openbrowser/index.htm
"dnigro" <[email protected]> wrote in
message
news:eu9bju$pje$[email protected]..
> Hi, I am using Dreamweaver 8, Windows XP. When I use the
Open Browser
> Window
> behavior, the new window opens at the top and left edge
of the original
> browser
> window. Is there anyway to have the new window open
covering the middle of
> the
> existing window?
> Thanks for your help!
>
Similar Messages
-
Keeping an Open Browser Window on Top?
How to keep a newly opened Browser Window on in front/top?
My java application opens a new Browser Window. Netscape moves the new window behined the parent.Hi yhbe!
Insert an javascript in this HTML document like this:
<script>
function autoCenter(){
if (navigator.appName.indexOf("Microsoft") >= 0)
self.moveTo((screen.availWidth-document.body.offsetWidth)>>1, (screen.availHeight-document.body.offsetHeight)>>1);
else
self.moveTo((screen.availWidth-window.innerWidth)>>1, (screen.availHeight-window.innerHeight)>>1);
window.onload = autoCenter;
</script>
It causes the document to center and be topmost!
Best regards. -
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!
> -
I use "open browser window" for dynanic display of pictures and it normally opens a window at the top/left side of the screen.
I know there are tools where you can specify the location of such a window, but I don't use them: top/left is OK for me.
Strangely enough, the same window opens at the center of the screen on my wife's notebook. It doesn't seem to be a Dreamweaver option, but most probably a windows (IE) option.
We both use Windows 7 with same version of Internet Explorer (8.0.7600). Can anybody explain this behaviour?
Rayquote:
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 -
Wrong URL from Fullfilment Center opens Browser in DPS App
Situation: While uploading Library an empty browser window opens when you return to application.
Could it be possible that a wrong/invalid/empty URL was sent back from the Fullfilment Center, that forces the app to open the Browser,
because the URL does not submit the neccessary order or information?
Appversion: v24
Apptype: Newsstand App with Subscription + Entitlement
Status: already available in Store and approved
Error: opens browser-window with no content ( you can't open the link in safari, pushing the arrow has no effect),
clicking done closes browser again, and it works normally. But this browser window should not open
Error appears when: Updating library when coming back to Application from another, or application has been inactive for a short period
Error does not appear when: you don't leave the app, no matter how often library uploads itself
Possible explanation: Fullfilment Center sent URL is invalid/wrong/empty or forces App to open that URL instead of opening it in the background
Who can help me with that?Hi Jerry,
Can you check the similar thread
http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d554e88c-d72f-46b0-8b1a-2f2024fcb9c0/i-e-8-browser-wont-open-pdf-file-returned-from-sharepoint-2010-search?forum=sharepointadminprevious
My Blog- http://www.sharepoint-journey.com|
If a post answers your question, please click Mark As Answer on that post and Vote as Helpful -
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.... -
I use the Open Browser Window behavior with the <A>
onClick attribute for many images and text links on my site. Works
fine, UNTIL the page gets updated via a change on the main
template. Then the link gives me a javascript error. To fix I have
to pull up each page, open the behavior, OK to save and then resave
the page. No changes made, the code does not appear to change, but
then it works. As my site grows this is becoming more and more of a
nusiance to remeber to "fix" every page that has such behaviors on
it.
I have search the forum, but didn'[t come across a similiar
error. Has anyone seen this. Is there a fix
Thanks!This means that your template does not contain the required
javascript for
the OpenBrowserWindow behavior in the head of the page. If it
did, then
every child page would contain the necessary code, and you
wouldn't have to
do the song and dance that you are doing.
Make sure it goes in a NON-EDITABLE region of the template
page.
The downside to this is that each page gets the code
(admittedly it's a
small bite) whether it needs it or not....
So - what you should do is open the particular page that has
just broken,
run through your procedure again (which writes the required
code into the
head of the page, and then copy that code (from
<script...> though
</script>), and paste it into the template page in the
same location. When
you save the template page, all child pages will be updated.
There's one nagging problem here, though. If the procedure
you describe is
working without error, then it is also true that DW is
writing that markup
into an EDITABLE region of the head of the page. If that's
the case, then
WHY IS A TEMPLATE UPDATE OVERWRITING THIS? I don't know -
would need to see
your page to know for sure....
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
==================
"JR-ITGUY" <[email protected]> wrote in
message
news:[email protected]...
>I use the Open Browser Window behavior with the <A>
onClick attribute for
>many
> images and text links on my site. Works fine, UNTIL the
page gets updated
> via a
> change on the main template. Then the link gives me a
javascript error. To
> fix
> I have to pull up each page, open the behavior, OK to
save and then resave
> the
> page. No changes made, the code does not appear to
change, but then it
> works.
> As my site grows this is becoming more and more of a
nusiance to remeber
> to
> "fix" every page that has such behaviors on it.
>
> I have search the forum, but didn'[t come across a
similiar error. Has
> anyone
> seen this. Is there a fix
>
> Thanks!
> -
iPad running iOS 5 has on the menu bar only have 4 icons, being: back, forward, bookmarks, and the "add to bookmarks", but is missing an icon after the "add to bookmarks" arrow, that is a "show all open browser windows" icon. How do I get it in my safari?
What you are seeing is how Safari works now in iOS 5. There is no way to get that icon in Safari now. There other much better browsers available in the App Store. Look at iCab Mobile, Mercury, Atomic, ....
I have been running iOS 5x for so long now, that I don't even remember if that icon did appear in earlier iOS versions -
Open Browser Window - Not working correctly.
I click the thumbnail on my homepage, I get a larger image in
a new window. Unfortunately, the homepage also redirects itself to
the larger image. You can see this at www.real9.com
I want the homepage to stay where it is, but the larger
window to open in a new window. I used the Open Browser window in
Dreamweaver to set this link up, but its not doing what I want it
too.
Help would be much appreciated, I have been trying to fix
this problem, but no success.
Thank you.On Sun, 08 Apr 2007 21:01:21 +0100, djinn
<[email protected]> wrote:
>In the link fields for rather than linking to the file or
image - enter
>this........
>
>javascript:;
That's one way of handling it. My own preference is to leave
the link in
there and add a return false after the onclick handler. That
way the
link will still work if JavaScript is not available.
To implement that, your onclick for the link looks like this:
onclick="MM_openBrWindow('pics/inside_large.jpg','LargePicture','width=640,height=480')"
Change it to:
onclick="MM_openBrWindow('pics/inside_large.jpg','LargePicture','width=640,height=480');re turn
false"
Careful of word wrap. It's all on one line.
Gary -
I built a site named greenscapepump.com. I used the behavior
"Open Browser Window" that allows a photo to be viewed in a smaller
window. I have it set up to double-click the photo name to go to
the browser window. It works on some computers but not others. I
used the same behavior on other pages in the same web site and it
is working on all computers.
The three pages under the menu "Portfolio" are: Architectural
Fountains, Waterfalls and Streambeds, and Floating Fountains, are
the pages that have problems with this behavior on some computers.
Is this an individual computer problem, or do I need to do
something in Dreamweaver to fix it?OMG - the code on the architecturalfountains page is a horror
Why do you need to use doubleclick.... most users are
accustomed to clicking
on a link wait for something to happen....
Also, the code for that dropdown is massive... are you really
committed to
that menu?
The validator found quite a few errors on that particular
page - I didn't
test each page (that's up to you :) these errors aren't
helping with your
page load also - one of the pages (can't recall which now)
just kept trying
to load and never did stop... try fixing the errors (some
more important
than others to the well being of your page) and then see
where you are at
with your pages... I'd also suggest changing the
'doubleclick' to just the
one click - really no need for anything else.
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fgreenscapepump.com%2Farchitectura lfountains.html%23
Nadia
Adobe® Community Expert : Dreamweaver
http://www.DreamweaverResources.com
|Tutorials|SEO |CSS Templates
http://www.csstemplates.com.au
http://www.adobe.com/devnet/dreamweaver/css.html
CSS Tutorials for Dreamweaver
"texasgranny" <[email protected]> wrote in
message
news:ef9h1v$4h8$[email protected]..
:I built a site named greenscapepump.com. I used the behavior
"Open Browser
: Window" that allows a photo to be viewed in a smaller
window. I have it
set up
: to double-click the photo name to go to the browser window.
It works on
some
: computers but not others. I used the same behavior on other
pages in the
same
: web site and it is working on all computers.
: The three pages under the menu "Portfolio" are:
Architectural Fountains,
: Waterfalls and Streambeds, and Floating Fountains, are the
pages that have
: problems with this behavior on some computers.
: Is this an individual computer problem, or do I need to do
something in
: Dreamweaver to fix it? -
A:hover with "open browser window" behavior?
Hi,
Is it possible to make a text link follow the a:hover style (CSS?) with the behavior of "open browser window"?
I've been using the "OnClick" option (for behaviors), but the cursor doesn't turn into the little hand symbol so I feel like people won't know that you can click on it. If I could make it change color like it does when it is a direct link, or if i could make the hand symbol appear, that would be great.
Thank you in advance!!We'd need to see your code but I'm guessing you did not highlight the link text and make it a null link.
http://alt-web.blogspot.com/2010/02/making-pop-up-window-in-dreamweaver.html
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb
http://alt-web.blogspot.com -
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 -
I have rewritten my site in Dreamweaver because I thought
this was a problem with the export from Go Live.
When I tell a link to open in a new browser window it works
but the older window also update to the linked page. This pretty
much defeats the purpose of it opening another browser window.
The link that is the problem is the link to "
http://www.yourmaclifeshow.com"
It's the only one I have put in so far since it doesn't seem to
work properly.You might also mention the need to apply this behavior to the
<a> tag
surrounding the <img>. It's a common mistake, and it
leads to other
undesirable effects.
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
==================
"E Michael Brandt" <[email protected]> wrote
in message
news:[email protected]...
>> I just don't understand why that Open Browser Window
extension in DW
>> writes the code the way it does. Seems like it
pretty much broken.
>
> Yes.it was created in the time before people considered
making sites more
> accessible to a variety of users.
>
> When created, Macromedia expected the href attribute to
be either "#" or
> "javscript:;". With either of those, the
MM_openBrowserWindow function
> works just fine in that it will NOT tell the main window
to update itself
> with the new page at the same time it opens the popup
window. However, if
> the user has javascript turned OFF, then NOTHING will
happen, there will
> be no way to get to the linked page at all. Bad.
>
> So, with this accessibility issue in mind, and with the
notion of
> "progressive enhancement" coming to the fore, the newer
way to code this
> is to have the new page's url in the href attribute
rather than simply "#"
> or "javscript:;". Now if javascript is disabled, the
javscript function
> will not fire, but the main browser window will refresh
with the new page
> so the user will get to see it.
>
> HOWEVER the consequence of this is that with javscript
ON,
> MM_openBrowserWindow will fire, opening the popup, AND
the main window
> will refresh with the new page also. To prevent this
unintended result,
> you can add ";return false" after MM_openBrowserWIndow()
to tell the
> browser NOT to refresh the main window with value in the
href.
>
> Hope that makes sense.
>
> Thierry also mentioned divaPOP. It has many advantages,
among them that
> opening new windows is simply easy as pie. For just $9
you save yourself
> lots of time and coding. You don't use the
MM_openBrowserWindow function.
> Simply have the links on your page, and divaPOP will add
its openWindow
> behavior for you. For links to external websites or to
pdf files, you need
> add no "hooks" to your links at all: divaPOP will
automatically detect
> them. For other sorts of links, like to html pages,
images, flash, word
> docs, or whatever, you merely add a special CSS class to
the link to tell
> divaPOP to do its thing. divaPOP also handles Templates
and Child pages
> with no special steps required at all. Take a look at
>
>
http://divahtml.com/products/divaPOP/open_popup_windows.php
>
>
> --
>
>
> 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
>
> -- -
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 -
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/
Maybe you are looking for
-
SAP Table index size is greater than the size of the actual table
Hello Experts, We are resolving an issue related to database performance. The present database size is 9 Terabytes. The analysis of response times through ST03N shows that the db time is 50% of the total response time. We are planning to reorganize t
-
How to edit .FLV file in Flash?
Hi, Can anybody giude me how to Edit .flv movie file in Flash Professional 8 in MAC. I can open the .flv file. I can see each frame. Now when i select some frames from the starting movie & cut(delete) those frames, I should get the remaining movie. B
-
how does intercompany SO works( the process from start to the end ( including MM side, billing and soo on ) ..please help
-
I am gearing up for a project which involves the conversion of QT files to Flash. I can only do this directly from FCP to QT conversion on my laptop which is running Tiger and CS3. I don't have this workflow available on my desktop which runs Leopard
-
AirPlay Macbook Pro 7,1 with iPhone 5
How can I get my macbook to play a video... and then i watch the video via airplay while I head downstairs to my kitchen? I have OSX 10.8.2 running on a Macbook Pro 7,1 i cant figure out this mirroring and screen sharing thing.