Open Browser Window Behaviour
Hi,
I want a client to be able to attach pop up window behaviours
to images on their web page. Is it possible to attach behaviours in
Contribute ?
thanks
Simon
I successfully opened every single text link that loads the
songs, and also
opened every single image link on the right hand side.
I don't see a problem here on Firefox w/ Windows XP Home SP2.
Shane H
[email protected]
http://www.avenuedesigners.com
"buzzzzzzzz" <[email protected]> wrote in
message
news:e20bkm$1uv$[email protected]..
> Hi........I have an issue with my DWMX open browser
window behaviour. I
> have
> about 10 text links and 5 image links (ahref#) on my
page using this
> behaviour.
> It would seem this intermittently works with each link,
however it is
> typical
> for it work 2 or 3 times, then - nothing. No further
windows/links will
> open,
> the page will stop working (can't even refresh)
> The code for each image link is:
> ...... <td width="6%" rowspan="16"
valign="top"><div align="left"><a
> href="#"><img src="assets/demoVox.jpg" alt="Renae
Suttie" width="70"
> height="84" border="0"
> onClick="MM_openBrWindow('
http://www.swingcollective.com/assets/audio/demoVx.htm
> ','','width=275,height=250')"></a> .......
>
> The page is
http://www.swingcollective.com
- go to demos page and see.
> Thanks in advance for any help.
>
> DC
>
Similar Messages
-
Open Browser Window behaviour - no centering option
Hi everyone,
I used the Open Browser Window behaviour in Dreamweaver to
open up a small browser window when a link is clicked, but the
behaviour doesn't provide an option to position the window in the
centre of the screen. Does anyone know if there's another behaviour
that provides this option, or how to edit the javascript to get it
to work?
The code that Dreamweaver generated is below.
Thanks for any help offered.DW doesn't offer this in any built-in function. You can
manually hack the
code inserted to produce that effect (you would have to
Google to find the
necessary changes), or you can use a 3rd party extension to
do that and much
more. I routinely use DivaPOP for things like this -
http://www.divahtml.com
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
==================
"gwhPoster" <[email protected]> wrote in
message
news:g1gjr7$hri$[email protected]..
> Hi everyone,
>
> I used the Open Browser Window behaviour in Dreamweaver
to open up a small
> browser window when a link is clicked, but the behaviour
doesn't provide
> an
> option to position the window in the centre of the
screen. Does anyone
> know if
> there's another behaviour that provides this option, or
how to edit the
> javascript to get it to work?
>
> The code that Dreamweaver generated is below.
>
> Thanks for any help offered.
>
>
>
> <script type="text/JavaScript">
> <!--
> function MM_openBrWindow(theURL,winName,features) {
//v2.0
> window.open(theURL,winName,features);
> }
> //-->
> </script>
>
> p>Text here. Text here. Text here. <a href="#"
>
onclick="MM_openBrWindow('offers.php','SpecialOffer','width=400,height=200')"
> style="text-decoration:none; color: #634A95;
font-weight:
> bold;">More...</a></p>
> -
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 behaviour help
hi guys first just want to thank you all found loads of help
on this site !!!
i am getting stuck in to my first real development, played
around before using dreamweaver 8 etc i have learned a bit of code
(html php mysql) played in flash but still limited as im still
learning but found it works best for me to get stuck in!!!
on my website i have a catalog page that i designed to open
in a new window behavior when the link is clicked from the menu
column but as standard the catalog is on the home page. when
catalog is accessed from the menu column the size is set to W:600
H:300 on this page i have logo's linking to pages with products
once a logo is clicked the page it links to opens within the same
window which is too small is their a way to get the page to
automatically adjust full screen or do i have to use the open new
browser window behavior and do it that way?
hopefully i have explained this so it makes sense !There is nothing you can do about that if that is the setting you have
made for your browser. You may also be looking at this in an emulator
(Adobe Browser Labs) or a non-standard config, or through a local
preview, in which cases, things might not work normally.
It is paramount in the web design business that you not tamper with a
user's settings.
For me, in a default installation of IE7, the popups open in their own
little windows. You are going to have to live with this or deconstruct
all of your pages and use a modal window script - which pops up what
looks like a window, but is actually a DIV on the same page. You were
given links to free sources that require considerable setup or you can
look at automated Dreamweaver extensions (not free) like this:
http://www.projectseven.com/products/tools/horizontal-glider/examples/lightshow.htm
Al Sparber - PVII
http://www.projectseven.com
The Finest Dreamweaver Menus | Galleries | Widgets
Since 1998 -
Using "Open Browser Window" behaviour
In IE7 the page selected in my behavior appears on a full
browser screen, then a blank screen (in the size specified in the
behavior) comes up. Works fine in IE6 and Foxfire. Anyone have
suggestions?
Renothat it works remotely is all that matters, of course. That
IE gives
troubles locally is by (its) design. You can get around the
local issue
by adding a "mark of the web" to the page (see
Commands/Onsert Mark of
the web)
emichael brandt
/Reneaux wrote:
> I don't know what's going on. I just tried it again
(online, in IE7) and it works as it should. However, it still
doesn't properly using the files on my hard drive. -
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
>
> -
basically what i´m trying to do is to map part
of an image so when clicking on it a small browser window opens.
i´ve read the using dremawaver help but.. didn´t help me.
have googled it but still can´t get it to work. i´m not
sure exactly what to do, do I save a file first and then give it
the behaviour? do i link this file to the mapped image? well,
obviously that´s not the way its done cause it is not
working...
if anyone could give me just the steps from the moment i map
the image to the moment when i press f12 and !voila! a browser
window opens, I would be more than happy and appreciative. Thanx so
much in advance.plinares wrote:
>
basically what i?m trying to do is to map part of an
image so when
> clicking on it a small browser window opens. i?ve read
the using dremawaver
> help but.. didn?t help me. have googled it but still
can?t get it to work. i?m
> not sure exactly what to do, do I save a file first and
then give it the
> behaviour? do i link this file to the mapped image?
well, obviously that?s not
> the way its done cause it is not working...
>
> if anyone could give me just the steps from the moment i
map the image to the
> moment when i press f12 and !voila! a browser window
opens, I would be more
> than happy and appreciative. Thanx so much in advance.
>
select the image-map.
In the property inspector, in the link box, write
javascript:;
Open the behavior panel. Click on the + sign. Select "Open
Browser Window". follow the steps.
When you have applied the behavior, look in your behavior
panel, your behavior should show.
(note that ALL this time, your image map is still selected)
Next to the shown behavior, you see the action that triggers
it; it's a drop-down select menu.
Select onClick.
seb ( [email protected])
http://webtrans1.com | high-end web
design
Downloads: Slide Show, Directory Browser, Mailing List -
Im converting one of my flash sites into HTML. In gallery I
have thumbnails that open a new window. Im using the same method
I've always used but for some reason my IE6 on only my laptop seems
to be having trouble opening them. Im wondering if I am just having
a problem with my IE or if visitors may potentially exerience the
same thing. Heres the site:
http://jaredseff.com/temp/progress.htm
My usual method is to select the thumbnail, click Behaviours,
then Open Browser Window (onClick). After I've filled the options
in that window I click ok and then insert," javascript:; " (no
quotes) in the properties panel so that the little hand icon will
show with mouseover.
My behaviour panel is showing events for IE4.
Could it be my browser? Its working fine on Opera, Firefox
& my other PC's IE6.
TIA,
Ameliacheck menu item Tools/Popup Blocker... bet it is set to block
all popups.
emichael brandt
StargrrlGrafx wrote:
> Im converting one of my flash sites into HTML. In
gallery I have thumbnails
> that open a new window. Im using the same method I've
always used but for some
> reason my IE6 on only my laptop seems to be having
trouble opening them. Im
> wondering if I am just having a problem with my IE or if
visitors may
> potentially exerience the same thing. Heres the site:
>
>
http://jaredseff.com/temp/progress.htm
>
> My usual method is to select the thumbnail, click
Behaviours, then Open
> Browser Window (onClick). After I've filled the options
in that window I click
> ok and then insert," javascript:; " (no quotes) in the
properties panel so
> that the little hand icon will show with mouseover.
>
> My behaviour panel is showing events for IE4.
>
> Could it be my browser? Its working fine on Opera,
Firefox & my other PC's IE6.
>
> TIA,
> Amelia
> -
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 -
Text link and open browser window
Hello
I have successfully done this clicking on an image using
behaviours 'open browser window' to open a larger version of the
image and I would like to do the same with a text link eg 'click
here for Terms and Conditions' and have that web page open in the
same way setting the width, height etc. I can't seem to do it. Any
help gratefully accepted!
Thank you very much in advance.James Shook wrote:
> ... Search this newsgroup's archives for the way to do
this so it will
> work well in browsers with JavaScript turned off.
An easy way to do follow James sage advice, once you've added
the Open
Browser Window behavior to your's link, is to run the free DW
Extension
divaFreeTools on your page. It will update the DW
OpenBrowserWindow
Behavior to work properly when javascript is off and help
Search Engines
find your linked page/image.
http://divahtml.com/products/divaFreeTools/free_dreamweaver_tools.php
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 -
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!
> -
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
Maybe you are looking for
-
Adding font to use in Acrobat X Pro forms
In Acrobat X Pro (on Mac OS) I have created a form text box. I have the font I want to use in the text box on my system, but it is not listed in the drop down list in the appearance tab of the box properties. How can I get to use this font? Thanks!
-
Query to find the number of main meter and its corresponding sub meter
Hi Expert, I need to build a query to derieve the main meter & it corresponding sub meter in SAP system Please could you let me the table which i should join
-
Data Manager log file deletion
I belive this program (UJF_FILE_SERVICE_DLT_DM_FILES ) can be used to remove log files. Couple of questions on this process 1) Can the DM log be deleted from the front end rather than running the program? Any issues with deleting the log file from
-
Encryption of password, then validate PW at login
Hi all! I am new to java. I am writing a client server application using JDK 1.3 and I want the user to enter in a user name and password and have my app check the password against the users password stored in a central database. I guess I am looking
-
Animation Keyframes BUGGING OUT when modified
Windows 7, 64bit Edge Animate CC 2014.1 I created a successful banner ad with png images that has position, opacity and clip animation. I wanted to tweak the timeline to extend the duration at the beginning and end an extra second, but when doing so