I don't think they will fix 'cd' since no one has reported a bug with
it.
jjb

On Nov 15, 8:58 am, Ellen <[EMAIL PROTECTED]> wrote:
> As far as I can tell, the cd command simply does not work. For
> example, given a frameset with 2 frames "data" and "myStage".
>
> I've tried the following and ALL get a response of "null"
> cd(frames[0]) and cd(frames[1])
> cd(frames["1"])
> cd(top)
> cd(1) and  cd(0)
> cd("1") and cd("0")
> cd(data) and cd(myStage)
> cd("data") and cd("myStage")
> cd(window.data)
> cd(frames[0].contentWindow)
>
> if, however, I simply type in frames[0], it returns "Window
> page01.htm" and you can toggle the little triangle on the left to show
> all properties of that window.
> And if I type frames[0].pageNo it returns "1" which is correct.
> So I guess until they fix cd, we can use frames[number].property as a
> fallback.
>
> Ellenhttp://thedesignspace.net
>
> On Oct 7, 2:38 am, Jan Odvarko <[EMAIL PROTECTED]> wrote:
>
> > > use it like thiscd(frames['idofFrame'])
>
> > And also:
> > 1) If the <iframe> element has a name attribute you can use it
> > directly.
> > <iframe name="frameName" ... />cd(frameName);
>
> > 2) If the <iframe> elemetn has an ID you can also use it.
> > <iframe id="frameId" ... />cd($("frameId").contentWindow);
>
> > 3) To change the context to the top window again use:cd(top)
>
> > Honza
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to