Solved

A Href question

Posted on 2012-04-03
6
257 Views
Last Modified: 2012-04-07
I have a site where in I have a link to another site's login page. The problem is the login page on the other site is a popup called via java script from that page. I need to send users to that login page... is this possible...

For example my site www.mysite.com (A link to goto othersite's login page)

www.othersite.com
The login page is a popup here and called via a java script on this site.

Can I call this java script from my page so user can directly goto login page instead of home page?
0
Comment
Question by:Aanvik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 5

Expert Comment

by:dcowley
ID: 37803136
I guess that you don't have any control over the other site?

You say that the login page there is a pop-up called via JavaScript, but is it actually a JavaScript login mechanism, or does the JavaScript just make the pop-up work, which is standard html?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 37803141
If it is a separate URL, it is possible.  But if their base page sets a cookie or some other code required for the login, it won't succeed.  And if it is not a separate page, I don't see how you would call their javascript without their page.  It could be in an iframe I guess.
0
 
LVL 16

Expert Comment

by:Wasim Akram Shaik
ID: 37803182
if you know the login page url, just paste it as a href instead of placing www.othersite.com in your site, directly place the login url at that place..
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 37803266
If you are sending traffic to this other site, I would think they would be co-operative in helping you to do so.  I suggest to contact the operator of the other site and see if they can help you reach your goal.


Cd&
0
 
LVL 22

Expert Comment

by:plusone3055
ID: 37803269
yes you can
you need to go to
www.othersite.com
Copy thier javascrpt files nad add them to your page so you can emilate it
0
 
LVL 2

Accepted Solution

by:
Elbassel earned 500 total points
ID: 37804907
Yes you can :D
1- you can append a parameter to  the link that you will click such as that
<a href="www.othersite.com?login=popup"

Open in new window

and then in the other site you can get this parameter from the request and you can do an action based on this parameter such as a login popup.

This is a solution, if this solution is acceptable, that's great, if not tell me again, because I have another solution.

Best wishes :D
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Expanding/Collapsing Tree on SharePoint List 29 58
How to size popup in jquery mobile 4 56
PDF Turn Look 7 26
close window in firefox 3 33
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question