Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 02-20-2005, 11:22 AM Linking / Targets
Junior Talker

Posts: 4
Trades: 0
Very basic stuff, guys, but I need help to finish off a site urgently, and I'm brand new to Dreamweaver MX...having converted from GoLive.

I am trying to create a link which will take my customers to another site without losing them, and preferably opening the other site in a separate, smaller window. Is this possible?

I've tried blank/parent/self/top in Target, but new site appears in full browser window and I then get stuck (i.e. using back arrow just returns to same place) with the new site.

I'm using Opera 7 as a browser.

Can anyone steer me towards the obvious?
Thanks.
Boswell is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-20-2005, 01:50 PM
Junior Talker

Posts: 4
Trades: 0
OK, sort of worked it out with Behaviours, using OnClick and OpenBrowser Window (and some MacroMedia help), but I seem to be getting two windows opening, one on top of the other.

Any clues on why I am getting this?

Last edited by Boswell; 02-20-2005 at 02:17 PM..
Boswell is offline
Reply With Quote
View Public Profile
 
Old 02-21-2005, 05:14 PM
Hubbert's Avatar
Novice Talker

Posts: 7
Location: Sweden
Trades: 0
I donīt know MX but canīt you use this:
In the head:
<SCRIPT language=javascript>
<!--
function openOutside ()
{open ("http://www.siteoutside.com","Outside","toolbar=no,directo ries=no,menubar=no,scrollbars=no,width=600,height= 300,resizable=no");}
//-->
</SCRIPT>


There the link should be in the body:

<a onClick=openOutside (); href="#Omstart"><b>Follow this link</b></a>

Edit:
If you have moore links you just add
function openOutside ()
{open ("http://www.siteoutside.com","Outside","toolbar=no,directo ries=no,menubar=no,scrollbars=no,width=600,height= 300,resizable=no");}
//-->
in the head but ofcourse change the value Outside to something else. In the body the same

Last edited by Hubbert; 02-21-2005 at 05:20 PM..
Hubbert is offline
Reply With Quote
View Public Profile
 
Old 02-21-2005, 06:11 PM
Hubbert's Avatar
Novice Talker

Posts: 7
Location: Sweden
Trades: 0
Ok now I got you. I have the same trouble in my Dreamweaver 3, (i thought they should have fixed it by now).

I put the link always in a table or a layer and make sure that the code donīt get mixed up.
It looks like the linkcode follow the whole page sometimes if you donīt make sure that it
is separated.

Like this you will have no trouble. You have to add # if you want the coursor to notice the link with the handsymbol
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF"">
<p>&nbsp;</p>
<p>&nbsp;</p>
<p></p>
<table width="100%" border="0" cellspacing="3">
<tr>
<td onClick="MM_openBrWindow('http://www.search.msn.com,'','width=400,height=300')"><a href="#">follow
this link</a></td>
</tr>
<tr>
<td onClick="MM_openBrWindow('http://www.googel.com','','width=300,height=100')">
<a href="#">and this link aswell</a></td>
</tr>
</table>

</body>
</html>


Some help I hope and sorry for my bad English
Hubbert is offline
Reply With Quote
View Public Profile
 
Old 03-09-2005, 07:37 PM
Kaiman's Avatar
Extreme Talker

Posts: 237
Trades: 0
In Dreamweaver MX and MX 04 you just set the target to blank and it opens up in a new window without hassle. Try just creating a link and putting this code between the <a> and </a> tags:

target="_blank"

See if that works.

Kaiman

Storm King Design
Kaiman is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Linking / Targets
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40714 seconds with 12 queries