Lost Password?

Go Back   CodeCall Programming Forum > Web Development Forum > HTML Programming

HTML Programming Forum discussion covering HTML, XHTML, DHTML and all flavors of HTML. Hypertext Markup Language is used to create websites.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-15-2008, 03:01 AM
Erhy Erhy is offline
Newbie
 
Join Date: Apr 2008
Location: near Vienna Austria Europe
Posts: 5
Rep Power: 0
Erhy is on a distinguished road
Post href mailto in Firefox

Please to read my first question in codecall.net,

my friend use a firefox browser and he has no reaction by clicking on a button, I coded:
HTML Code:
onClick='document.location.href="mailto:Bergbaumuseum%20Grünbach%20<marika.reichhold@aon.at>"'
The language set before:

HTML Code:
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
Thank you for tips
Erhy

PS.
Link to this page, used in a inline frame:
Kontakt - Glück Auf im Bergbaumuseum Grünbach

Last edited by Erhy; 04-15-2008 at 03:09 AM. Reason: correct word in code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 04-15-2008, 07:20 AM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 2,969
Last Blog:
Piano Exam
Rep Power: 25
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: href mailto in Firefox

Try Safari and Opera as well. See if it works there.
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-15-2008, 10:49 AM
Erhy Erhy is offline
Newbie
 
Join Date: Apr 2008
Location: near Vienna Austria Europe
Posts: 5
Rep Power: 0
Erhy is on a distinguished road
Default Re: href mailto in Firefox

it works with Microsofts IE7
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-15-2008, 11:06 AM
WingedPanther's Avatar   
WingedPanther WingedPanther is offline
Super Mod
 
Join Date: Jul 2006
Age: 35
Posts: 1,751
Last Blog:
Game software (GURPS)
Rep Power: 24
WingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to allWingedPanther is a name known to all
Default Re: href mailto in Firefox

IE7 is still non-standards compliant. What works in IE7 tells you nothing about what will happen in any other browser. I prefer to develop under FireFox and then fix whatever breaks in IE. Is there any reason why you're using an OnClick instead of an anchor?
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-15-2008, 01:05 PM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 2,969
Last Blog:
Piano Exam
Rep Power: 25
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: href mailto in Firefox

Maybe because it's a button - so it has an OnClick event. You could wrap the button in an anchor, but it isn't really ideal, and the space around the button reacts as well. Also, the button sometimes doesn't click properly.
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 04-16-2008, 02:54 AM
Erhy Erhy is offline
Newbie
 
Join Date: Apr 2008
Location: near Vienna Austria Europe
Posts: 5
Rep Power: 0
Erhy is on a distinguished road
Default Re: href mailto in Firefox

Yes, it for a button.
The OnClick event functions if the code looks:
HTML Code:
onClick='frames["Schau"].location.href="termine.html"'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 04-16-2008, 06:06 AM
chili5's Avatar   
chili5 chili5 is offline
Speaks fluent binary
 
Join Date: Mar 2008
Location: Canada
Age: 15
Posts: 1,224
Rep Power: 10
chili5 will become famous soon enough
Send a message via ICQ to chili5 Send a message via AIM to chili5 Send a message via MSN to chili5 Send a message via Yahoo to chili5
Default Re: href mailto in Firefox

That is strange, I don't know why it doesn't work in firefox.

Why don't you just an anchor to link to the e-mail?

HTML Code:
<a href="mailto:dddd@localhost">mail</a>
or something like that?
__________________
Success is the ability to go from failure to failure without losing your enthusiasm. ~ Winston Churchill
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 04-16-2008, 07:08 AM
Erhy Erhy is offline
Newbie
 
Join Date: Apr 2008
Location: near Vienna Austria Europe
Posts: 5
Rep Power: 0
Erhy is on a distinguished road
Default Re: href mailto in Firefox

to have a little bit an other design,
there is a button instead of an anchor.

I thought, that the real name is the reason, which is not often used:
"mailto:Bergbaumuseum%20Grünbach%20<marika.reichhold@aon.at>"

Erhy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 04-16-2008, 12:41 PM
Xav's Avatar   
Xav Xav is offline
Guru
 
Join Date: Mar 2008
Location: London, England
Posts: 2,969
Last Blog:
Piano Exam
Rep Power: 25
Xav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to allXav is a name known to all
Send a message via MSN to Xav
Default Re: href mailto in Firefox

Explore the Document Object Model (DOM). Maybe in Firefox, different objects are used to represent the current frame etc.
__________________
Xav, the power of youth
Worship the Creator... not his creations
Web Site | Beta Site
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 04-22-2008, 04:44 PM
Erhy Erhy is offline
Newbie
 
Join Date: Apr 2008
Location: near Vienna Austria Europe
Posts: 5
Rep Power: 0
Erhy is on a distinguished road
Smile Re: href mailto in Firefox

Hello,

now I have an answer belonging this curious problem.

I asked Jo Bager. I read an article from him
in c't, which is a German computer magazine.
In this article, the difference of behavior was discussed.

Herbert Braun, a colleague of him, answered: (my translation from German to English)
>
>This is not a Firefox problem. Opera and Safari display the site in the same kind.
>
>The error is in IE:
>
>In the discussed html page, the button is overlaid from an other <DIV> layer,
>and so it is not possible to click the button.
>
>Except in IE, because buttons in IE are placed always in the highest layer (z-index).
>
I looked and
indeed there was a <DIV> box, which had no content in the region of the concerned button.

So thanks for all,
who spent thoughts for this little problem.

Erhy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Layout issue with Firefox shibbythestoner Forum Support 14 02-04-2008 01:36 PM
FireFox Spoofing Bug Jordan Programming News 2 01-04-2008 09:52 AM
Internet Explorer Vs Firefox mona Technology Ramble 15 10-20-2007 10:53 AM
Critical Firefox hole allows password theft Jordan Technology Ramble 31 01-22-2007 09:48 AM
Firefox flaws? mysticalone Website Design 1 01-16-2007 11:29 PM


All times are GMT -5. The time now is 04:12 PM.

Contest Stats

John ........ 87.50000
dargueta ........ 75.00000
Xav ........ 50.00000
MeTh0Dz ........ 20.00000
gaylo565 ........ 18.00000
Johnnyboy ........ 3.00000

Contest Rules

Ads