1

I want my site to have similar navigation to a browser. I want visitors to be able to right click on one of my links/articles and have the option to open a new tab and have the page load in the same page. Here is the concept site I want to work with link.

4
  • Please clarify a little more on how what you want is different from the native browser controls. I don't follow Commented Aug 9, 2011 at 17:26
  • its not different, i just want the links to open in the same page and not externally. Reason i have my reasons. what code do i need to put in my right mouse click menu, to first know its a link and then when user clicks it opens a knew tab in my page instead of the browsers. thanks Commented Aug 9, 2011 at 17:37
  • Possible duplicate of stackoverflow.com/questions/4447321/… Commented Aug 9, 2011 at 18:49
  • Ill be using a custom jquery menu for the right click but i dont know what code i need to add to the menu so it opens the link in a new tab Commented Aug 9, 2011 at 20:38

3 Answers 3

1

Well, then try to use dynamically injected <iframe>. Especially when using JQuery it could be very easy solution. You must also somehow manipulate the links inside the content... look at this link if it helps, hope you won't have problems with "same origin policy".

Sign up to request clarification or add additional context in comments.

Comments

0

You have to use some ajax function to load content from the new page into the tab.

Comments

0

Sounds like this would be a good scenario to use a AJAX, for ease of use I would recommend JQuery.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.