Closed Bug 295083 Opened 20 years ago Closed 20 years ago

inlineFrame error while linking inside it

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: lordhellraiser, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511

I'm working with innerHTML loading a page inside a DIV form a IFRAME, works
pretty fine if the link to load the page is from outside the DIV, but if the
link to load a new frame is inside thd DIV just happens nothing and returns a
javascript console error:

This error does not affect explorer 4+ and opera 5+

Reproducible: Always

Steps to Reproduce:
1. Follow the link http://lordhellraiser.hostingisfree.com/?seccion=contacto
2. Inside the text (not the menu) follow the link guestBook (gold colored)

Actual Results:  
Does nothing... justa an error im JS Console:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIListBoxObject.getIndexOfItem]"  nsresult:
"0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame ::
chrome://global/content/bindings/listbox.xml :: ensureElementIsVisible :: line
464"  data: no]

Expected Results:  
Load the new page from the IFRAME into the DIV.
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050521


WFM
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050521
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511
Firefox/1.0.4

Guestbook displays but I do get 2 JS errors:

Error: syntax error
Source File: http://lordhellraiser.hostingisfree.com/?seccion=contacto
Line: 157, Column: 18
Source Code:
				var visitas = <br />

Error: missing ; before statement
Source File: http://lordhellraiser.hostingisfree.com/js/?funcion=tamanio
Line: 1, Column: 15
Source Code:
Funci&oacute;n inexistente.

BTW inital page does not display correctly in Opera 8.
Was MY error, combination of PHP/JS errors who wasn't detected in my own server
(localhost) but showed in real (Unix based) server.

Thanks to irongut@vodafone.net to showme the way to view MY error and not a bug!
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.