»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 01-28-2004, 09:58 PM   #1 (permalink)
Registered User
 
Cruez's Avatar
 
Join Date: Oct 2001
Location: NC
Posts: 1,191
Cruez is on a distinguished road
Send a message via ICQ to Cruez Send a message via AIM to Cruez
Directory Problem...

Ok, I'm stumped...

I have a css template and a menu script...

They work fine in the main directory on my machine... using the normal filename...

now... when I go up one directory I use the "../filename.js" and it works fine also...

But when I go inside one more directory and use ".../filename.js"

It doesn't work anymore... the script or the template...

Whats the story ???

Cruez is offline   Reply With Quote
Old 01-29-2004, 06:12 PM   #2 (permalink)
Registered User
 
rpertusio's Avatar
 
Join Date: Nov 2002
Location: Hershey, PA
Posts: 1,013
rpertusio is on a distinguished road
Send a message via AIM to rpertusio
I think your syntax is wrong, that's all.

If you want to go up 2 directories.. you should type
Code:
../../filename.js
OR, (I think) you could also tell it to go to the root directory by removing the 'dots' altogether:
Code:
/filename.js
Thirdly, you could put an aboslute path (which is a bad practice usually):
Code:
http://www.raincube.com/filename.js
Try it out and let us know if it doesn't work!

Explanation about hyperlinks (but should still apply for here too)

- rp

Last edited by rpertusio; 01-29-2004 at 06:18 PM.
rpertusio is offline   Reply With Quote
Old 01-29-2004, 06:16 PM   #3 (permalink)
Registered User
 
rpertusio's Avatar
 
Join Date: Nov 2002
Location: Hershey, PA
Posts: 1,013
rpertusio is on a distinguished road
Send a message via AIM to rpertusio
EDIT: whoops. ignore this
rpertusio is offline   Reply With Quote
Old 01-29-2004, 10:15 PM   #4 (permalink)
Registered User
 
Cruez's Avatar
 
Join Date: Oct 2001
Location: NC
Posts: 1,191
Cruez is on a distinguished road
Send a message via ICQ to Cruez Send a message via AIM to Cruez
I tried the root way /filename.js

and I didn't want to use the http:// address..

the other format I didn't try.... I'll check it and see...

Thanks...
Cruez is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 01:22 PM.