Open a new tab with href in HTML - html

First, let me get one thing clear: I need to open a new tab, not to open a link in a new tab. I've tried (HTML)
Link
Link
but it just stays on the same page. The only thing that seems to work is
Link
but it's just a flat white screen, and I'd very much prefer a normal new tab. I've searched the web throughly but the only thing I can find is how to open a link in a new tab (target="_blank"). So if anyone knows how to do this, please tell me. I am using Firefox, if it makes a difference.

Related

Chrome - Highlight Links that open in new/same tab

before clicking on a link, I would like to know whether it will open in a new tab or in the same tab. Is there a way to display this information in some way? With a small symbol next to the link or by altering link colors or something similar.
Thank you!

Why does Safari not update the anchor link?

I have two links on my home-page. They point to two different anchor tags (anchor1, anchor2) on the about-page.
When I click on link two, it jumps to anchor2 on the about page. If I go back and then click on link one, it still jumps to anchor2 on the about page.
I can confirm that the link in the address bar always stays the same as the first clicked link. A simple reload does not solve the problem. What does seem to reset the situation is if I open the home-page in a new window or tab.
This is only happening on Safari and Safari Mobile. Firefox and Chrome redirect to the correct anchor tag.
Thos are the two links:
Anchor1
Anchor2
Any help would be greatly appreciated.
Turns out that for the anchor-links to work in this context, they have to be written as full URL, not relative to the folder structure.
This
href="https://website.com/about#anchor1"
Instead of this
href="../about.html#anchor1"

Created a hyperlink on a button however it only work on the first click then stop working

I'm new to flash. I am using Adobe Flash Professional CS6. I have created a menu bar with a drop down menu and rollovers to change the colors.
I have put the the code (below) on the background and then given the button the instance name of 'navbarbtnhome'.
navbarbtnhome.onRelease = function() {
getURL("http://www.google.com", "_self");}
After i publish and open the HTML file the hyperlink will only work for the first click, after that I have to amend the code in some way and then publish and open it again, then the hyperlink will work another time until I repeat the process. Can anyone help, I'm totally lost for ideas now after trying for hours. my full menu bar is here if anyone wants to help.
Thanks.
It seems as though getURL doesn't work when testing your file locally, due to security sandbox restrictions. Assume that the links work, and upload it to your server and then test it -- hopefully it will work that way :)
Source: getURL not working on HTML export (Actionscript2.0)

New tab opening when viewing parent comment on Youtube

there's a problem with the new commenting system on YT: every time I click on the link to see what's what the parent comment to the one I am viewing, it opens in a new tab, with the video starting over again in the second tab. It is horrible and makes comment viewing a torture. Before the changes comments would show immediately above the answering comment in the same tab and it was easy to browse.
Is there any option of turning off this new tab poppping? I'd actually like to get the whole system back but it is apparently unavailable...
Thank you in advance.

Links Not Doing Anything

I'm making a rather simple online store page at http://pyentertainment.com/store.html integrating PayPal for payments, and just when I thought I was done I noticed none of the hyperlinks seem to do anything. By this I mean when I click them (I'm using Chrome and the same happens on other browsers too), on the status bar where it normally says "loading www.xyz.com" it changes to something for a fraction of a second and then disappears, not loading a new page; it's way too fast for me to catch what it says.
This happens to the links on the nav bar and to the social media links on the right.
Some context: When you click on an item, the page dims and an iframe comes up showcasing said product, with PayPal cart buttons. View cart/Add to cart open a new tab, but if you close them by clicking "continue shopping" they throw another error which although I'm not too concerned about might be the cause of the problem; I know iframes can be iffy to work with.
I'd appreciate any help. The links work on the rest of the domain, too.
Thanks in advance!
I would suggest downloading firebug from here:
Firebug Home Page
And watching what loads while you're loading your page, it will tell you if the resource is actually being located/served when the page is processing. If it's not, you may want to review how you built your links toe ensure they're properly configured.
Thanks guys, the issue ended up being that I had the entire body to check for clicks, and if the user clicked outside the item display box while it was on, dim it out, like this:
$('body').click(function(event)
{
if(!$(event.target).is('#productDisplay'))
{
$("#darkenBackground").fadeOut();
$("#productDisplay").attr('src','buy/loading.html');
return false;
}
});
I got rid of that feature and instead added a little close button to do the same thing. The links work now! Thank you all for your help :)
i cant give a full answer but it looks like its your dimmer specificly the part that detects the body click. try putting it into an if statement to check that the functon has been called before running the body click function
EDIT
something like
if(product displayed) {
look for click event on body
}