Search Result

Collapse
3 results in 0.0013 seconds.
Keywords
Members
Tags
anchor
  •  

  • londres9b
    started a topic Can't sum variables

    Can't sum variables

    I have this code which retrives the anchor value from the url.
    (www.example.com/page#topic1 > gives 'topic1' )

    Code:
    var anchorValue;
    var url = document.location;
    var strippedUrl = url.toString().split("#");
    if(strippedUrl.length > 1)
    anchorvalue = strippedUrl[1];
    I want to do a very simple thing, add, for example '10' to the anchorvalue variable.

    So if we have...
    See more | Go to post

  • Change class for same-page links and headings

    Hello!

    I am totally new to JavaScript. My knowledge is barely enough to adapt some ready-made code to suit my needs.

    What I'm trying to accomplish now is beyond my abilities. I have looked all over, but didn't find anything similar to what I need. Or maybe I just don't know what to be looking for.

    I have a sprites based menu consisting of five links to name anchors on the same page. Each of these anchors...
    See more | Go to post

  • azjudd
    started a topic css conflicting with named anchor tags

    css conflicting with named anchor tags

    Thank you in advance for your help on this one.

    I'm using named anchor tags on a FAQ page with questions listed at the top and answers below; a standard jump-to feature. However, anytime an anchor tag link is used, whether it be a question down to an answer or an answer back to the list of questions, I lose the banner div, a good portion of of my MenuDv disappears, and white space is added to the bottom of my page. You can see my FAQ...
    See more | Go to post
Working...