The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Javascript is messing up my URLs!
thegreatpursuit
post Mar 31 2011, 10:35 AM
Post #1





Group: Members
Posts: 6
Joined: 7-August 10
Member No.: 12,452



At least, I think it is.

On my test site (http://goo.gl/P4SLu), you'll see that the URL first goes to "emineer.com/thesis/," but then quickly changes to "emineer.com/thesis/#page=tabsservices" which refers to a piece of .js I have lower on the page (the tabbed navigation).

Is there a way for me to configure this js or CSS so that the URLs are unchanged? I know it's possible because my main site functions perfectly fine: (emineer.com). The code on my main site is just clunky so I decided to start from scratch.

Any help here? I'd really like my URLs clean and free of any tags or anything like that.

Thanks,

Brandon
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Mar 31 2011, 01:55 PM
Post #2


.
********

Group: WDG Moderators
Posts: 6,295
Joined: 10-August 06
Member No.: 7



QUOTE(thegreatpursuit @ Mar 31 2011, 05:35 PM) *

Is there a way for me to configure this js or CSS so that the URLs are unchanged? I know it's possible because my main site functions perfectly fine: (emineer.com).

There seem to be two issues here: that #page=tabsconsulting is added when the page loads, and that clicking on the tabs on http://www.emineer.com/ doesn't modify the URL despite doing so even on the example page http://blixt.org/articles/tabbed-navigatio...on=introduction

I suggest you first remove other scripts on your test page one by one to rule out they don't interfere.


--------------------
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th December 2014 - 03:14 PM