Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.6

Bug #29 HTML_Progress will fail when php script runs inside frames
Submitted: 2003-09-22 17:30 UTC
From: info at rhalff dot com Assigned: farell
Status: Closed Package: HTML_Progress
PHP Version: Irrelevant OS: linux
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 45 - 9 = ?

 
 [2003-09-22 17:30 UTC] info at rhalff dot com
Description: ------------ The javascript of HTML_Progress will fail if the php script is run within a HTML frame. The proper target would be 'self' and not parent I think. sollution: change all occurences of parent. to self. parent would only apply if the progress bar is in an other (parent) window then the running script, which is not likely to happen. Reproduce code: --------------- // calling example script from an iframe <iframe src="docs/HTML_Progress/examples/progress1.php"></iframe> Expected result: ---------------- Nice progressing bar. Actual result: -------------- in Mozilla: Error: parent.addprogress is not a function Error: parent.setmessage is not a function in IE: Object doesn't support this property or method. !? :-D

Comments

 [2003-09-24 22:44 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!