Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Apr 2008
    Posts
    257
    Thanks
    15
    Thanked 0 Times in 0 Posts

    weird redirection "#"

    hey guys,

    so on the website www.marcsnyderlaw.com how come it automatically redirects to # at the end of each link?

    Is there a way to remove that??

    Thanks
    Watch out for MMA Jump

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,613
    Thanks
    80
    Thanked 4,635 Times in 4,597 Posts
    Quote Originally Posted by Nblufire12 View Post
    so on the website www.marcsnyderlaw.com how come it automatically redirects to # at the end of each link?
    Well, not on *EACH* link.

    free-information doesn't for example.

    I notice that one difference is that on free-information page you do *NOT* have these lines:
    Code:
    	<script src="scripts/jquery_minimized_core.js"></script>
    	<script src="scripts/jquery_slider.js"></script>
    And I notice that in the jquery_slider code it adds some <a href="#"> for "pagination" if that's enabled, and it seems to be. Why one of those would get triggered and wouldn't be have the <a> action suppressed by a return false is getting too deep.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,613
    Thanks
    80
    Thanked 4,635 Times in 4,597 Posts
    Ugh...so much for that guess. No slider on contact.php page, but it still does it.

    Well, it's surely something in one of those JS libraries you are using.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #4
    Regular Coder
    Join Date
    Apr 2008
    Posts
    257
    Thanks
    15
    Thanked 0 Times in 0 Posts
    So if I delete those 2 lines that were missing from the free information page it will solve my problem?

    I have no jquery knowledge...
    Watch out for MMA Jump

  • #5
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,613
    Thanks
    80
    Thanked 4,635 Times in 4,597 Posts
    I don't think so. See my second post. The code I thought *might* be the culprit is not present on your contact.php page yet it has the problem.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.

  • #6
    Regular Coder
    Join Date
    Apr 2008
    Posts
    257
    Thanks
    15
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Old Pedant View Post
    I don't think so. See my second post. The code I thought *might* be the culprit is not present on your contact.php page yet it has the problem.

    Darnit! It's not htaccess or anything? This is brutal
    Watch out for MMA Jump


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •