Dreamweaver cs3 new browser window
I have a link on my page which will display image in new browser window and window size is fixed but problem is it will display white background but i want it will display black blackground. i have more than 20 link of such type which will display image in new browser window of fixed size.
Rajeev.
Hi Rajeev,
Based on what Paula (PZ) has written I was experimenting with things at my end also.
@Paula: I took a different approach ...actually did this approach for the first time. Your solution of using document.write is perfect but I thought to share a way which I tried also...you may find it interesting
Here it is:
I created a link in the parent page <a href="javascript:;" onclick="openwin('property_files/banner.gif');">Link</a> and defined the openwin() funtion as following:
<script type="text/javascript">
function openwin(imgpath){
window.open('imagewin.html',imgpath,'status=yes,scrollbars=yes,resizable=yes,width=800,he ight=600');
</script>
In the above i am passing the image path from the link's click and using it as window name (second argument in the window.open)
Now I created this blank imagewin.html which has following code:
<!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>Untitled Document</title>
<style type="text/css">
-->
</style>
<script type="text/javascript">
function showImg(){
var imgval=window.name;
document.write('<img src='+imgval+'>');
document.bgColor='black';
</script>
</head>
<body onload="showImg();">
</body>
</html>
So on this blank page I am calling a showImg() function and then I have captured the window name into a variable and then used document.write to create the image tag with the captured path and finally set bgColor as black.
So using this one can simply pass the imagepath from each link and it would display new image each time!
Worked well for me!!!
Hows that?
More than anytihng I just loved the fact that there is so much try and experiment with....I just love all this
Regards
Vinay
Similar Messages
-
Add button to open PDF in new browser window CS3
I'm trying to add a button that says "Go" that will open a PDF in a new browser window.
I've looked at the following article but don't see the "Select Action" pull-down.
http://www.acrobatusers.com/blogs/tedpadova/opening-pdfs-new-browser-windows
Using Dreamweaver CS3.
Thanks in advance.Hi,
I hope I understood your question correctly, if so my suggestion may be helpful. Otherwise I think it's nearly the same what paul writes, I only made clear my proposal in a website for you, first a photo:
and here is the link: http://www.goldschmiede-blumberg.de/pdf/adob_pdf.php.
Note 1: "Ausgabe 9" und "ein Mausklick hier genügt" are links!!
Note 2: " Um pdf-Dateien ...." Means: To read pdf files, you need the free Adobe Reader. The current version you can download from the Adobe website.
Look at it's source code.
Viel Erfolg
Hans-G. -
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. -
Dreamweaver CS3 running on Windows 2003 Server, How to do a License Swap to a new Hardware
Hello, I have an urgent Licensing question belonging Adobe Dreamweaver CS3 running on Windows 2003 Server.
How to do a License Swap to a new Hardware which runs currently on an Image of another Server (same HW), this License needs to be exchanged by the original Licence, however the MAC address has changed due to the HW-SWAP, Serial Number of the "Adobe Dreamweaver CS3" is available,
Is there a Adobe hotline existing, which could support?
Thank you very much.
hihtecdownload the endpoint.dll
Posted by WebUser Jj C V Bautista from Cisco Support Community App -
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 -
Open New Browser Window Behavior
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 works fine
in all browsers including IE6 but IE7 ignores all my settings and
just opens a normal full size browser window showing scroll bars,
address bar, menus etc. Can anyone tell me how to make IE7 open a
new browser window to my settings using the behaviors in
Dreamweaver CS3?
Thanks.
Russ.I cannot reproduce this in IE7. Your OBW behavior works just
the way you
want for me. In your code, make sure that this is all on one
line -
<li id="cam"><a href="#"
onclick="MM_openBrWindow('
http://jkbmwebcam.co.uk/','webcam','width=640,height=480')">Webcam</a></li>
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
==================
"rjay60" <[email protected]> wrote in
message
news:[email protected]...
> Hi Thanks for your reply, heres the code.
>
> <!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" />
> <!-- TemplateBeginEditable name="doctitle" -->
> <title>Untitled Document</title>
> <!-- TemplateEndEditable -->
> <link href="../css/main.css" rel="stylesheet"
type="text/css" />
> <!--[if IE]>
> <link href="css/iehacks.css" rel="stylesheet"
type="text/css" />
> <![endif]-->
>
>
> <!-- TemplateParam name="id" type="text"
value="currentPage" -->
> <!-- TemplateBeginEditable name="head" --><!--
TemplateEndEditable -->
> <script type="text/javascript">
> <!--
> function MM_openBrWindow(theURL,winName,features) {
//v2.0
> window.open(theURL,winName,features);
> }
> //-->
> </script>
> </head>
> <body id="@@(id)@@">
> <div id="container">
> <div id="header">
> <div id="banner1">Cheapest Prices
For..</div>
> <div id="banner2">Used, Secondhand, Repossessed,
Ex Lase Photocopiers,
> Laser Printers & Fax Machines.</div>
>
> <div id="banner3">Probably..</div>
>
> <li id="home"><a
href="../index.html">Home</a></li>
> <li id="contact"><a
href="../contactus.html">Contact</a></li>
> <li id="about"><a
href="../aboutus.html">About Us</a></li>
> <li id="find"><a href="../findus.html">Find
Us</a></li>
> <li id="cam"><a href="#"
> onclick="MM_openBrWindow('
http://jkbmwebcam.co.uk/','webcam','width=640,height=4
> 80')">Webcam</a></li>
> <li id="howto"><a href="#">How To
Buy</a></li>
>
> </div>
> <!--header ends here -->
> <div id="sidebar">
>
> <li class="sidebarMenuHeader">Product
Guide.</li>
> <li id="copiers"><a
href="#">Photocopiers.</a></li>
> <li id="printers"><a href="#"> Laser
Printers.</a></li>
> <li id="fax"><a href="#">Fax
Machines.</a></li>
> <li id="export"><a href="#">Export
Machines.</a></li>
> <li id="offers"><a href="#">Special
Offers.</a></li>
> <li id="consum"><a
href="#">Consumables.</a></li>
> <li class="sidebarMenuHeader">Information /
Help.</li>
> <li id="about"><a href="#">About
Us.</a></li>
> <li id="aboutyou"><a href="#">About
You.</a></li>
> <li id="aboutsite"><a href="#">About Our
Site.</a></li>
> <li id="contact"><a href="#">Contact
Us.</a></li>
> <li id="faq"><a href="#">Frequently Asked
Qustions.</a></li>
> <li id="howto"><a href="#">How To
Buy.</a></li>
> <li id="find"><a href="#">How To Find
Us.</a></li>
> <li id="demo"><a href="#">Web
Demonstrations.</a></li>
> <li
class="sidebarMenuHeader">Downloads.</li>
>
<a href="#">Brochures.</a></li>
>
<a href="#">Device Drivers.</a></li>
>
> </div>
> <!-- TemplateBeginEditable name="sidebarRight" -->
> <div id="sidbarRight">"sidbarRight" Goes
Here</div>
> <!-- TemplateEndEditable --><!--
TemplateBeginEditable
> name="maincontent" -->
> <div id="mainContent"> Content for id
"mainContent" Goes Here.</div>
> <!-- TemplateEndEditable -->
> <div id="footer">
> Copyright? 2008 JKBM.COM Limited</div>
> <!--RiteCounter-->
> <script type="text/javascript"
> src="
http://www.ritecounter.com/c/12/11331.js"></script>
> <noscript><a href="
http://www.ritecounter.com"><img
> src="
http://www.ritecounter.com/scripts/htmlc.php?id=11331"
alt="Free
> Website
> Visitor Counter" height="15" border=0></a>
> </noscript>
> <!--END RiteCounter--></td>
> </div>
> </body>
> </html>
> -
I am a reasonably new user of Dreamweaver CS3. I have worked
out how to use '_blank' to open a new browser window, but can
someone please help me work out how to resize that new window and
remove the navigation bars etc. I know there is the "Behaviours"
section where it lets you do this, but using this feature removes
the little hand when the mouse hovers over the image in my website.
I am reasonably new to this, so any help would be very much
appreciated.
Thank you.If I understand, you are asking if this will get around Popup
Blocking
of onload events? No it will not. The onload event is, by its
nature,
an unsolicited event, and Popup blockers are designed to
prevent
precisely that.
E. Michael Brandt
www.divaHTML.com
divaGPS : you-are-here menu highlighting
divaFAQ : FAQ pages with pizazz
www.valleywebdesigns.com
JustSo PictureWindow
JustSo PhotoAlbum
joeq wrote:
> sorry ? what i meant to say there was can this technique
be used to handle the
> page that first loads ? rather than initiating the
launch of a subsequent page?
>
>
>
quote:
Originally posted by:
joeq
> can this technique also be used "onload" as opposed to
clicking on a link to
> launch the window?
>
> tx.
>
>
>
>
quote:
Originally posted by:
Newsgroup User
> Sounds like you may have added the Behavior to the
<img> tag. it needs
> to be on an <a> tag that surrounds the image
instead.
>
> You may also need to click the + icon atop the Behaviors
window and
> select "Show events for..." and there select "4 and
later browsers"
>
> --
>
> E. Michael Brandt
>
> www.divaHTML.com
> divaGPS | divaFAQ
>
> www.valleywebdesigns.com
> JustSo PictureWindow
>
> --
>
>
> Donna Ruff wrote:
> > I just tried it with that extension, and Firefox
still sees it as a pop-up
> and won't open it. Grr.
>
>
>
>
>
> -
Open URL Link in new browser window
Can someone please help me? I've tried to use code as if I were using Dreamweaver without any luck(i.e. blank target).
Is there a way to make the url in the PDF open a new browser windows once clicked? Hopefully this is an easy fix! Thanks in advance!Jono, if you are still out there. I am also having trouble with this function. The button works just fine, but it does not open another browser window. I am trying to keep my pdf open, and send them to a url. That way they can come back to the form. Like you would with the target="_blank" function in javascript.
What am i doing wrong? I have tried opening the script editor, but I am not sure what to do there. So I put the same as you did on your form, no effect. I put target="_blank" and set it to javascript on just about every option. I have tried to go into the code on the xml source tab, no luck anywhere. I have tried to just use a text field, no luck.
Seems like everything I have tried has no effect.
Hopefully you can tell me it is something simple...
Thanks in advance.
Jodi -
Open New Browser Window Behavior Issue
I've got a site that has a list of names of deceased people.
When a viewer clicks on a name I have a new browser window open
that is a small memorial page specific for that person. This list
is fairly long so the viewer has to scroll down a ways to get to
the bottom. If the viewer clicks a name towards the bottom and then
closes that new browser window they have to scroll all the way back
down and find where they left off. This of course, is assuming they
are going in order to view the memorial pages for each person. Is
there a way to make the "original page (with the list of names)"
not refresh to the top of the page? I'm using and would like to
continue using tables and not layers or styles.
Information can be sent onto [email protected]
Any help would be much appreciated!
Thanks,
CodyCody,
It sounds like you are using <a href="#"
Try using <a href="javascript:;"
Or better yet, use David Powers' Smart Link:
http://japan-interface.co.uk/webdesign/tools/index.html
Ken Ford
Adobe Community Expert - Dreamweaver
Fordwebs, LLC
http://www.fordwebs.com
"csnodgr2" <[email protected]> wrote in
message
news:fmc4tf$feq$[email protected]..
> I've got a site that has a list of names of deceased
people. When a
> viewer
> clicks on a name I have a new browser window open that
is a small memorial
> page
> specific for that person. This list is fairly long so
the viewer has to
> scroll
> down a ways to get to the bottom. If the viewer clicks a
name towards the
> bottom and then closes that new browser window they have
to scroll all the
> way
> back down and find where they left off. This of course,
is assuming they
> are
> going in order to view the memorial pages for each
person. Is there a way
> to
> make the "original page (with the list of names)" not
refresh to the top
> of the
> page? I'm using and would like to continue using tables
and not layers or
> styles.
>
> Information can be sent onto [email protected]
>
> Any help would be much appreciated!
>
> Thanks,
> Cody
> -
it also opens in the parent window at the same time. For
instance, I have a home page and when you click on a link I want it
to open up in a new browser window. so i set the behavior to do
this and it works. However, the first window also changes to the
new link so I then have two windows open with the same link I just
clicked on. The main window doesn't stay as the home page. any
suggestions? Thanks.Also David Powers' Smart Link extension may come in handy:
(2nd extension on the page)
http://japan-interface.co.uk/webdesign/tools/index.html
Nadia
Adobe® Community Expert : Dreamweaver
CSS Templates |Tutorials |SEO Articles
http://www.DreamweaverResources.com
~ Customisation Service Available ~
http://www.csstemplates.com.au
Forum Posting Guidelines:
http://www.adobe.com/support/forums/guidelines.html
CSS Tutorials for Dreamweaver:
http://www.adobe.com/devnet/dreamweaver/css.html
": Nadia : ** Adobe Community Expert **"
<[email protected]> wrote in message
news:[email protected]...
> You need to add a "return: false" statement to the link
so that it
> doesn't open onto itself....
> A better explanation can be found here:
>
http://apptools.com/rants/popups.php
>
>
> Project seven has this niftly little app available
(commercial - but it's
> served me well over time :)
>
http://www.projectseven.com/products/prodtools/powertoys/powertoys_retfalse.htm
>
>
> --
> Nadia
> Adobe® Community Expert : Dreamweaver
> ----------------------------------------
> CSS Templates |Tutorials |SEO Articles
>
http://www.DreamweaverResources.com
> ~ Customisation Service Available ~
>
http://www.csstemplates.com.au
> ----------------------------------------
> Forum Posting Guidelines:
>
http://www.adobe.com/support/forums/guidelines.html
> CSS Tutorials for Dreamweaver:
>
http://www.adobe.com/devnet/dreamweaver/css.html
>
>
>
>
> "Alexandra Christensen"
<[email protected]> wrote in message
> news:[email protected]...
>> it also opens in the parent window at the same time.
For instance, I have
>> a
>> home page and when you click on a link I want it to
open up in a new
>> browser
>> window. so i set the behavior to do this and it
works. However, the first
>> window also changes to the new link so I then have
two windows open with
>> the
>> same link I just clicked on. The main window doesn't
stay as the home
>> page. any
>> suggestions? Thanks.
>>
>
> -
Open another website in a new browser window
I can't seem to create links to external websites that open
as intended in a new browser window while leaving the main browser
window unchanged. Except in Safari on a Mac. See sample code.
In Safari on a Mac this opens the new window and behaves as I
want. In Safari on a PC it opens a new window, but in back. In
Firefox on Mac I get an error message in which, when the "OK"
button is cliked on, a new window opens in back of the main window.
Same thing on a PC. Internet Explorer on a PC opens a new window
but displays an error message forcing you to clik the back button
to return to the main page.
If I specify the main page url in the link field, then the
main page gets reset to the top, which I don't want.
How can I get FireFox and IE to accomplish this gracefully?
To observe behavior go to
http://www.digifon.com/framesetal_id.htmDon't use Frames. However, the issue of opening a new window
is still
hotly debated. My own approach is to mark the link with an
icon and
then to open a new window (or tab if the user prefers). If
done
properly with javascript, this will not spawn a myriad of
windows and
Standards-compliant. (And further, if javascript is off, the
new page
will simply open in the current window.)
Based on this philosophy, I offer a DW Extension that makes
adding this
behavior dead simple. Here is an example of a page that uses
it to good
advantage. Despite all the external links and pdf links on
the page,
the Extension only needed to be added once to the page,
rather than
adding it to each and every link. Links added to the page
AFTER the
Extension is applied are ALSO acted on, a great time saver in
my
opinion, and easy on the user:
http://squamscott.org/scc_green.asp
The DW Extension is available here:
http://divahtml.com/products/divaPOPgold/open_popup_windows.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 -
How do get a dynamic image to open in new browser window
I'm using DW CS3, mysql (MAMP) OS 10.6.2 I'm designing my online store. I need the customer to be able to click dynamic image/thumbnails to view a larger image in a new browser pop up window 400 x 400. An example of this functionality can be seen at :
http://www.designpublic.com/spot-on-square-roh-dresser
So far I can get the separate new browser window to open with the dynamic image, using the open new browser behavior, but the on click also advances to next page with the larger image. You have to press the back button to get back to the product page. I want the customer to be able to see the product page , while viewing larger image, and then close larger image, and still have the product page open. I don't understand why 2 windows are opening.
Thanks for the help people!
WilliamHi
I did look at it but, (and this is only my opinion, I do not like such effects) it is your decision.
If you view source you will see -
<a href="#" onclick="popWin('http://www.designpublic.com/catalog/product/gallery/id/12706/image/91883/', 'gallery', 'width=300,height=300,left=50,top=50,location=no,status=yes,scrollbars=yes,resizable=yes'); return false;" title="Spot on Square Roh Dresser" class="gallery-image-link"><img src="http://arcsmedia01.s3.amazonaws.com/catalog/product/cache/2/thumbnail/56x56/5e06319eda06f020e43594a9c230972d/r/o/roh_dresser1.jpg" alt="" /></a>
Which is controlled by the javascript function
popWin()
which you can view using the firefoxe dev toolbar - view javascript function.
PZ -
Want To Have Flash Project Open In New Browser Window
Hi,
My project outputs and plays perfect to Flash (let default to
Flash 7) but when viewing it (via a link from a web page) it opens
in a "next" window and at the end, if you use the X (EXIT) button
from the player control bar it wants to close the browser window
and does not take you back to the webpage (where I have the link to
play). I cannot seem to find an option in the Preferences or during
output to make the player open in a "new" browser window. Is it
possible there is a browser setting for this instead of setting in
Captivate? (IE 6 or 7) Thanks for any help/suggestions!Hi leh1, and welcome to the User Community for Captivate!
The window in which any content plays is determined by the
code contained for the link,
in the web-page from which it is launched. In a nutshell,
you add these parameters to the link when it is created in the
"Parent" window.
Below is a snippet from a Menu Builder project in which the
links to "Project1" and "Project2" are set to open in a "New"
window, without chrome (note the many "
=no" following an equal sign), at a size of 720 pixels by
540 pixels ... the snip below shows a link to "Project1.htm", a
document containing a Captivate movie. I have bolded the specific
entries that control the type window ("OpenCustomLink") and the
size of that window ("width=720,height=540"):
<P style="cursor: pointer; cursor: hand; position:
absolute; left: 90px; top: 149px; text-decoration: none; font:
normal 18pt Arial; color: #000000" title="Project 1" onclick="
OpenCustomLink('project1.htm', '_blank',
'scrollbars=no,status=no,
titlebar=yes,toolbar=no,menubar=no,location=no,resizable=yes,
fullscreen=no,
width=720,height=540'); "
onmouseover="this.style.color='#0000FF'; "
onmouseout="this.style.color='#000000';">Project 1</P>
(some spaces inserted to avoid horizontal scroll)
All of which is to say, the target window is controlled from
the link in the parent document. I wouldn't suggest you just
copy-paste the above code, as I took liberties with it. I
would suggest that you can do this yourself with your own
HTML editor (Dreamweaver, etc.), or even better, get your local
web-guru to do it for you.
All the best!!
. -
New Browser Window from Hyperlinks on PDF created in In Design
I am creating PDF documents using In Design CS3. The PDFs have hyperlinks to other PDFs as well as hyperlinks to webpages. The finalized PDF is being accessed through our website as a link on the webpage. The PDF is opening in a new browser window/tab and the hyperlinks are working great. My problem is this: How do I get it so that the hyperlinks on the PDF open to a new browser window as well. Currently, when I click a link, it changes the current browser window that the PDF is in. I want to set this so that anyone, from any computer will have it so that the link opens a new window/tab.
In Adobe Acrobat (the application, not the .pdf reader) use the Link Tool to edit the hyperlinked text object. Remove the “Open a web link” action assigned by default to handle the hyperlinked text when clicked. Assign a new action to the linked text that will open the hyperlink in a new window.
Note: The links have to be established each time you create a PDF – they do not carry over from In Design or any other software.
1. Access the Link tool (Tools > Advanced Editing > Link Tool)
2. Right click on the hyperlinked text and select Properties
3. In the Link Properties dialog box click on the Actions tab
4. In the middle of the Actions panel in the Actions section click on the Open a web link action listed there to select it.
5. Click the Delete button located just below that section in the lower right corner. This removes the action from the list and the Actions section should now be empty.
6. In the Add an Action section right above the Actions section click on the Select Action drop down menu and select the Run a JavaScript action from the list.
7. Click the Add… button.
8. In the JavaScript Editor that opens up, click your cursor in the Create and Edit JavaScripts area, like you would in a word processor to begin typing, and type the following line:
app.launchURL("http://www.MySampleURL.com/someFolder/somePage.html", true);
9. Change the hyperlink text between the quotation marks to your desired URL.
Ex: app.launchURL("http://www.cnn.com", true);
Caution:
1. The code is case sensitive so make sure you typed app.launchURL NOT app.launchurl or some other case combination.
2. Make sure that you have quotation marks around your hyperlink URL.
3. Make sure there is a semicolon at the end of the line of code you just typed.
4. Make sure that the quotation marks are straight up and down – not on an angle.
10. Click OK to close the JavaScript Editor dialog box.
11. Click OK to close the Link Properties dialog box.
12. Save the .pdf and test your .pdf hyperlink by opening the .pdf document in a browser, click the link and check to see that it opens in a new browser window. -
Not launching in new browser window?
I have setup a Flash viewer in a HTML Div container. In the Flash I have put a button which, when clicked, launches a new browser window with another site I've done to appear in.
When I test this in Flash its working fine and launches the new window as it should.
But when I go into Dreamweaver where I have placed the Swf. in the Div container, I test it locally in a Firefox browser window. The viewer appears and it works correctly, but when I click the button to launch the new browser window it just opens a window with an error msg 'unable to connect, etc'.
Any idea why this wont work? Is it because it needs to be live (online)?Hi,
What is the link that you are trying to open.
Please check if you have placed the protocol - like this http://www.xmy.com" format
and used "_blank" as target in navigateToURL API.
Warm Regards
Deepanjan Das
http://deepanjandas.wordpress.com/
Maybe you are looking for
-
Datasource from a logical database.
Hi all, I am in need of creating a datasource from a std.. Logical Database IMA in R/3. Is it possible to create a datasource directly from logical database or it is essential to find the base tables fetching data to the logical databse and look fo
-
I received a notice of a security/stability update to FireFox 3.6.3. I have a MacBook Pro 13" running OS 10.6.4. The claim is that I do not have permission to upgrade and I should consult with my system administrator. I am the administrator of this m
-
Terminal prompt starts with client IP Address
I named my macbook pro as "pine" and add the following line to the .bash_profile file export PS1='\h:\w> ' Normally, it displays "pine:~>", but after I connect my laptop to the wireless network via a VPN, the prompt becomes client-77-104-71-149:~> Wh
-
JAXB XML doesn't build default/fixed values?
Hi people. I need to build a status XML that must look like this: <rule name="TeamPayment" result="Auditing"> <code>968</code> <code>571</code> </rule>I'm using JAXB 2, there is a attribute named 'result' with a fixed value that the marshaller
-
MacBook Pro Not Sleeping After Closing Display Lid
Hello, my less-than-1-month old MacBook Pro, for it's first time, did not to go to sleep after I closed the display lid (I noticed because my external mouse's LED indicator lights were still on, when they have always turned off when my Mac goes to sl