Re: [Proto-Scripty] outside the IFRAME

2010-05-03 Thread Miguel Beltran R.
2010/4/30 Hariz Soleminio harriz_solemi...@rocketmail.com

 Hello,

 Is this possible I inserted an IFRAME in a page. the i frame i inserted
 contains HTML with protoype/javascript codes.

 below is the javascript code
 Event.observe(document, 'keyup', keyupcheck, false);


 im observing the window in any keyup events. however it only works within
 the iframe what if i want it to work outside the
 i frame?


 Please help guys.




Maybe chaging document for window.something-else

With firebug you can look all propierties

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] outside the IFRAME

2010-04-30 Thread Hariz Soleminio
Hello,

Is this possible I inserted an IFRAME in a page. the i frame i inserted 
contains HTML with protoype/javascript codes. 

below is the javascript code
Event.observe(document, 'keyup', keyupcheck, false);

im observing the window in any keyup events. however it only works within the 
iframe what if i want it to work outside the 
i frame?


Please help guys.

Thankss


-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.