HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 6th, 1999, 10:12 PM
drosen
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Hello, I have frames on my page. When entering my site, my visitor chooses if he will be using the service from the US or elsewhere. He/She is linked to the respective page (with frames) depending on what he clicks. That is al fine but I want to give my user the option of, having chosen the wrong link at the beginning, switching to the other part of my website. EX: he/she initially clicked from the US, got there, and realized that he should be in the not from US part.

So I added the link the left frame of my page linking to the other part of the site. I am having trouble getting a complete new page to load when the user clicks the link. It always loads within the current framed page. I want both the left and the main frame to change when the user clicks on the link to go to the other part of my site.

I hope you can understand what I am saying and what I am trying to do and any help would be greatly appreciated. I have not loaded the extra links to switch between US and not US on my page, but if you want to generally see what it is check out http://www.international01.com.

Thank you so much in advance.

Damien Rosen

------------------
www.international01.com

Reply With Quote
  #2  
Old July 8th, 1999, 11:33 AM
dahamsta
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Damien,

I can't get further than the "Check out these rates bit", but I think you mean that the link is loading in the frame that the user links from yes? Well, the simplest way about it is to make a link to the frameset for the other location, using target="_top" as an attribute in the href tag.

The other solution is to use a tag like:

<a href="left-frame.htm" onClick="top.frames[1].location='right-frame.htm'"; return true">Go to USA</a>

... however this won't work in browsers with JavaScript disabled.

adam

Reply With Quote
  #3  
Old July 9th, 1999, 01:28 AM
drosen
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Hey Adam, thank you so much for the reply. I actually figured it out using something like target=_parent and it works! I will try to do it with your code as well.

I fully appreciate your reply, thank you.

Damien

------------------
www.international01.com

Reply With Quote
  #4  
Old July 17th, 1999, 05:58 PM
dahamsta
Guest
Dev Shed Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Gods it's been a while since I was here! Anyway, just a note on using _parent instead of _top:

_parent will work grand for what you need, but you'll find that if you're using nested framesets, i.e. a frameset within a frameset, that that will target the top of the *current* frameset, not the top of the window. So _top is what you should *really* be using in these circumstances.

But if it works it works!

Cheers,
adam

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > frames


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump



 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT