HighDots Forums  

DW CS3 - open browser window issue

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss DW CS3 - open browser window issue in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
jcecz
 
Posts: n/a

Default DW CS3 - open browser window issue - 01-04-2008 , 01:33 AM






I've set up some text links to open a new browser window and it's working fine.
But - the original page (from where the link opened the new window) is also
loading the same page as the new window. I want the original page to remain
unchanged. What am I doing wrong?? Thanks in advance for any help.




<td><p>That's how the great photographer, <a
href="http://www.temple.edu/photo/photographers/cartier_bresson/pages/boy.htm"
onclick="MM_openBrWindow('http://www.temple.edu/photo/photographers/cartier_bres
son/pages/boy.htm','','scrollbars=yes,resizable=yes,width=40 0,height=500')">Henr
i Cartier-Bresson</a>, the father of


Reply With Quote
  #2  
Old   
jcecz
 
Posts: n/a

Default Re: DW CS3 - open browser window issue - 01-04-2008 , 01:47 AM






never mind...found it!
the missing #
thnx

Reply With Quote
  #3  
Old   
E Michael Brandt
 
Posts: n/a

Default Re: DW CS3 - open browser window issue - 01-04-2008 , 10:16 AM



jcecz wrote:
Quote:
never mind...found it!
the missing #

hmm, sounds like you may have solved your problem in an undesirable way.
I am guessing now, but your solution replaces the href value with # ?

That will work, however it will also make it impossible for folks with
javascript turned OFF - or Search Engines which do not use javascript -
to reach your linked page. Instead do this:

<a
href="http://www.temple.edu/photo/photographers/cartier_bresson/pages/boy.htm"

onclick="MM_openBrWindow('http://www.temple.edu/photo/photographers/cartier_bres
son/pages/boy.htm','','scrollbars=yes,resizable=yes,width=40 0,height=500');return
false">Henri Cartier-Bresson</a>


Notice I inserted ";return false" in there. Now everyone will get to
see your linked page, with or without javscript.


--


E. Michael Brandt

www.divaHTML.com
divaPOP : standards-compliant popup windows
divaGPS : you-are-here menu highlighting
divaFAQ : FAQ pages with pizazz

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--


Reply With Quote
  #4  
Old   
jcecz
 
Posts: n/a

Default Re: DW CS3 - open browser window issue - 01-04-2008 , 03:05 PM



Great - thanks!
made the change and working like a charm.

now formulating my next query...

June

Reply With Quote
  #5  
Old   
E Michael Brandt
 
Posts: n/a

Default Re: DW CS3 - open browser window issue - 01-04-2008 , 05:23 PM



jcecz wrote:
Quote:
Great - thanks!
made the change and working like a charm.

now formulating my next query...
Happy to help. And fire away, Murray is always here.

--


E. Michael Brandt

www.divahtml.com
http://www.divahtml.com/products/scr...extensions.php
Standards-compliant scripts and Dreamweaver Extensions

www.valleywebdesigns.com/vwd_Vdw.asp
JustSo PictureWindow
JustSo PhotoAlbum, et alia

--


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.