Hello,
I am having problem to set the url in aI(), How to set the full path of the url in aI() from root direcroty rather than relative path.
thanks
how to set the url in aI()
Hi,
Think of the words url= as equivalent to a href=, then except that you do NOT use " marks you just put the same thing as you would put into a regular a href= url.
or whatever your full path is.
Ruth
Think of the words url= as equivalent to a href=, then except that you do NOT use " marks you just put the same thing as you would put into a regular a href= url.
Code: Select all
url=http://whatever.com/folder/page.htm
Ruth
Hi,
I believe this is asking the same question, and this was all I could give as an answer to that.
viewtopic.php?p=42010
Since, when I test menus to help here, I just put everything in the same folder I don't have to worry about paths on the computer
Ruth
I believe this is asking the same question, and this was all I could give as an answer to that.
viewtopic.php?p=42010
Since, when I test menus to help here, I just put everything in the same folder I don't have to worry about paths on the computer

Ruth
Right now i can get the menu working correctly, but when click the "home" from other pages (these pages are not at the same location as "home" page), then link is not working. That's why the aI()'s Url has to be modified. The problem is, if you change the url of "home" page, when you go to other pages (under the different folder) the link will not work again. So, is there a way to set the url dynamically? and how to do that...Thanks
Hi,
Are you talking about when it's on the web? I'll need to see the page to see what's going on. If you're setting full paths then it should just go to the page no matter what page you're on since you are using full paths.
If you are talking about on the desktop, then I gave you all the information I can, I have no idea how to set the url using the c:\\ or whatever yours might be on your desktop. Most developers use something like the apache setup on the desktop to emulate the actual website so they can just develop it as the website structure is going to be. I have always put everything in one folder because I've never been able to get anything to work using the c:\ path setup
There is an instruction section on how to set that up here
http://milonic.com/apachesetup.php
Ruth
Are you talking about when it's on the web? I'll need to see the page to see what's going on. If you're setting full paths then it should just go to the page no matter what page you're on since you are using full paths.
If you are talking about on the desktop, then I gave you all the information I can, I have no idea how to set the url using the c:\\ or whatever yours might be on your desktop. Most developers use something like the apache setup on the desktop to emulate the actual website so they can just develop it as the website structure is going to be. I have always put everything in one folder because I've never been able to get anything to work using the c:\ path setup
There is an instruction section on how to set that up here
http://milonic.com/apachesetup.php
Ruth
Thanks for your help Ruth!
I would rather use the full path, even though i am using asp .net to develop the website (I have to write something like http://localhost:portNUmber/root/foldername/filename). a little bit complicated. But it works, and i need to change the url address to the live website address when i put that on.
Thanks anyway Ruth!
I would rather use the full path, even though i am using asp .net to develop the website (I have to write something like http://localhost:portNUmber/root/foldername/filename). a little bit complicated. But it works, and i need to change the url address to the live website address when i put that on.
Thanks anyway Ruth!