Results 1 to 8 of 8
  1. #1

    Default href path in HTML.


    hi istoryans

    unsaon ni like naa koy folder A/B/C under C naay c.html

    sa c.html naay text didto mo link sa folder A/a.html

    so ang path didto sa c.html kay <a href = "../../a.html>test</a>
    ?

    dili siya pwde og dili ka use og ../..?

    like ingon ani nlng?

    <a href = "/A/a.html>test</a> ?
    dili man gud mag work..unsaon nga diritso nlng ta ka sa root folder ba, in this case A ang root folder..ty

  2. #2
    Infractions: 0/3 (6)
    Join Date
    Sep 2006
    Gender
    Male
    Posts
    7,290

    Default Re: href path in HTML.

    i guess kinahanglan jud na siya earl kay mogawas pa man ka padung sa root.
    your last code is good only if A is inside C

  3. #3
    C.I.A. cliff_drew's Avatar
    Join Date
    Oct 2008
    Gender
    Male
    Posts
    4,571
    Blog Entries
    2

    Default Re: href path in HTML.

    Change <a href = "../../a.html>test</a> to <a href="../../a.html">test</a>
    Last edited by cliff_drew; 04-08-2011 at 11:20 AM.

  4. #4

    Default Re: href path in HTML.

    mo work mana bro kung naa ka sa remote or naa kay local server. if naka open ka sa c.html karon unsay naa sa address bar?

  5. #5

    Default Re: href path in HTML.

    Ni work na ni bai? I suggest gamit nlng ka dretso ug editor then ighyperlink nmu pngitaun to nmu nga file then ilink nmu dretso ngd2.. no hassle sa coding!

  6. #6

    Default Re: href path in HTML.

    bai naa ni siya server side bai? like php?

  7. #7

    Default Re: href path in HTML.

    The best solution for that is use absolute path or relative path..
    in your case you are currently under C folder, so u can access the a.html under A folder using this code
    <a href="../../a.html">test</a> this is for relative path.
    or use the absolute path, the only thing u should do is get its exact file path .

    then you are good to go...

  8. #8

    Default Re: href path in HTML.

    Quote Originally Posted by coolbloomer View Post
    The best solution for that is use absolute path or relative path..
    in your case you are currently under C folder, so u can access the a.html under A folder using this code
    <a href="../../a.html">test</a> this is for relative path.
    or use the absolute path, the only thing u should do is get its exact file path .

    then you are good to go...
    Uhmm, unsa pmn diay lain niya pde magamit? nga absolute path and relative paths are the only choices that you have. If you want to use buzzwords like "absolute path" and "relative path" please pd intawn do some research and understand it fully, lest look like a total fool to people who know better.

  9.    Advertisement

Similar Threads

 
  1. How to find out usb port path in Ubuntu?
    By ben1985 in forum Computer Hardware
    Replies: 5
    Last Post: 07-04-2011, 10:17 PM
  2. If you'd taken a different path in life, what would you be doing?
    By sercor::jhumzki in forum General Discussions
    Replies: 51
    Last Post: 04-25-2011, 12:05 PM
  3. Gallent out to blaze own path in PBA
    By marqi_20 in forum Basketball
    Replies: 1
    Last Post: 10-14-2010, 01:07 PM
  4. need help sa drop down list in html & php
    By pulchra in forum Programming
    Replies: 8
    Last Post: 10-17-2008, 10:14 PM
  5. In Html, how would configure this?
    By kyme in forum Websites & Multimedia
    Replies: 3
    Last Post: 06-16-2006, 12:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top