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
Register FAQ Community Calendar

Javascript
Reply
 
Thread Tools
Old 15-01-2004, 16:08   #1
MadGamer
Inactive
 
MadGamer's Avatar
 
Join Date: Jun 2003
Location: Essex
Age: 38
Services: Sky multiroom (Sky Q) Sky Fibre Unlimited Sky Landline
Posts: 8,851
MadGamer has a nice shiny star
MadGamer has a nice shiny starMadGamer has a nice shiny star
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
MadGamer is offline   Reply With Quote
Advertisement
Old 15-01-2004, 16:44   #2
altis
Inactive
 
altis's Avatar
 
Join Date: Jun 2003
Location: Warrington ntl:81304 Altitude: 12m (and falling)
Posts: 4,499
altis has a nice shiny staraltis 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 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
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
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 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
MadGamer
Inactive
 
MadGamer's Avatar
 
Join Date: Jun 2003
Location: Essex
Age: 38
Services: Sky multiroom (Sky Q) Sky Fibre Unlimited Sky Landline
Posts: 8,851
MadGamer has a nice shiny star
MadGamer has a nice shiny starMadGamer has a nice shiny star
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?
MadGamer is offline   Reply With Quote
Old 15-01-2004, 17:06   #5
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
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 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
Fawkes
Inactive
 
Fawkes's Avatar
 
Join Date: Oct 2003
Location: Manchester
Age: 49
Services: VM: 120M Broadband, TV + Landline
Posts: 471
Fawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond repute
Re: Javascript

its a no go for me Bifta. WNA, take a look here: http://forums.devshed.com/archive/1/2003/3/3/55839
Fawkes is offline   Reply With Quote
Old 15-01-2004, 17:16   #7
MadGamer
Inactive
 
MadGamer's Avatar
 
Join Date: Jun 2003
Location: Essex
Age: 38
Services: Sky multiroom (Sky Q) Sky Fibre Unlimited Sky Landline
Posts: 8,851
MadGamer has a nice shiny star
MadGamer has a nice shiny starMadGamer has a nice shiny star
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.
MadGamer is offline   Reply With Quote
Old 15-01-2004, 17:24   #8
Fawkes
Inactive
 
Fawkes's Avatar
 
Join Date: Oct 2003
Location: Manchester
Age: 49
Services: VM: 120M Broadband, TV + Landline
Posts: 471
Fawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond repute
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! )
Fawkes is offline   Reply With Quote
Old 15-01-2004, 17:33   #9
altis
Inactive
 
altis's Avatar
 
Join Date: Jun 2003
Location: Warrington ntl:81304 Altitude: 12m (and falling)
Posts: 4,499
altis has a nice shiny staraltis 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 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
Fawkes
Inactive
 
Fawkes's Avatar
 
Join Date: Oct 2003
Location: Manchester
Age: 49
Services: VM: 120M Broadband, TV + Landline
Posts: 471
Fawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond reputeFawkes has a reputation beyond repute
Re: Javascript

Yes but it's not very good for PHP.
Fawkes is offline   Reply With Quote
Old 15-01-2004, 19:49   #11
Bifta
Inactive
 
Join Date: Jul 2003
Location: Eglinton, Co. Derry
Posts: 7,640
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 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


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

Forum Jump


All times are GMT. The time now is 18:12.


Server: lithium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum