Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multiple links in new browser windows

1 view
Skip to first unread message

Robbieg

unread,
Sep 29, 2005, 2:04:29 PM9/29/05
to
I've worked out how to get a hyperlink to open in a new browser window, by
using the javascript openMe() routine (as found in the Help topics within MX).
However, I'm building a page which will have several external links and would
like each one, when clicked, to open in a new browser window. Can anyone tell
me a simple way of doing this?

Thanks,

Rob

gotFusion Extended Support

unread,
Sep 29, 2005, 4:06:38 PM9/29/05
to

Give each window instance its own name, then a new window will be spawned
fore each link.

If you are using a script function you will need to write a separate script
function for each link.

If you are writing an inline script you can just use a different name in
each inline script

--
Mike - (a.k.a. turtle) - gotFusion Extended Support
www.gotfusion.com

Start receiving gotFusion support today
http://www.gotfusion.com/subscriptions/

View the gotFusion tutorial list
http://www.gotfusion.com/menu/tuts_by_topic.cfm

--


Robbieg

unread,
Sep 29, 2005, 5:25:19 PM9/29/05
to
Thanks for the tips. However, I'm new to all this and need it spelling out a
bit more clearly. At the moment, to geta new window to open, I'm using
"javascript: openMe()" as the link, with "newWindow" as the asset name. I'm
then inserting the following script into the HTML of the page layout between
the header tags:

<SCRIPT LANGUAGE="javascript">
function openMe()
{
window.open("http://www.kingscc.co.uk", "newwindow")
}
</SCRIPT>

Can you explain how I need to modify this to use it for multiple links?

Many thanks,

Rob

Chuck «BeyondFusion»

unread,
Sep 29, 2005, 5:42:55 PM9/29/05
to
Inside the html for the link, place:

TARGET="_blank"

Like so: <A HREF="http://www.othersite.com/" TARGET="_blank">

Later versions of Fusion include this capability in a dropdown when doing a
hyperlink. I don't remember if MX did, but I don't think so.

--
Chuck Joslin - Team NetObjects
BeyondFusion.com - Your Fusion Community
www.beyondfusion.com

Fusion Wish List - www.beyondfusion.com/wish
Register domain names at www.awavedomains.com

<Robbieg> wrote in message news:1_37...@gfwebforum.com...

0 new messages