Further Help with Includes

This is a discussion on "Further Help with Includes" within the Classic ASP section. This forum, and the thread "Further Help with Includes are both part of the Program Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices


Closed Thread
 
LinkBack Thread Tools
  #1  
Old Aug 5th, 2004, 10:53
Junior Member
Join Date: Jul 2004
Location: United Kingdom
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Further Help with Includes

Hi there,

I am using includes on all my main pages within their own directory. I have used the forward slashes on my image paths so they can be read no matter where the are in the directory stucture. Is there any way of doing this with the include path? I thought you could just again use the forward slash but it doesn't work. It is picking up the wrong path name and including the extra directory that I have just came from. I hope I am making sense as I am new to this and not too farmilar with the tech jargon!!.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Aug 5th, 2004, 10:55
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,160
Blog Entries: 7
Thanks: 27
Thanked 19 Times in 16 Posts
you can use the following:-Should be ok.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Aug 5th, 2004, 13:17
Junior Member
Join Date: Jul 2004
Location: United Kingdom
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Hi there Rob,

I have tried the above but no luck. This is the link that I click on from my nav menu
Code: Select all
 <a href="products-services/products-main.asp" class="leftnav">
The products-main.asp page is a page that has includes.

Once I have gone to that page and then try to go to another page, say about us which is also a page with includes then it is picking up the above path of products-services. See below.

Code: Select all
 http://www.manhattansoftware-new.com/products-services/about-raindrop/about-main.asp
I don't understand why it's doing this!. Please help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Aug 5th, 2004, 13:48
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,160
Blog Entries: 7
Thanks: 27
Thanked 19 Times in 16 Posts
instead of click on this:-
Code: Select all
<a href="products-services/products-main.asp" class="leftnav">
why not use this
Code: Select all
<a href="/products-services/products-main.asp" class="leftnav">
which will end up in the same place wherever you use it.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
further, help, includes

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
xsl includes sconard Other Programming Languages 0 Aug 24th, 2006 13:11
PHP Includes lesleindotcom PHP Forum 3 May 31st, 2006 20:54
PHP Includes daygon PHP Forum 5 Mar 16th, 2006 01:59
CSS and includes rewmer Web Page Design 4 Aug 14th, 2005 10:31
Help with includes. freebirdnz Classic ASP 5 Aug 3rd, 2004 14:38


All times are GMT. The time now is 22:13.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42