Home News Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Javascript


You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion

Javascript
Reply
 
Thread Tools
Old 15-01-2004, 16:08   #1
Eva Longoria Fan
 
MadGamer's Avatar
 
Join Date: Jun 2003
Location: Essex
Age: 20
Services: BT, Sky multiroom (Sky+ & HD), UKOnline 8MB ADSL
Posts: 6,139
MadGamer has a bronzed appealMadGamer has a bronzed appeal
MadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appeal
Javascript

Hi, i want to add a link so that people can chat to me via MSN Messenger. I want to add this link on my website but only know basic coding. I don't know how to write javascript in html.

Can someone please help me?

Thanks

WNA
__________________
XBL Gamertag: MadGamer1988


Last edited by MadGamer; 15-01-2004 at 16:25.
MadGamer is offline   Reply With Quote
Old 15-01-2004, 16:44   #2
the terminator
 
altis's Avatar
 
Join Date: Jun 2003
Location: Warrington ntl:81304 Altitude: 12m (and falling)
Posts: 3,698
altis has a nice shiny star
altis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny star
Re: Javascript

Try this

Code:
<a href="javascript:MsgrApp.LaunchIMUI('wayneaustin96@hotmail.com')">Click this</a>
...but without those underscores
altis is offline   Reply With Quote
Old 15-01-2004, 16:50   #3
cf.mega poster
 
Bifta's Avatar
 
Join Date: Jul 2003
Location: Derry
Posts: 7,597
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
Re: Javascript

Quote:
Originally Posted by altis
Try this

Code:
<a href="javascript:MsgrApp.LaunchIMUI('wayneaustin96@hotmail.com')">Click this</a>
...but without those underscores
That's not going to work on it's own, it'll just throw up javascript errors, my IE is going spastic at the moment so this isn't working for me, but if someone else could test it.

Code:
<html>
<body>
<object classid="clsid:F3A614DC-ABE0-11d2-A441-00C04F795683"
codebase="#Version=2,0,0,83" codetype=application/x-oleobject id=MsgrObj
width=0 height=0>
</object>
<OBJECT classid="clsid:FB7199AB-79BF-11d2-8D94-0000F875C541"
codeType=application/x-oleobject id=MsgrApp width=0
height=0></OBJECT>
<font face="Arial" size="2"><b>
<SCRIPT LANGUAGE="JavaScript"> 
<!-- 
function stopError() { return true; } 
window.onerror = stopError; 
// -->
</script>
<a href=javascript:MsgrApp.LaunchAddContactUI("youremailaddresshere")>
Click here to add this user to your msn</a>
<a id=”lll” href=javascript:MsgrApp.LaunchIMUI("youremailaddresshere")>
Click here to chat to this user on msn</a>
</body>
</html>
Bifta is offline   Reply With Quote
Old 15-01-2004, 17:04   #4
Eva Longoria Fan
 
MadGamer's Avatar
 
Join Date: Jun 2003
Location: Essex
Age: 20
Services: BT, Sky multiroom (Sky+ & HD), UKOnline 8MB ADSL
Posts: 6,139
MadGamer has a bronzed appealMadGamer has a bronzed appeal
MadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appeal
Re: Javascript

Quote:
Originally Posted by Bifta
That's not going to work on it's own, it'll just throw up javascript errors, my IE is going spastic at the moment so this isn't working for me, but if someone else could test it.

Code:
<html>
 <body>
 <object classid="clsid:F3A614DC-ABE0-11d2-A441-00C04F795683"
 codebase="#Version=2,0,0,83" codetype=application/x-oleobject id=MsgrObj
 width=0 height=0>
 </object>
 <OBJECT classid="clsid:FB7199AB-79BF-11d2-8D94-0000F875C541"
 codeType=application/x-oleobject id=MsgrApp width=0
 height=0></OBJECT>
 <font face="Arial" size="2"><b>
 <SCRIPT LANGUAGE="JavaScript"> 
 <!-- 
 function stopError() { return true; } 
 window.onerror = stopError; 
 // -->
 </script>
 <a href=java_script_:MsgrApp.LaunchAddContactUI("youremailaddresshere")>
 Click here to add this user to your msn</a>
 <a id=”lll” href=java_script_:MsgrApp.LaunchIMUI("youremailaddresshere")>
 Click here to chat to this user on msn</a>
 </body>
 </html>
do i need to insert this on a fresh page?
__________________
XBL Gamertag: MadGamer1988

MadGamer is offline   Reply With Quote
Old 15-01-2004, 17:06   #5
cf.mega poster
 
Bifta's Avatar
 
Join Date: Jul 2003
Location: Derry
Posts: 7,597
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
Re: Javascript

just stick whatever's between the body tags wherever you need it.
Bifta is offline   Reply With Quote
Old 15-01-2004, 17:08   #6
cf.addict
 
Fawkes's Avatar
 
Join Date: Oct 2003
Location: Manchester
Age: 31
Services: VM: Landline, TV, 10MB....4MB....1MB...56K [depending on time of day]
Posts: 278
Fawkes is just really niceFawkes is just really niceFawkes is just really niceFawkes is just really niceFawkes is just really niceFawkes is just really nice
Re: Javascript

its a no go for me Bifta. WNA, take a look here: http://forums.devshed.com/archive/1/2003/3/3/55839
__________________
:: UK*CLAN :: 'It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.' -Harry Hill ::
Fawkes is offline   Reply With Quote
Old 15-01-2004, 17:16   #7
Eva Longoria Fan
 
MadGamer's Avatar
 
Join Date: Jun 2003
Location: Essex
Age: 20
Services: BT, Sky multiroom (Sky+ & HD), UKOnline 8MB ADSL
Posts: 6,139
MadGamer has a bronzed appealMadGamer has a bronzed appeal
MadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appealMadGamer has a bronzed appeal
Re: Javascript

Quote:
Originally Posted by Fawkes
its a no go for me Bifta. WNA, take a look here: http://forums.devshed.com/archive/1/2003/3/3/55839
That site was confusing and i have googled as well, with no luck.
__________________
XBL Gamertag: MadGamer1988

MadGamer is offline   Reply With Quote
Old 15-01-2004, 17:24   #8
cf.addict
 
Fawkes's Avatar
 
Join Date: Oct 2003
Location: Manchester
Age: 31
Services: VM: Landline, TV, 10MB....4MB....1MB...56K [depending on time of day]
Posts: 278
Fawkes is just really niceFawkes is just really niceFawkes is just really niceFawkes is just really niceFawkes is just really niceFawkes is just really nice
Re: Javascript

you could always nick to source code for this out of vBulletin or PM a mod and beg (did I say that out loud! )
__________________
:: UK*CLAN :: 'It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.' -Harry Hill ::
Fawkes is offline   Reply With Quote
Old 15-01-2004, 17:33   #9
the terminator
 
altis's Avatar
 
Join Date: Jun 2003
Location: Warrington ntl:81304 Altitude: 12m (and falling)
Posts: 3,698
altis has a nice shiny star
altis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny staraltis has a nice shiny star
Re: Javascript

Quote:
Originally Posted by Fawkes
you could always nick to source code for this out of vBulletin or PM a mod and beg (did I say that out loud! )
...or click on your Messanger icon, right-click on the pop-up and then select 'View Source'. You'll just need to work out which bits you need and which you can leave out.

The 'View Source' facility is very useful for learning HTML.
altis is offline   Reply With Quote
Old 15-01-2004, 17:42   #10
cf.addict
 
Fawkes's Avatar
 
Join Date: Oct 2003
Location: Manchester
Age: 31
Services: VM: Landline, TV, 10MB....4MB....1MB...56K [depending on time of day]
Posts: 278
Fawkes is just really niceFawkes is just really niceFawkes is just really niceFawkes is just really niceFawkes is just really niceFawkes is just really nice
Re: Javascript

Yes but it's not very good for PHP.
__________________
:: UK*CLAN :: 'It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames.' -Harry Hill ::
Fawkes is offline   Reply With Quote
Old 15-01-2004, 19:49   #11
cf.mega poster
 
Bifta's Avatar
 
Join Date: Jul 2003
Location: Derry
Posts: 7,597
Bifta has a nice shiny starBifta has a nice shiny star
Bifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny starBifta has a nice shiny star
Re: Javascript

Quote:
Originally Posted by Fawkes
Yes but it's not very good for PHP.
As far as I know the PHP only populates the email address from the forum database.
Bifta is offline   Reply With Quote
Reply


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

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 Off
Pingbacks are Off
Refbacks are Off


All times are GMT +1. The time now is 15:36.


Links
Google
 
Web www.cableforum.co.uk


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
Copyright 2003 - 2008, Cable Forum.
(s204569790.onlinehome.info)