Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 07-01-2007, 02:39 PM Im links
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
hi,

im planning to use some direct IM links on my page.

Ill show a couple of example so u no what i mean.
Add me to their messenger link:
Code:
a href="msnim:add?contact=dansgalaxy@hotmail.co.uk">Add me on MSN </a>
Add me to their messenger for Yahoo
Code:
<a href="ymsgr:addfriend?dansgalaxy@hotmail.co.uk">Add me on Yahoo Messenger</a>
when i just did a page, i noticed that the msn worked but th yahoo didnt, because idony have yahoo messenge installed.

So how would i have a lil javsscript pop up come up and saying You dont have yahoo/msn messenger installed.
if they dont haveit?

because if they dont it goes to page cannot be displayed...

so i basically want to e this.

Thanks,
dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
 
Register now for full access!
Old 07-01-2007, 03:20 PM Re: Im links
Riane's Avatar
Super Talker

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
If they don't have MSN/Yahoo installed, most people with common sense would know that clicking on those links would do nothing.

Why not just have a text notation on your site, versus javascript? "If you do not have either of those programs installed, the links will not work."
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE

Riane is offline
Reply With Quote
View Public Profile Visit Riane's homepage!
 
Old 07-01-2007, 03:22 PM Re: Im links
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
I know and i will have that.

its just for stupid people.
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 07-01-2007, 03:45 PM Re: Im links
Mooofasa's Avatar
Defies a Status

Posts: 1,611
Name: Michael (mik) Land
Location: England
Trades: 0
Quote:
Originally Posted by dansgalaxy View Post
I know and i will have that.

its just for stupid people.
Even stupid people will realise.
Mooofasa is offline
Reply With Quote
View Public Profile Visit Mooofasa's homepage!
 
Old 07-01-2007, 06:56 PM Re: Im links
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
OK! Lol... but CAN it be done...
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 07-02-2007, 05:15 PM Re: Im links
PC Catastrophe's Avatar
Super Talker

Latest Blog Post:
QR Code Craze
Posts: 125
Name: Brandy
Location: Indiana
Trades: 0
I do not know about the javascript, but since it is for "stupid people"...
How about a redirect to an installation page? It would encourage people to install it.
__________________

Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE
PC Catastrophe is offline
Reply With Quote
View Public Profile Visit PC Catastrophe's homepage!
 
Old 07-02-2007, 05:38 PM Re: Im links
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
yea thinking about it that would be much better... ok then...

(i only said javscript because i guessed tahst what u would use..)

right ok. so heres what im thinking

somehow detect if they have the program (somehow test if a link which has the protical of msnim returns true and it gets a page or false it returns a cant be found thing.)

then do a if else on the link? so soemthing like
PHP Code:
$software "what ever code/script to see if they have the software...";
 
if (
$software == TRUE)
{
echo 
'<a href="msnim:add?contact=dansgalaxy@hotmail.co.uk">Add me on MSN </a>';
}
 
else {
echo 
'<a href=http://dansgalaxy.co.uk/getmsn.php title="it appears you don have msn im installed... click here to get it">Get MSN IM</a>';

ok... so anyideas on how to detect if they have it?...
is there a way to "test" the protacal (without any user display...).

Thanks for help
Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to Im links
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.40598 seconds with 12 queries