Announcement

Collapse
No announcement yet.

Using named anchors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • westpointer
    replied
    Can I just declare the base href value in test.php?

    Leave a comment:


  • nforums
    replied
    because vB4 declares a base href value.

    You'll need to use test.php#1 on your links from now on

    Leave a comment:


  • westpointer
    started a topic [Forum] Using named anchors

    Using named anchors

    I've noticed that in vb4, named anchors don't work correctly (or at least like in vb3.8).

    For example, in vb3.8, if my site is xyz.com and the page is test, this code

    PHP Code:
    <a href="#1"
    will give me http://xyz.com/test.php#1

    but in vb4 I get

    http://xyz.com/#1 which takes me back to the forum home page.

    Any ideas on why?
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X