Re: Facebox popup in the another frame ?

104 views
Skip to first unread message
Message has been deleted

ARIF MAHMUD RANA

unread,
Oct 9, 2011, 6:06:30 AM10/9/11
to fac...@googlegroups.com
if you can select you can certainly open facebox from different frame.

On Sun, Oct 9, 2011 at 3:56 PM, Chris <chris.f...@gmail.com> wrote:
there's two frames in a frameset and i've put the facebox function and
hide <div> in the navigation.html.

i want to popup the hide message in the content.html when i clicked
the test hyperlink in the navigation.html.

is there any way to deal it ?

i apologize to my poor english :-)

index.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-TW" lang="zh-
TW" dir="ltr">
<head>
   <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
   <meta name="robots" content="noindex, nofollow" />
   <title>{#title#}</title>
   <link rel="icon" href="favicon.ico" type="image/x-icon" />
   <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /
>
</head>
<frameset cols="230,*" rows="*" id="mainFrameset">
   <frame frameborder="0" id="frame_navigation" src="navigation.html"
name="frame_navigation" scrolling="no">
   <frame frameborder="0" id="frame_content" src="content.html"
name="frame_content">
   <noframes>
       <body>
           <div class="notification error png_bg">
               <div>Oooooops ! </div>
           </div>
       </body>
   </noframes>
</frameset>
</html>

navigation.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-TW" lang="zh-
TW" dir="ltr">
<head>
   <meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
   <meta name="robots" content="noindex, nofollow" />
   <title>{#title#}</title>
   <link rel="icon" href="./favicon.ico" type="image/x-icon" />
   <link rel="shortcut icon" href="./favicon.ico" type="image/x-
icon" />
   <link rel="stylesheet" href="./resources/css/facebox.css"
type="text/css" media="screen" />
   <script type="text/javascript" src="http://code.jquery.com/jquery-
latest.min.js"></script>
   <script type="text/javascript" src="./resources/scripts/
jquery.facebox.js"></script>
   <script type="text/javascript">
       jQuery(document).ready(function($) {
           $('a[rel*=facebox]').facebox({
               loadingImage : 'resources/images/loading.gif',
               closeImage   : 'resources/images/closelabel.gif'
           })
       })
   </script>
</head>
<body>
   <a href="#messages" title="test" rel="facebox">test</a>
   <!-- Start: messages -->
       <div id="messages" style="display: none">
           <p>
               4 test :)
           </p>
       </div>
   <!-- End: messages -->
</body>
</html>

--
You received this message because you are subscribed to the Google Groups "facebox" group.
To post to this group, send email to fac...@googlegroups.com.
To unsubscribe from this group, send email to facebox+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/facebox?hl=en.


Kharachar Christopher

unread,
Mar 28, 2012, 9:26:31 AM3/28/12
to fac...@googlegroups.com
Are you find the way? pop up another frame
To unsubscribe from this group, send email to facebox+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages