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
Problem with Dreamweaver libraries
Old 12-04-2009, 12:23 PM Problem with Dreamweaver libraries
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
I've added the code for some navigation into a Library file like so:

Code:
<ul id="nav">
  <li><a href="../contact.php">CONTACT</a></li>
  <li><a href="../community.htm">COMMUNITY</a></li>
  <li><a href="../healthSafety.htm">SAFETY</a></li>
  <li><a href="../experience.htm">EXPERIENCE</a></li>
  <li><a href="../project.htm">PROJECTS</a></li>
  <li><a href="../partner.htm">PARTNERS</a></li>
  <li><a href="../index.htm">HOME</a></li>
</ul>
The problem is with the 'index.htm' link. I want to set it as the root directory with './'

However, when I do this Dreamweaver then updates all of the pages with 'href="Templates/'

Which obviously isn't what I want to do. I don't see why Dreamweaver can't just use the code that I've typed in??

Does anyone know of a workaround for this?

Cheers.
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
 
Register now for full access!
Old 12-04-2009, 02:44 PM Re: Problem with Dreamweaver libraries
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Set the "relative" checkbox to Root Relative

or

View -> Code type in whatever you want.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-04-2009, 03:03 PM Re: Problem with Dreamweaver libraries
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
Thanks, although Im afraid I can't find either of those two options! Is this in CS4?
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Old 12-04-2009, 03:09 PM Re: Problem with Dreamweaver libraries
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
CS3

Edit site -> Local Info for the Document/Root options

and the "View" is on the main menu bar (with a document open)
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-04-2009, 03:19 PM Re: Problem with Dreamweaver libraries
pealo86's Avatar
Super Spam Talker

Posts: 876
Name: Matt Pealing
Location: England, north west
Trades: 0
Hmmm I tried setting the 'Links Relative To' option to Site Root but it didn't work? Is that what you meant?

That was the only similar option I could see under the Edit Site menu
__________________

Please login or register to view this content. Registration is FREE
pealo86 is offline
Reply With Quote
View Public Profile Visit pealo86's homepage!
 
Old 12-04-2009, 03:31 PM Re: Problem with Dreamweaver libraries
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,375
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
You may have to restart DW
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Problem with Dreamweaver libraries
 

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.16967 seconds with 12 queries