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
anchor target to an existing page
Old 06-27-2007, 02:03 PM anchor target to an existing page
Rusalka's Avatar
Experienced Talker

Posts: 36
Name: Greta
Location: Winchestertonfieldville
Trades: 0
I'm working on a wholesale site right now and I'm using a box window that pops up and asks for your password information. The thing is I also want there to be a link within the window to go to a registration page, just in case someone hasn't registered for a pw yet.

It might be easier to understand by seeing for yourself.
Click on the Order Koi link, then click on the register link within the window that pops up.
http://www.koidiet.com/koi.htm

So right now the register page opens inside the box, and I don't want that. I also don't really want to create a "_blank" target. What I really want is the register page to open in the original page.

I've played around with names and targets and can't seem to get it right. I need some help with this one.
Rusalka is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-27-2007, 02:16 PM Re: anchor target to an existing page
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I don't believe you're going to solve that solely with HTML. You're going to need some javascript or PHP to do what you want.

On the other hand, you could try something like this:
http://www.stripegenerator.com/index.php?page=index

Click on the 'login' link in the upper right.. it opens a login box over TOP of the existing page. The 'sign up' link does the same. The site uses a variation of the LightBox script.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

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


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

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-27-2007, 02:21 PM Re: anchor target to an existing page
Riane's Avatar
Super Talker

Latest Blog Post:
Happy Birthday, Steve!
Posts: 147
Name: Jordan
Location: Chicago, IL
Trades: 0
I would recommend changing from a javascript pop-up box, to a new website loading instead.

This is to prevent from that feature being unavailable to people who have javascript disabled in their browser, as well as pop-up ads being blocked. Some people may mistake that for a pop-up and close out of it.

As much as you don't want it to open on the same page, you should really have it load in the same page. A customer can always click a link to take the back to the original page, or use the back button on their browser.

Also, depending on your DOCTYPE (if you're even using one) using a target in your anchor link is deprecated in HTML 4.1 and XHTML 1.0 Standard.

Adding a name to your anchor doesn't work in the way you're trying.

Check out this link:
http://www.w3.org/TR/html401/struct/links.html

It might help you to understand some of the elements involved with anchors.
__________________

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 06-27-2007, 02:22 PM Re: anchor target to an existing page
Rusalka's Avatar
Experienced Talker

Posts: 36
Name: Greta
Location: Winchestertonfieldville
Trades: 0
well the lightbox may be a little over my head, but I could use javascript.

Last edited by Rusalka; 06-27-2007 at 02:23 PM..
Rusalka is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to anchor target to an existing page
 

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