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.

JavaScript Forum


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



Reply
Why does this link not link
Old 01-15-2009, 02:52 PM Why does this link not link
Novice Talker

Posts: 13
Name: Jean-Pierre
Trades: 0
Hi guys,

Why is this link not linking to the appropiate Site?

HTML Code:
<a href="window.open('https://secure.planetdac.com/NetTerminal/Frames.asp?opid=<%=Session("OperatorID")%>&opname=<%=Session("OperName")%>&subid=<%=Session("SubID")%>&subname=<%=Session("SubName")%>',null,'height=470,width=400,directories=no,resizable=no,scrollbars=no,titlebar=no,status=no,toolbar=no,menubar=no,location=no');">New Payment</a></li>
If I use instead of href - onclick, it links, but it does not show as a link.

Any Ideas.

Thanks
Jp

Any
jp1981 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-15-2009, 03:00 PM Re: Why does this link not link
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
Double quoted strings inside of single quoted strings.
__________________

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

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 01-15-2009, 03:14 PM Re: Why does this link not link
Novice Talker

Posts: 13
Name: Jean-Pierre
Trades: 0
Quote:
Originally Posted by Decaf View Post
Double quoted strings inside of single quoted strings.
Thanks for the tip.

Any Ideas how to solve that. I need the strings inside for the system to realise a operator or subscriber is logged in.

thanks
jp
jp1981 is offline
Reply With Quote
View Public Profile
 
Old 01-15-2009, 05:21 PM Re: Why does this link not link
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
use href="javascript:window.open
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-16-2009, 03:13 AM Re: Why does this link not link
Novice Talker

Posts: 13
Name: Jean-Pierre
Trades: 0
Quote:
Originally Posted by chrishirst View Post
use href="javascript:window.open
Thanks for you answer. I have tried that as well. It works, it opens up the new window with the right size, but the original window also changes to a blank page with following in it: [object Window]

Any Idea how to keep the original page as is?

Thanks
Jp
jp1981 is offline
Reply With Quote
View Public Profile
 
Old 01-16-2009, 04:03 AM Re: Why does this link not link
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
add

;return false;

after the closing paranthesis
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-17-2009, 10:28 AM Re: Why does this link not link
Junior Talker

Posts: 4
Name: Ankur
Trades: 0
thanks for the information... it helped to solve my problem as well
ankur is offline
Reply With Quote
View Public Profile
 
Old 01-18-2009, 02:07 PM Re: Why does this link not link
Novice Talker

Posts: 13
Name: Jean-Pierre
Trades: 0
Quote:
Originally Posted by chrishirst View Post
add

;return false;

after the closing paranthesis
Thanks for the answer.

It still does not work for me. Now if I want to click on it it does absolut nothing.

Can you maybe use my code I have posted above and post it here how you think it should be.

Sorry, but I have tried all kind of variations now, and nothing seems to work propper.

Thanks for your trouble.

Jp
jp1981 is offline
Reply With Quote
View Public Profile
 
Old 01-18-2009, 02:32 PM Re: Why does this link not link
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
why not just use the onclick event BTW?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-19-2009, 06:58 AM Re: Why does this link not link
Novice Talker

Posts: 13
Name: Jean-Pierre
Trades: 0
Quote:
Originally Posted by jp1981 View Post

If I use instead of href - onclick, it links, but it does not show as a link.

Any Ideas.

Thanks
Jp

Any
It does not show as a link.
jp1981 is offline
Reply With Quote
View Public Profile
 
Old 01-19-2009, 08:03 AM Re: Why does this link not link
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
Use onclick and also href="#".
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Old 01-27-2009, 09:22 AM Re: Why does this link not link
Novice Talker

Posts: 13
Name: Jean-Pierre
Trades: 0
Quote:
Originally Posted by Insensus View Post
Use onclick and also href="#".

Thanks, works for firefox. In IE it does not display as a link. Don't get me wrong, it links apropiate, but it does not show the little hand that indicates it is a link.

Jp
jp1981 is offline
Reply With Quote
View Public Profile
 
Old 01-27-2009, 09:27 AM Re: Why does this link not link
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
style="cursor: pointer"
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-28-2009, 05:15 PM Re: Why does this link not link
Novice Talker

Posts: 13
Name: Jean-Pierre
Trades: 0
Thanks a million chrishirst, worked 100% now ;-)
jp1981 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Why does this link not link
 

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.58015 seconds with 12 queries