|
| |
|
|
GMisner
Posts: 50 Joined: 9/2/2005 Status: offline
|
"Relative" Blues - 10/8/2005 2:54:51
Ok, I am going nuts. I cannot get my paths to home to the Web page root. FP2003. In a page running from my Web-root. This Works Fine <p><img border="0" src="images/BLTheaterbutton.jpg" width="119" height="49"></p> This does Not <p><img border="0" src="/images/BLTheaterbutton.jpg" width="119" height="49"></p> Is there some other syntax I can use??
|
|
|
|
coreybryant
Posts: 2501 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: "Relative" Blues - 10/8/2005 10:35:58
Both should work fine. Can you give upload an HTML page with both paths on it for us to review?
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
dpf
Posts: 7126 Joined: 11/12/2003 From: India-napolis Status: offline
|
RE: "Relative" Blues - 10/8/2005 10:44:27
if one is working, why not just go with that?????
_____________________________
Dan
|
|
|
|
coreybryant
Posts: 2501 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: "Relative" Blues - 10/8/2005 10:51:54
And also - the virtual link will not work locally - only on the server
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
GMisner
Posts: 50 Joined: 9/2/2005 Status: offline
|
RE: "Relative" Blues - 10/8/2005 13:35:59
DPF, I am using includes to build a common format and functions for my site. http://stratu.hostcentric.com/stratus.htm is an example I build the element as an include then use CSS and div to position that element whenever I want to use that format. If the "relative" address must be constructed specifically for each parent sheet what is the point??? I need to have includes that work from whatever directory I run the "parent" page from. Multiple paths (../ ../../../ ./ ) in the _included files mean that the "parent" sheet must always be at the same directory level. Perhaps there is a cleaner approach...?
|
|
|
|
coreybryant
Posts: 2501 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: "Relative" Blues - 10/8/2005 13:50:03
The virtual path should work on the includes if it is not a Frontpage include. If it is a FP include, use a relative path. But you are on the right track, we use virtual paths all the time with our includes - we have found it makes it easier for us in the long run
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
|
|
coreybryant
Posts: 2501 Joined: 3/17/2002 From: Castle Rock CO USA Status: offline
|
RE: "Relative" Blues - 10/9/2005 6:21:52
I do not think it is FP's fault actually, it is your computer. Keep in mind that the virtual link takes you back to where? The root, so in essence, you are going back to C: and now over to C:\images. So if you put your images in that folder - you would see them.
_____________________________
Corey R. Bryant Merchant Accounts | Toll Free Numbers | Expression Web Blog
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|