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 followTim Banks– Tim Banks2011-08-09 17:26:48 +00:00Commented 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. thanksMark_alot– Mark_alot2011-08-09 17:37:31 +00:00Commented Aug 9, 2011 at 17:37
-
Possible duplicate of stackoverflow.com/questions/4447321/…craigmc– craigmc2011-08-09 18:49:23 +00:00Commented 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 tabMark_alot– Mark_alot2011-08-09 20:38:41 +00:00Commented Aug 9, 2011 at 20:38
Add a comment
|
3 Answers
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".