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
Similar Messages
-
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. -
Onclick Open Browser Window not working properly in IE
I am having one last problem with my site. Everything works just fine in Firefox, but not in IE. In IE the browser window is wider than the image. On each thumbnail there's an image map with the following coding:
<div id="bead1"><img src="images/t_bead1border.jpg" alt="bead 1" width="74" height="108" border="0" usemap="#Map" />
<map name="Map" id="Map">
<area shape="rect" coords="-24,-10,106,143" href="javascript:void()" onclick="MM_openBrWindow('gallery_bead1.html','','width=225,height=360')" />
</map></div>
Here's a link to the site:
http://www.susieharperdesigns.com/gallery_beads.html
Any help is greatly appreciated, thanks.Old Shoe wrote:
Here's my link: http://www.progressity.com/GW
On the John Calipari testimonial link a browser window pops up and plays fine in FF. In IE the window pops up but the main page changes too.
i tested in my window operating system computer, works fine , didnt see any changes -
Open Browser window not working in IE8
This site: http://www.addieville.com/ruger.htm works fine in all browsers, including IE6 and IE7. However, when I checked IE8 and click on a link, it does nothing. The only way to get the another browser window to open is to right click on the link and choose open in new window. What is my problem? (or better, IE 8's problem...)
amykay38 wrote:
One other thing - that version of IE is on XP - does that pose a problem?
I have just fired up my old XP machine. For some reason, clicking those links in IE8 on XP opens the link in a new window, but causes the main window to crash. It doesn't do that on Vista.
One thing I noticed is that you're using a script called minmax.js. Presumably, this is to emulate min-width, max-width, etc on IE. This is needed only for IE6. Since IE7, Internet Explorer has supported minimum and maximum widths and heights. The script is generating an error in IE8. -
New Browser Window not working on My Mac Intel pro
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 is not
working for me. Can you tell me how to make a new browser window to
my settings using the behaviors in Dreamweaver CS3? I do all the
steps right. what do I do when I follow all the steps for setting
up a new browser window correctly and it doesn't work!? The new
browser window never pops up even when i use an image map. The
Behavior is not working correctly and I even re-installed
Dreamweaver CS3. I am on an intel based mac pro. Running Firefox
version 3 and Safari 3.1.2 on Leopard. I have done this several
times before and it has worked. but that was before Leopard. Here
is my code:
<area shape="rect" coords="4,3,78,77" href="#"
onClick="MM_openBrWindow('images/02.jpg','','width=378,height=504')">
The only way I can get it to halfway work is add it into the
link area
on the properties panel. The window will then open but not to
the
specified size.?
please advise as this is taking a long time to figure out!?Schafer Design wrote:
> Yes site is live! However I have been able to figure out
how to make them pop
> up with the picture in the new window but now it will
not fit to the size of
> the picture? I think it is time to take it live so I can
see how it acts on the
> server. the site is
http://www.davidmyersdesign.com.
Also having a rollover
> problem on the portfolio and contact page.
> Dreamweaver is not so dreamy to me right now!
>
This is an unusual way to go about doing this. Typically you
simply put
the thumbnails up on the page rather than combining them into
a collage
and then adding imagemaps to that.
Nevertheless, it can be done.
You have code like this:
<area shape="rect" coords="0,0,80,80" href="images/12.jpg"
target="_blank"
onClick="MM_openBrWindow('images/12.jpg','','width=378,height=504')">
Try adding
;return false
to each like this:
<area shape="rect" coords="0,0,80,80" href="images/12.jpg"
target="_blank"
onClick="MM_openBrWindow('images/12.jpg','','width=378,height=504');return
false">
E. Michael Brandt
www.divahtml.com
www.divahtml.com/products/scripts_dreamweaver_extensions.php
Standards-compliant scripts and Dreamweaver Extensions
www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia -
Opening a new browser window not working.
Hi,
I have created a webpart which uses the following line of code to open a new window and close the old one when a certain condition is met:
Page.ClientScript.RegisterStartupScript(GetType(),
"hwa",
"myWin=window.self;window.open('"
+ QA_URL + "','_blank');myWin.close();",
true);
This code works in the test environment, but when I try it in the production encvironment, I am receiving a message "A referral was returned from the server/" and the new window is not
being opened.
A note, that there are two configuration values being pulled from web.config which exisit in the production environment. One of them is the ldap information to look up a user and the other is the
url that should be opened in the new window. Does anyone know why this is not happening? Https exists in both the test and the production environment.
thanks
SherazadHi,
According to your post, an error occurred when you opened a new window using JavaScript.
We can do as follows:
1. Check the LDAP configure in the web.config file.
http://stackoverflow.com/questions/6954170/a-referral-was-returned-from-the-server-exception-when-accessing-ad-from-c-sha
http://mundeep.wordpress.com/2008/07/17/a-referral-was-returned-from-the-server/
2.Try to set the SPSite.UserAccountDirectoryPath property.
PS C:> Set-SPSite -Identity http://brokensite.contoso.com -UserAccountDirectoryPath “”
3. Check the ULS log by the following link:
http://blogs.msdn.com/b/opal/archive/2009/12/22/uls-viewer-for-sharepoint-2010-troubleshooting.aspx
Best Regards
Dennis Guo
TechNet Community Support -
Dreamweaver - Chrome open a video in a new browser window not working
Hi guys, i'm pretty novice to dreamweaver and i've putting a site together recently...
One thing i am trying to do is open a video in a new browser window when the button is clicked upon.
I have done what i thought i needed to do this, and in safari and other browsers this works fine. In Google Chrome however this doesn't seem to want to work and rather then opening and playing the video it just automatically starts to download it.
I'm sure it is a simple fix and i apologise for the thread all about it but any help would be appreciated.
http://hauntingskateboards.co.uk/media.html
if you click on Joe or Dean button you should see what I mean... anyway thanks in advance!Create Pop-Up Window in DW Behaviors Panel
http://alt-web.blogspot.com/2012/03/create-pop-up-window-in-dreamweaver.html
Nancy O. -
New browser window not working in Safari or Chrome
I have a new browser window link that works in FF, but not in Safari or Crome. The link is found but does not do anything.
Please help, i am slightly desperate here.Create Pop-Up Window in DW Behaviors Panel
http://alt-web.blogspot.com/2012/03/create-pop-up-window-in-dreamweaver.html
Nancy O. -
Link to Open New Window not working on Intranet
I hope someone can help me. I created a PDF file with pages that contain links. I directed the linked files to open up in a new window. The linked files open in a new window on my hard drive but when I uploaded the pdf file and the links folder to our intranet at work, the links work but the files do not open in a new window. They open in the same window. Please help.
Thanks
JeffHello Eric,
Thanks for the prompt reply and suggestion.
Unfortunately command - option/alt - click doesn't do it either. -
Aperture Browser Sorts Not Working Correctly
There is a sorting anomaly (I think it's a bug) whereby Aperture does not sort fields correctly. I have a version naming scheme that starts with YYYYMMDD and Aperture does not sort the entire photo library correctly. For example, scanning through the browser I will get several pages of items sorted correctly, in my case, from oldest to newest, then it will show a bunch of photos out of order. For example, 2001 photos, 2008 photos, 2004 photos.
This is driving me nuts. I have repaired the library database to no avail. I have copied the version names and read them with a text editor to see if any obscure text - anybody else experience weird browser photo sorting behavior? The same anomaly exists if I sort by file name or if I sort by version name (most of my photos have same master file name as version name).Here's a screen shot of some of the inconsistent sort results - sourced from "Photos" container...weird
This has been in existance for months. I thought I had resolved it when doing a bunch of consolidation stuff the past few days but now it is here again. Can't help but wonder if I have a corrupt database. I repaired the DB earlier today and Aperture added 10 photos to my Photos container - very weird. I have not taken the final step of rebuilding my database. Aperture has also started hanging on me in the past few hours - most recently while trying to update my Vault. I have about 9150 photos in total in my database. -
PDF FILE WILL NOT WORK OR OPEN ADOBE READER NOT WORKING CORRECTLY.
PDF FILE WILL NOT OPEN IN A FEW APPLICATIONS AS THEY DID BEFORE. IF I CAN'T VIEW THEM I CAN'T PRINT THEM.
Hi
Why wouldn't an Apple file D/L into an Apple browser?
Likely due there being a non-Apple plugin trying to handle it & failing.
Look in Home/Library/Internet Plug-Ins/ and HD/Library/Internet Plug-Ins/ for any plugins with 'pdf' in the name.
Remove any you find - either trash or take to the desktop, restart any browsers, then try a pdf. -
Command click to open new window not working
Command clicking my favorites in Safari does not open them in a new window.
"Command + Click opens a link in a new tab" is checked under "Tabs" in the preferences plane.
MacBook Pro (17-inch)
OS X (10.10.2)
Safari (Version 8.0.4)
Any help would be appreciated.Hello Eric,
Thanks for the prompt reply and suggestion.
Unfortunately command - option/alt - click doesn't do it either. -
JavaScript to Open New Window Not Working
I am trying to program a button to open a pop-up window. I
have read several of the previous posts regarding this problem
(seems to be pretty common), and have tried the resolutions, but
still no luck. My button (despite the code) simply just advances to
the next screen. For the button, I have programmed it so it
launches the following JavaScript code:
javascript: openNewWin();
In the standard.js file I have copied the following code per
a previous post:
function openNewWin()
var o = window.open('CDMTS Course Map.htm','Course
Map','left=0, top=0, width=1280, height=800, titlebar=no,
menubar=no, toolbar=no, location=no, directories=no, resizable=yes,
scrollbars=yes, status=no');
o.focus();
In the post that I received this direction, it mentioned
something about putting this code in the Publish folder of
captivate. I'm not 100% sure that I've placed it in the right one,
but I think so.
Can anyone help me with this problem? It seems like such an
easy thing to do!
Thanks,
KristiHello Eric,
Thanks for the prompt reply and suggestion.
Unfortunately command - option/alt - click doesn't do it either. -
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.... -
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!
>
Maybe you are looking for
-
Printing more than one picture on a page?
I love the iPhoto '08 so far, but I'm having a hard time figuring out how to print more than one photo per page. Here's what I'd like to do: I've chosen four photos and resized each to be printed optimally at 4"x5", let's say. Can I take those photos
-
Trash folder in Iphoto is not holding the pictures.
When I move photos to the trash folder in Iphoto, they completely dissappear without me emptying the trash, they are not in the system trash either. Why is this happening? Why is this happening? I want to be able to check them again before they are g
-
Want to create a additional field
Respected, I want to add a field in service notification and service order under the head customer address additional data and customer address service respectively in customer interaction centre . THANKS AVANISH GULATEE
-
Dynamic JPG file from filesystem in smartform
Hi, is it possibile, into a smartform output to show a jpeg file image picked dynamically from a filesystem? I've got several jpeg file, one for each matirial number. Thank you.
-
Update WUA on Windows 7 SP1 Clients to 7.6.7600.320
Hi All We have an SCCM 2012 R2 CU 2 environment with a CAS and a Primary Server One SUP (SUP1) is connected to the internet and is used as upstream server for another SUP Server (SUP2) , our clients connect to SUP2 Our clients are all Windows 7 SP1