public
Description: some various js files and examples for me to refer to and use
Clone URL: git://github.com/jnunemaker/javascripts.git
Search Repo:
added a try around iframe positioning as sometimes ie complains there
jnunemaker (author)
Tue Jul 08 13:11:29 -0700 2008
commit  7c9d64591eb0e43102429e496beac9a5f97c13e8
tree    2436c0a89fae70407b6b11148083c3744b9059d7
parent  0edac49c2c4b5aeb3142045426c5d9572b63637e
...
54
55
56
57
58
59
60
 
 
 
 
 
 
61
62
63
64
...
54
55
56
 
 
 
 
57
58
59
60
61
62
63
64
65
66
0
@@ -54,10 +54,12 @@ var Annoying = {
0
     if (!element) { return; }
0
     var iframe = Annoying.iFrameFor(element);
0
     if (element && iframe) {
0
- iframe.clonePosition(element);
0
- iframe.setStyle({zIndex: 1});
0
- element.setStyle({zIndex: 2});
0
- iframe.show();
0
+ try {
0
+ iframe.clonePosition(element);
0
+ iframe.setStyle({zIndex: 1});
0
+ element.setStyle({zIndex: 2});
0
+ iframe.show();
0
+ } catch(e) {}
0
     }
0
   }
0
 }
0
\ No newline at end of file

Comments

    No one has commented yet.