Open Browser Window Behavior
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.
John
My 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
>
Similar Messages
-
Trouble with the Open Browser Window behavior
I have a page with thumbnail images. I want to be able to
click the thumbnail and have a new window open with just that image
in the window. If I don't assign a link to the thumbnail, and
select the Open Browser Window behavior, the only 3 options for
when to open the window are onLoad, onError, or onAbort. I want it
to be opened onClick. If I do assign a link to the image, and then
select the Open Browser Window behavior, it gives me the option to
open the window onClick. However, when I test it, it opens 2 new
windows - the one I want, and the one that is the link that I
assigned to the image.
I can't figure this out! Any help would be greatly
appreciated.
SamYou must always do the following when applying behaviors to
images:
1. Assign a link to the image first, even if it is a null
link. Use the
Property inspector to do this.
2. Click on the image in Design view, then click on the
<a> tag that you
see on the Tag inspector bar at the bottom of the document
pane so that the
anchor tag is selected.
3. Now apply your behavior.
You *can* usually truncate this process as follows -
1. Select the image in Design view and make sure that
<img> is selected on
the Tag selector bar.
2. Apply the behavior.
3. Use the behavior panel to set the event desired to
<A> onClick, or <A>
onMouseOver, or any of the appropriate "<A>" containing
items in the list.
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
==================
"sammas" <[email protected]> wrote in
message
news:f8t28c$b6j$[email protected]..
>I have a page with thumbnail images. I want to be able to
click the
>thumbnail
> and have a new window open with just that image in the
window. If I don't
> assign a link to the thumbnail, and select the Open
Browser Window
> behavior,
> the only 3 options for when to open the window are
onLoad, onError, or
> onAbort.
> I want it to be opened onClick. If I do assign a link to
the image, and
> then
> select the Open Browser Window behavior, it gives me the
option to open
> the
> window onClick. However, when I test it, it opens 2 new
windows - the one
> I
> want, and the one that is the link that I assigned to
the image.
>
> I can't figure this out! Any help would be greatly
appreciated.
>
> Sam
> -
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!
> -
Open Browser Window Behavior - Why is hover cursor and I-beam vs finger?
Why do links that use the Open Browser Window Behavior create
an I-Beam when one mouses over while all other links display the
finger icon? The I-Beam is hard to see and not the "normal" thing a
visitor to a site expects to see when hovering on a link. Anybody
know what this is about?
I am attaching the code. At least I think I am...
And here is a page in a site I am working on that shows this
phenomenon:
Click
here.
The link I am referring to is in the body: "Let's try a Notes
Popup here"
Thanks!Your A tag is missing its href atrribute, which in this case
should be
"popuptest_1.html" and then add ";return false;" after the
openBrWindow
call, so this:
<a style=""
onclick="MM_openBrWindow('popuptest_1.html','','resizable=yes,width=300,height=200')">Let
try a Notes Popup here.</a>
becomes this:
<a style="" href="popuptest_1.html"
onclick="MM_openBrWindow('popuptest_1.html','','resizable=yes,width=300,height=200');retu rn
false">Let's try a Notes Popup here.</a>
emichael brandt
Phil Dineen 2 wrote:
> Why do links that use the Open Browser Window Behavior
create an I-Beam when
> one mouses over while all other links display the finger
icon? The I-Beam is
> hard to see and not the "normal" thing a visitor to a
site expects to see when
> hovering on a link. Anybody know what this is about?
>
> I am attaching the code. At least I think I am...
>
> And here is a page in a site I am working on that shows
this phenomenon:
>
http://www.newcombat.net/style_list_reference.html
> The link I am referring to is in the body: "Let's try a
Notes Popup here"
>
> Thanks!
>
>
> -
Open Browser Window behavior not working
Just getting started with DW from GL - have successfully imported a few sites into DW from GL and am having trouble getting the Open Browser Window behavior to work. Worked fine in GL, code is similar but different. Have tried different things and am out of ideas. I'm not too code-savy.
Here's where the non-working behaviors/actions are: http://www.philasecurities.com/data/luncheon.html
When a user clicks on the red "more..." links they should open a new browser window like they do in the "Click
here for previous years..." section.
Any help would be appreciated!bregent, thanks for your input but unfortunately most of that's greek to me. Could you either supply me with sample code for one of these links or explain what I'm doing wrong in the design mode? I've followed DW instructions and as far as I can tell I'm doing what I'm supposed to in the behaviors tag inspector. Not sure about some of the settings I should have when browsing for the linked file to open in the new browser window. What should the parameters be set to? What should the relative link be set to, document or site root? How about some of the other options like Select file name from: data sources, server, site root? I've messed with them and tried different combinations but nothings working for me.
-
Ie7 open browser window behavior problem
I'm stuck! I'm using the open browser window behavior to have
a click through to a small photo on my site. I have defined the
dimensions and it works fine in firefox but in ie7 the browser
window is too wide - wider than the size I defined...
Can anyone help?
You can see the problem is you visit
http://www.dizigniz.pwp.blueyonder.co.uk/anastasia/anastasia.htm#
and click on the 'view' button under 'Swatches'If you are opening an image directly in the browser, you will
never succeed
in doing this. Is that what you are doing? If so, then
investigate the use
of
http://www.valleywebdesigns.com
---> JustSo Picture Window. I couldn't
do without it!
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
==================
"dizigniz" <[email protected]> wrote in
message
news:f0ki13$mcu$[email protected]..
> I'm stuck! I'm using the open browser window behavior to
have a click
> through
> to a small photo on my site. I have defined the
dimensions and it works
> fine in
> firefox but in ie7 the browser window is too wide -
wider than the size I
> defined...
> Can anyone help?
> You can see the problem is you visit
>
http://www.dizigniz.pwp.blueyonder.co.uk/anastasia/anastasia.htm#
and
> click on
> the 'view' button under 'Swatches'
> -
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.... -
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 -
Open Browser window behavior question
I have linked files set to open in a 600x700 browser window when an image is clicked. Everything works fine, but when my cursor is over the image, there is no icon (cursor doesn't change to a hand) that indicates a linked file to the user. How can I fix this?
You can see the page here.Add a CSS style for images
cursor:pointer; -
Can't get Open Browser Window behavior to work.
Can anyone please tell me what I'm doing wrong? I don't know a lot of code and work
mostly in Design mode. I'm a new DW user having just begun importing sites from GoLive to DW.
Here's a page where they're not working: http://www.philasecurities.com/data/luncheon.html
The "more..." links are not opening new windows like they used to in GL.As I already mentioned, try removing the '/' preceding the function:
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features); -
How to get the text of an onclick/'open browser window' behavior to look like a link
If I set this behavior to a specific word (on an <a> tag without the 'href') the link is not underlined and the mouse does not turn into a pointer. If I set this behavior to a full <a> tag with the 'href="..."' then the browser opens a new window (as per the behavior) and a new page on the original window (as per the href="..."). How do I get the link to appear as a link (underlined and mouse changing into pointer) without having to assign a href="..." to the <a> tag?
Gary,
I appreciate the time you are giving me to address my question. However, even though I would like to have this link stand out to the viewer, I do not want it to stand out from all the other links that surround it. Also, I have tried the solution you have given me, yet it to also causes the browser to load the new window and the original page. There is no difference whether the behavior is linked to <a href> or some other tag as long as there still is an <a href> the original browser will load the new page as well. -
Why does "Open Browser Window" Behavior only give the option for "OnMouseOver"?
The title says it all. I want to use the OnClick behavior butit will not let me have that option. I can not figure it out, nor find anything on Google.
Any help would be appreciated.
Thanks,
Ryan.Which one?
2014.0 (June of last year)
2014.1 (October last year)
2014.1.1 (most recent)
If you don't have the "latest" the general blanket statement of "update to the most recent" will probably be what you get from any customer support personnel you reach.
Personally, I haven't gone past 2014.0 yet, and probably won't for a while.
In my CC 2014.0, the OnMouseOver is the default, but when I click it in the Behavior Panel to choose other options, they're all there. -
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/ -
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!
> -
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
Maybe you are looking for
-
L7780 poor print quality after not using for 6 months
Poor print quality after not using my printer for about 6 months. Ran thru the tools (clean printhead, aligh, etc . . .) didn't help. Replaced all chartridges, still no help. I'm fairly tech savy, been in IT for 27 years starting with hardware sup
-
ITunes 9 forgetting apple TV photos tab prefs
I like itunes 9 new options for photos syncing. I choose some faces and choose to remember selected events from the last 6 months. Great. After itunes restart, go into apple tv photos tab, the faces are still selected, but not the events. Always reve
-
Only adds music after 'Ipod Reset Utility' - No choice in what is selected
Hey all, To add to the masses of problems. On my second Shuffle 2gig (replaced first one because of this problem) I can only add music to it after using the ipod reset utility. When going back into iTunes it works fine, except for the fact I have no
-
Configure Firefox to confirm before overwriting a file
I and most of the world's population do not have the best internet connection. At times it would manifest itself in a download that never finish and has to be manually canceled. The problem arises when after a successful download instead of clicking
-
Howto center an ImageIcon in a JPanel?
I'm loading some images using the ImageIcon api, but they appear at the top of the panel, how can I have them centered in the panel? Here is the relevant code: label1 = new JLabel(); label1.setIcon(image); panel.displayCard1Panel.add(labe