W
Wael
Hi,
Is it possible to access an array that is in another frame?
Thanks
Is it possible to access an array that is in another frame?
Thanks
Wael said:Is it possible to access an array that is in another frame?
Randy said:Stevo said the following on 11/26/2007 12:42 AM:
Damn, you beat me to it.
Thanks. I'll try that. I guess when i asked if it was possible, i alsoStevo said the following on 11/26/2007 3:40 AM:
How do I communicate between frames in a browser?
Imagine that, it is a question in this groups FAQ. Number 4.8 to be
specific.
It even answers your specific question about variables in another frame.
Wael said:var reqFrame = window.top.frames(3).frameElement;
Wael said:var reqFrame = window.top.frames(3).frameElement;
frames isn't a function, so you shouldn't be trying to "call" it with
the parameter value 3. Switch out that (3) and replace it with [3] and
you'll get a bit further.
As you can see, the complexity of my page dictates the use of allTelling us "my code doesn't work" is tantamount to me saying "My stereo
doesn't play music, why?" without showing you the stereo or even
explaining that I unplugged the thing.
--
Randy
Chance Favors The Prepared Mind
comp.lang.javascript FAQ -http://jibbering.com/faq/index.html
Javascript Best Practices -http://www.JavascriptToolbox.com/bestpractices/- Hide quoted text -
- Show quoted text -
I don't agree with that assessment. You should view that page with a
browser window that is 800 pixels wide or so. It is horrendous.
<URL:http://members.aol.com/_ht_a/hikksnotathome/waelsedky.jpg>
Not a very pleasing look.
Make the lower right "frame" a div element with absolute positioning and
the rest of your "frames" can be made part of the page itself. One
document, no frames. It even solves your JS issue because then you have
no frames to try to communicate across.
Part of my last reply, that you snipped, included this:
<quote>
And in that page, try to explain, simply, what you are trying to do.
</quote>
Wael said:that's bad news. back to the drawing board. i haven't used <div>
before. i am using html because photoshop creates the file for me. i
just have to tweak it, add scripts, etc.
here is what i was originally trying to do. because of the odd
position of my buttons, i could not use an "onmouseover" event
(because how would i place the new image),
so i used image maps
and to make the page look a lively a bit, i was going to have an icon
displayed in the frame that i cannot access.
it didn't work.
http://www.jibbering.com/faq/faq_notes/clj_posts.html#ps1DontWork
i am relying on visuals on my page more than anything else.
Randy said:Thomas 'PointedEars' Lahn said the following on 11/30/2007 11:47 AM:
Who said it wasn't? The OP clearly said he hadn't used it before.
Nothing more, nothing less. Especially not that it wasn't part of HTML.
Yeah, we all know how well supported :hover is on images in the most
predominant browser on the web. Makes it pretty useless.
Randy said:Thomas 'PointedEars' Lahn said the following on 12/1/2007 5:24 AM:
Has nothing to do with whether it is a "graphical link" or not. Telling
someone to use something that is not supports in the most predominant
browser on the web is a wasted effort. It is almost as bad as telling
someone to use an IE-only feature.
Randy said:Thomas 'PointedEars' Lahn said the following on 12/1/2007 5:43 AM:
I will refrain from telling you "No shit, Sherlock"
and simply tell you that a :hover rollovers won't work in IE.
The only thing you can do is style the link itself, not change an image
inside the link.
Randy said:Thomas 'PointedEars' Lahn said the following on 12/1/2007 8:26 AM:
Only because I don't want to read your whining.
No thanks, I prefer solid solutions.
I am gonna go through all those suggestions and see what works best<iframe style="position:absolute;left:200px;top:200px;"
src="iframeSRC.html" name="myIFrame"></iframe>
change the iframeSRC.html to your page. Then tinker around with the top
and left to get it where you want it. Then simply target="myIFrame" on
your links to open them in the IFrame.
Randy said:Thomas 'PointedEars' Lahn said the following on 12/1/2007 10:10 AM:
<sarcasm>
Yes, you are right. I just tested it on IE6 and they work flawlessly there.
</sarcasm>
No, they do not work in IE6.
Wael said:I am not a web programmer that's why i am using an archaic technology.
It is basic html
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.