• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

mailto: hyperlink opens blank page on site?

New Here ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

Created a website in Muse CC. On some of the pages I have a hyperlink to mailto:. But when I open the live site and click on the hyperlink, along with my mail program, a blank new page opens in the site. If I hit the back button it goes to the home page. Help!! (Yes, newbie here)

Views

5.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

You need to show us the code.

By the way, no one ever uses mailto any longer. It only works if the user has a mail client set up on their computer, which is often not the case. Usually people use the PHP mail function.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

Ok I guess I'm really behind the times then... What is the PHP mail function?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

Chances are you've accidentally included a blank target in the links. Take a look at your source code for your mailto links and remove this if you see it...

target="_blank"

For what it's worth, mailto links are a bad way to get viewers to contact you. Nothing happens when anyone who doesn't use Outlook, Apple Mail or another dedicated email client clicks the link. It's much better to either just give them the email address without a link, or use a server-side form to email script instead.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

I'm totally lost, I'm sorry. I am using Adobe Muse CC. Is there something in the program I can use to let people email?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

Is there something in the program I can use to let people email?

I'm not familiar with Muse, so I can't answer that. It would be a good question for the Muse forum.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

That would make sense, you've posted in the Dreamweaver forum.

The Muse forum is over here: Help with using Adobe Muse CC

I'm guessing Muse has some location/text field when you add links that gives the opportunity to add a "Target" and that you have inadvertently selected "_blank" in that field for some of your mailto links.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

LATEST

Jon Fritz II wrote:

That would make sense, you've posted in the Dreamweaver forum.

I'm reading this post in the Coding Corner. Maybe it got moved.

@jandbj

Since Muse does not support server-side code, you might have to use an outside  service like Wufoo.com.  Or just use a code editor like Dreamweaver or Brackets to create a contact form and form-to-email processing script.

Below is  a 3-part tutorial that describes what you need to make working contact forms.  Hopefully, it will illuminate rather than confuse.

Alt-Web Design & Publishing: Responsive Contact Form with Bootstrap 3.2 and PHP (Part 1)

Nancy O.

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines