Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: IE7 oddity
markemms
Junior Member

Posts: 3
Registered: 11/3/2006
Location: Solihull, UK
Member Is Offline
posted on 11/3/2006 at 04:33 AM Reply With Quote
IE7 oddity


Hints works fine for me in IE6, FF and Opera. When I upgraded to IE7 I get an error.

Grateful for ideas/suggestions!
View User's Profile View All Posts By User U2U Member
jcjenk
Newbie

Posts: 1
Registered: 11/5/2006
Location: USA:Arizona:Queen Creek
Member Is Offline
posted on 11/5/2006 at 03:00 PM Reply With Quote
Same Here


I have the same problem. Once I ugpraded to IE 7, my Tigra Hints just quit working. Now I can an "Error on Page" in the bottom left status bar of IE. Double clicking that shows:

Line: 137
Char: 2
Error: Invalid argument
Code: 0
URL: (myurl)

When I view source, here are lines 122-139

122 function TTipMove (id) {
123 var n_x = this.x + this.left, n_y = this.y + this.top;
124 if (this.b_wise) {
125 var n_w = this.getSize(id), n_h = this.getSize(id, true),
126 n_win_w = this.getWinSz(), n_win_h = this.getWinSz(true),
127 n_win_l = this.getWinSc(), n_win_t = this.getWinSc(true);
128 if (n_x + n_w > n_win_w + n_win_l) n_x = n_win_w + n_win_l - n_w;
129 if (n_x < n_win_l) n_x = n_win_l;
130 if (n_y + n_h > n_win_h + n_win_t) n_y = n_win_h + n_win_t - n_h;
131 if (n_y < n_win_t) n_y = n_win_t;
132 }
133 this.divs[id].o_css.left = n_x;
134 this.divs[id].o_css.top = n_y;
135 this.iframes[id].o_css.left = n_x;
136 this.iframes[id].o_css.top = n_y;
137 this.iframes[id].o_css.height = n_h-this.top;
138 this.iframes[id].o_css.width = this.getSize(id, false)-this.left;
139 }


Any ideas? I really enjoy the functionality and would love to get it back.

Thanks!
View User's Profile View All Posts By User U2U Member
Levanter30
Newbie

Posts: 1
Registered: 12/23/2006
Member Is Offline
posted on 12/23/2006 at 02:36 PM Reply With Quote

Here is the fix to get things working again:

if(this.top < n_h)
this.iframes[id].o_css.height = (n_h-this.top) + 'px';

if(this.left < this.getSize(id, false))
this.iframes[id].o_css.width = (this.getSize(id, false)-this.left) + 'px';

If the equation equates to a negative figure it doesnt work in IE7, this is a work around, but now the popups could appear off the window

:-)
View User's Profile View All Posts By User U2U Member
markemms
Junior Member

Posts: 3
Registered: 11/3/2006
Location: Solihull, UK
Member Is Offline
posted on 12/24/2006 at 04:29 AM Reply With Quote

Thanks for that - where do I put the code exactly?
View User's Profile View All Posts By User U2U Member
drhansenjr
Newbie

Posts: 1
Registered: 2/2/2004
Member Is Offline
posted on 1/6/2007 at 10:28 AM Reply With Quote

The code goes in hints.js and replaces these lines:

this.iframes[id].o_css.height = (n_h-this.top) + 'px';
this.iframes[id].o_css.width = (this.getSize(id, false)-this.left) + 'px';

(HEY TIGRA FOLKS -- IS THERE A PERMANENT FIX FOR THIS IN THE WORKS??)
View User's Profile View All Posts By User U2U Member
markemms
Junior Member

Posts: 3
Registered: 11/3/2006
Location: Solihull, UK
Member Is Offline
posted on 1/6/2007 at 10:40 AM Reply With Quote

Excellent - many thanks!
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
 Product Demonstrations Live Demo
Free Download Free Download
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Support Forum
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004