Wrox Programmer Forums
|
BOOK: Beginning JavaScript
This is the forum to discuss the Wrox book Beginning JavaScript by Paul Wilton; ISBN: 9780764544057
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaScript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 29th, 2004, 09:09 PM
Registered User
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default location.href

Hi all together,

I'm a completely Newbie in Javascript and have the following problem:

in my NaviBar are submenues, but they won't open the desired page. Before I post the whole Script plz. have a look to this snipet:

function item_click() {
                if (!animating) {
                        if (_this.items[this._index].url)
                                parent.frames["stage"].location.href = _this.items[this._index].url;
                }
        }

is the sntax wright?. Damn. It will not work.

thx for your advice in advance

greetings from Munich

Strolchi;)

 
Old January 29th, 2004, 09:21 PM
Registered User
 
Join Date: Jan 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ah I forgot to say that my Venkman Debugger shows me the line with
location.href as the wrong line . It says :
Error ``parent.frames["stage"].location.href has no properties''
neither with (), nor with ' instead " nor without all...






Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 8, href and HRef (p. 285) roman BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 June 16th, 2008 10:40 AM
href darkhalf Javascript 2 November 20th, 2005 10:59 AM
document.location.href surendran Javascript 5 August 3rd, 2005 10:17 PM
Error Received When Trying to Get Location.Href DragonKing005 Classic ASP Basics 3 May 22nd, 2005 09:54 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.