473,385 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

problems with firefox, frames, and targeted links

I built my portfolio with Dreamweaver MX. In the bottom frame, I have
thumbnails of images. When you click on a thumbnail, it is supposed to
load the full size image in a targeted part of the top frame. It
works fine in Explorer and Safari, but not in Firefox.

The address is http://www.justmyname.com/portfolio

If anyone has any suggestions on why it isn't working, I'd appreciate
some help.

Thank you,

John

Jul 23 '05 #1
7 8786
millhauser wrote:
I built my portfolio with Dreamweaver MX. In the bottom frame, I have
thumbnails of images. When you click on a thumbnail, it is supposed to
load the full size image in a targeted part of the top frame. It
works fine in Explorer and Safari, but not in Firefox.

The address is http://www.justmyname.com/portfolio

If anyone has any suggestions on why it isn't working, I'd appreciate
some help.

Thank you,

John

firefox javascript console says top.topFrame.empty has no value
Jul 23 '05 #2
I know. What does that mean? Or, better put, how can I change that so
it will work for Firefox?

Jul 23 '05 #3
One of my frames is labeled "top" which mightbe confusing matters, so
perhaps I'll try changing that and see if it works...

Jul 23 '05 #4
millhauser wrote:
One of my frames is labeled "top" which mightbe confusing matters, so
perhaps I'll try changing that and see if it works...


One, quote what you are replying to, this is Usenet, not Email.

Second, give your frames a proper reference.

Third, do not name frames, or anything else, with an ID or a Name that
is a reserved word and "top" is a reserved word.

Then, if it still doesn't work, post back.

And read this groups FAQ.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #5
>One, quote what you are replying to, this is Usenet, not Email.

You got it.
Second, give your frames a proper reference.
Will do.
Third, do not name frames, or anything else, with an ID or a
Name that is a reserved word and "top" is a reserved word.
Now I know.
Then, if it still doesn't work, post back.


Thank you

Jul 23 '05 #6
millhauser wrote:
One, quote what you are replying to, this is Usenet, not Email.

You got it.


<--snip-->
Then, if it still doesn't work, post back.

Thank you

onclick="parent.frames['topFrame'].images['empty'].src='../images/portfolio/people01.jpg'"

parent.frames....... is what I was referring to when I said "give your
frames a proper reference". top.frameName is an IE-ism that, as you have
found out, doesn't work in other browsers.

--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Jul 23 '05 #7
millhauser wrote:
Third, do not name frames, or anything else, with an ID or a
Name that is a reserved word and "top" is a reserved word.


Now I know.


`top' is _not_ a reserved word in the formal language sense. `_top' could
be called so for its special meaning in HTML `target' attribute values.
`top' is, however, the identifier of a property of Window objects to refer
to to the "upmost" frameset (a Window object as well), so it may be unwise
to reuse it, depending on the structure of the application and the user
agent's DOM it should run on. Internet Explorer is known to implement
names and IDs (i.e. values of HTML `name' and `id' attributes) of elements
as properties of the global and document object. However, since the
so-called DOM Level 0 (proprietary, yet wide-spread DOM implementation
since IE3/NN3) names of frames are implemented as identifiers of
frame-referencing properties of the parent Window object or its `frames'
property, so that could interfere as well.
PointedEars
--
Wenn man zwei Stunden lang mit einem netten Mädchen zusammensitzt, meint
man, es wäre eine Minute. Sitzt man jedoch eine Minute auf einem heißen
Ofen, meint man, es wären zwei Stunden. Das ist Relativität.
-- Albert Einstein
Jul 23 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: Markus | last post by:
Hi, i have this problem: Sometimes, i can't reproduce, if i click on an small image on the website, the popup _AND_ an other Tab in firefox open. Here are the linkcode: <div...
35
by: Aaron Gray | last post by:
Hi, I have some code I just cannot seem to get to work properly on FireFox. It is probably something simple. On FireFox the following code does not seem to terminate in the browser, but it...
23
by: AJBopp | last post by:
Ok, I'm trying to be a good little boy and create a site that doesn't use frames :) Things were going along decently until I uploaded what little I have done so far to the web server (that is,...
14
by: bill | last post by:
I currently have a site which has the index page immediately open two frames. I put a music object in the top frame. That way the music is not cut off when the user navigates to another page and...
4
by: evgenyg | last post by:
Hello ! We have the following situation - when Ajax request is sent what's being returned by the server is usually an XML (which is used for DOM updates) but sometimes it's HTML which is a whole...
0
by: celoftis | last post by:
Using VS2005, VB code behind, BACKGROUND I'm trying to set up a page with a TreeView of links on the left hand side of my page - when clicked I want the links to open in the remaining portion...
29
by: töff 93722 | last post by:
Long story short, I built a website based primarily on JavaScript: http://www.sjcga.com The site renders *great* in WinIE6/7 and in Mac/Win Opera9. It has problems in Mac/Win Firefox2, and...
4
by: deBaer | last post by:
Hi! For an in-house web application (it will only be deployed on Firefox browsers with JavaScript turned on), I need to open a preview window (which needs to be a separate window, even if...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.