Jump to content

Recommended Posts

Posted

Thanks Virtual, will get someone else to check that out as one of the Church wardens uses Firefox on Mac.

 

Seemed to remember you helped out once before on some css, as it rendered differently on the mac. Now got a problem with it on IE7 and a bit on IE8.

 

Hoping someone will have the solution for me.

Posted

I think it's happening because you're setting onclick="parent.location=Mailme" and not an actual e-mail address. Everytime the script runs that sets the email, it will overwrite the previous Mailme variable. So when the browser finishes rendering that page, var Mailme will have treasurer@holytrinity-madeira.org.

 

However if you do

 

document.write("onclick=\"parent.location="+Mailme+"\"> ");

 

It should fix the mail problem.

 

However it still doesn't fix the Mac problem, it seems like a Javascript issue, Mac's don't understand parent.location or something, not really sure what the problem is as I'm on a PC.

Posted (edited)

Well another option is to create a different variable each time. Mailme1, Mailme2, Mailme3 etc, that way your variables won't get overwritten.

 

 

Edit:

 

Sorry on my original post I forgot the single quotes. Here's the revised version:

 


 

Note the single quotes before and after "+Mailme+"

Edited by BeeDev
Posted

OK I just went back and checked your revised version. On Firefox nothing at all happens, in Safari it opens the native Mac Mail program and Opera does too.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...