Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

Does Any One Know Java


  • Please log in to reply

#1
bennydog

bennydog

    Member

  • Member
  • PipPip
  • 77 posts
I Want The Java Script For An Special Email, Which When The User Clicks it the Subject And Possible The Text In Side Pops Up Here Is An Example If Confused :tazz: (DONT WANT IT TO SAY 'Email Button file:///c:/Documents')

<script language="JavaScript">
function EmailLink(){
window.location = "mailto:"+"?subject=LINK EXCHANGE." + "&body="+document.title+"  "+window.location;
}
document.write('<input class="select" TYPE="button" VALUE="CLICK HERE" onClick="EmailLink()"></form>')
</script>

;)
  • 0

Advertisements


#2
ssone

ssone

    Member

  • Member
  • PipPipPip
  • 301 posts
It won't say that once it's online. It will say yoursite.com/folder/page.html.
  • 0

#3
bennydog

bennydog

    Member

  • Topic Starter
  • Member
  • PipPip
  • 77 posts

It won't say that once it's online. It will say yoursite.com/folder/page.html.

I Know I Dont Want to have it say that as well!
Is it possible for it to say e.g
(Blah Blah)
Instead Of All The Other Stuff
:tazz:

Edited by bennydog, 25 June 2005 - 09:38 AM.

  • 0

#4
ssone

ssone

    Member

  • Member
  • PipPipPip
  • 301 posts
Fixed it :tazz:


<script language="JavaScript">
function EmailLink(){
window.location = "mailto:"+"?subject=Benny Dog On Geeks To Go...";
}
document.write('<input class="select" TYPE="button" VALUE="E-mail Benny Dog" onClick="EmailLink()"></form>')
</script>

  • 0

#5
bennydog

bennydog

    Member

  • Topic Starter
  • Member
  • PipPip
  • 77 posts
Thx :tazz:
  • 0

#6
ratmilk

ratmilk

    Member

  • Member
  • PipPipPip
  • 151 posts
this is java script not java, there is a VERY big difference...
  • 0

#7
ssone

ssone

    Member

  • Member
  • PipPipPip
  • 301 posts
sok bennydog, TONS of ppl mix them together.


I am editing this today cuz the above comment sounds different than i meant it to sound.
What i meant by the above comment is not that ppl mix the code together,
but ppl confuse the two..haha..big difference..

Edited by ssone, 11 July 2005 - 07:00 AM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP