close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Creating document links

Thread began 1/15/2013 11:15 pm by zackdacre445052 | Last modified 1/29/2013 2:27 pm by zackdacre445052 | 3133 views | 14 replies |

zackdacre445052

Creating document links

Hello Everyone,

I quite new to Dreamweaver and need some assistance. I have created some links but they all open in a new window tab. There is a side column with a repeated region which links to a main column on the same page but it opens in a new window. The spry menu bar links also open in a new window. I would like all these links to open in the same window within my site. I am not using frames. I have tried using the target options and parameters but I can't get it to work right. Thanks much for the help

Sign in to reply to this post

Jason ByrnesWebAssist

what are the links pointing to?

can you send a link where i can see the problem and a copy of the page please.

Sign in to reply to this post

zackdacre445052

Creating links to documents

The links in the menu bar point to a new page in the site and the links in the left column points to information from a dynamic database using server behaviors. I am not sure if you can view the page since it has not been published. I only viewing it on localhost

Sign in to reply to this post

Jason ByrnesWebAssist

if you dont have a target set in the links, they should not open in a new window if you are just loading standard HTML or PHP pages.


can you at least send a copy of the page so i can look at the code and see how the links are set up.

Sign in to reply to this post

zackdacre445052

Creating links to documents

I have left the target area blank and it stills open in a new window. This is the code for one of the pages.

<body>
<div id="container">
<div id="header">
<h1>PC Services<img name="logo" src="images/computer-processor-thumb1767060.jpg" width="102" height="83" alt=""></h1>
<p>&quot;Solutions through Technology&quot;</p>
</div>
<ul id="MenuBar1" class="MenuBarHorizontal">
<li><a href="index.html" target="_blank">Home</a> </li>
<li><a href="#">Products</a></li>
<li><a href="#" class="MenuBarItemSubmenu">Services</a>
<ul>
<li><a href="occupation.php" target="_blank">Career</a></li>
</ul>
</li>
<li><a href="#">News</a></li>
<li><a class="MenuBarItemSubmenu" href="#">About Us</a>
<ul>
<li><a class="MenuBarItemSubmenu" href="#">Item 3.1</a>
<ul>
<li><a href="#">Item 3.1.1</a></li>
<li><a href="#">Item 3.1.2</a></li>
</ul>
</li>
<li><a href="#">Item 3.2</a></li>
<li><a href="#">Item 3.3</a></li>
</ul>
</li>
<li><a href="#">Contact Us</a></li>
</ul>
</div>
<div id="recent">
<h3>Names of Applicants</h3>
<ul>
<?php do { ?>
<li><a href="<?php echo $row_getrecent['CV_name']; ?>?id=<?php echo $row_getrecent['id']; ?>"> </a><a href="occupation.php?id=<?php echo $row_getrecent['id']; ?>"><a href="occupation.php?id=<?php echo $row_getrecent['id']; ?>"><?php echo $row_getrecent['name']; ?></a>
<?php } while ($row_getrecent = mysql_fetch_assoc($getrecent)); ?>
</ul>
</div>
<div id="blog_post">
<?php do { ?>
<h3>occupation: <?php echo $row_getDisplay['Occupation']; ?></h3>
<ul>
<li><a href="<?php echo $row_getDisplay['CV Name']; ?>">Download CV:<?php echo $row_getDisplay['CV Name']; ?></a></li>
<li>
<h4>Full Name: <?php echo $row_getDisplay['name']; ?></h4>
</li>
<li> </li>
<li><a href="<?php echo $row_getDisplay['CV Name']; ?>"></a>
<h4> NIC # : <?php echo $row_getDisplay['NIC']; ?></h4>
</li>
<li>
<h4>Address: <?php echo $row_getDisplay['address']; ?></h4>
</li>
<li>
<h4>Gender:<?php echo $row_getDisplay['Gender']; ?></h4>
</li>
<li>
<h4>Highest Qualification:<?php echo $row_getDisplay['Highest Qualification']; ?></h4>
</li>
<li></li>
<li></li>
</ul>
<?php } while ($row_getDisplay = mysql_fetch_assoc($getDisplay)); ?>
</div>
<div id="Career_menuheader"></div>
<div id="advertise">
<p>Advertise Here</p>
<p>&nbsp;</p>
</div>
<script type="text/javascript">
var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
</script>
</body>
</html>
<?php
mysql_free_result($getDisplay);

mysql_free_result($getrecent);


?>

Sign in to reply to this post

Jason ByrnesWebAssist

what kind of pages are your links pointing to?

it looks like you may be pointing to word or text documents?

these will not be able to open in the web browser window.

Sign in to reply to this post

zackdacre445052

Creating links to documents

I am not that ignorant. The text documents will open in Microsoft soft word. I pointing to normal html and php pages. The information are contained within div tags. thanks

Sign in to reply to this post

Jason ByrnesWebAssist

without being able to see the problem it's impossible for me to troubleshoot.

If you can upload it to a remote server where I can see the problem, I will be able to troubleshoot it and give directions on how to fix it.

Sign in to reply to this post

zackdacre445052

Creating links to documents

I was able to figure out where I went wrong. Thanks Much for all your help

Sign in to reply to this post

Jason ByrnesWebAssist

can you share what the problem was please.

Sign in to reply to this post
loading

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...