Set URLs
Set URLs
Hi,
I have one question. Can we set the base URLs for all the links?
For example,
My base URL would be http://kuanyew.tripod.com/
Do I need to insert the whole URL into every menu string?
As I have a couple of Subdirectories too.
Thanks
I have one question. Can we set the base URLs for all the links?
For example,
My base URL would be http://kuanyew.tripod.com/
Do I need to insert the whole URL into every menu string?
As I have a couple of Subdirectories too.
Thanks
Any Dream Worth Having,
Is A Dream Worth Fighting For!
Is A Dream Worth Fighting For!
Rephrase
I think I need to rephrase my question as no one is answering me.
Well, what I want to know is that whether I can have a base URL for all the links within the Milonic Menu. Since I have a long URL : kuanyew.tripod.com it would be silly to type it out on every link.
For example:
kuanyew.tripod.com/Arsenal/arsenal.html
What I want is to only type "/Arsenal/arsenal.html" , instead of everything because I have "/Juventus/juventus.html" too.
Is there a line on the menu where I can just enter the base URL which is kuanyew.tripod.com, since it's going to appear in each and every link.
Well, what I want to know is that whether I can have a base URL for all the links within the Milonic Menu. Since I have a long URL : kuanyew.tripod.com it would be silly to type it out on every link.
For example:
kuanyew.tripod.com/Arsenal/arsenal.html
What I want is to only type "/Arsenal/arsenal.html" , instead of everything because I have "/Juventus/juventus.html" too.
Is there a line on the menu where I can just enter the base URL which is kuanyew.tripod.com, since it's going to appear in each and every link.
Any Dream Worth Having,
Is A Dream Worth Fighting For!
Is A Dream Worth Fighting For!
This should be easy.
Set the base URL at the top of the array with this
Then each menuitem needs to have this value added like this
Hope this helps
Andy
Set the base URL at the top of the array with this
Code: Select all
baseurl="http://kuanyew.tripod.com/"
Code: Select all
,"Menu Item", baseurl+"Arsenal/arsenal.html",,,1
......and so on
Hope this helps
Andy
Which Line?
Thanks for the reply, that would have saved me a lot of trouble. Anyway, to which line should I set the 'baseurl' code?
Right above "Time Delay"?
or at the "Reserved for Future Use"?
Right above "Time Delay"?
or at the "Reserved for Future Use"?
Any Dream Worth Having,
Is A Dream Worth Fighting For!
Is A Dream Worth Fighting For!
You Meant
Err... You mean I don't have to set the urls?
For instance, if I want to jump from one directory to another?
Say, from baseurl/Arsenal/ to baseurl/Juventus/ ?
Usually, in HTML, you can't do so as the browser would search for
baseurl/Arsenal/Juventus/ . Do you know what I mean?
For instance, if I want to jump from one directory to another?
Say, from baseurl/Arsenal/ to baseurl/Juventus/ ?
Usually, in HTML, you can't do so as the browser would search for
baseurl/Arsenal/Juventus/ . Do you know what I mean?
Any Dream Worth Having,
Is A Dream Worth Fighting For!
Is A Dream Worth Fighting For!
Re: You Meant
Just past the base. For instance, I have a menu running at http://westcgi.west.asu.edu/sai/. No base is specified in the code. To get to another location on the same server would be something like this snip...Two5kid wrote:Err... You mean I don't have to set the urls?
Code: Select all
,"Bulletin Board","/sai/staff/ads/",,,1
,"Committees","/sai/staff/committees/",,"Committees",1
,"Directory","/sai/staff/directory/",,"Directory",1
,"Discounts","show-menu=discounts",,"Discounts",1
,"Energy-Wise Tips","/sai/staff/energy.cfm",,,1
,"Ergonomics","http://www.osha-slc.gov/SLTC/computerworkstations_ecat/",,"Ergonomics",1
Note that I have added the /sai/ again. That's only because of the way our servers are set up. Same is true for graphics...
Code: Select all
"/sai/graphics/arrow.gif",
Also note that, obviously, if you go off-server you will need the entire URL
John
-
- Beginner
- Posts: 6
- Joined: Fri Oct 04, 2002 4:22 pm
THANKS!
jgillett...thanks so much! was exactly the problem i was having and this solved it