[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4284: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4286: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4287: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4288: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3493)
www.dhtmlgoodies.com • View topic - AJAX POLL - weird behavior on IE7
Advertisement

AJAX POLL - weird behavior on IE7

Moderators: Calcifer, slothy

AJAX POLL - weird behavior on IE7

Postby justinshea » Tue May 29, 2007 9:39 pm

justinshea
 
Posts: 7
Joined: Tue May 29, 2007 9:18 pm
Location: New York

Postby NairB » Wed May 30, 2007 3:44 am

NairB
 
Posts: 12
Joined: Wed May 23, 2007 4:20 am

Postby justinshea » Wed May 30, 2007 4:50 pm

justinshea
 
Posts: 7
Joined: Tue May 29, 2007 9:18 pm
Location: New York

Postby justinshea » Wed May 30, 2007 5:06 pm

justinshea
 
Posts: 7
Joined: Tue May 29, 2007 9:18 pm
Location: New York

Postby NairB » Thu May 31, 2007 12:32 am

NairB
 
Posts: 12
Joined: Wed May 23, 2007 4:20 am

Postby NairB » Thu May 31, 2007 4:02 am

Justin,

I was looking again at your source code and see a couple of small differences between yours and mine.

Whether this makes any difference...well maybe you can try.

The thing I notice was missing div information that you seemed to have removed from the code....

I highlighted this in red below. It points to "maincontainer".....I wonder if this is important!! Also input radio should say input checked radio.

Anyways, here is my ajax-poller.php code...




I cant really think of anything else exept that maybe you should install the original poller without changes and see if this collapsing happens again

-NairB
NairB
 
Posts: 12
Joined: Wed May 23, 2007 4:20 am

Postby justinshea » Thu May 31, 2007 4:58 am

Thanks for taking a look.
I had actually changed the 'onclick' script subsequent to posting the link. The variation had been working on IE but disabled the 'cast-my-vote' function on Firefox for some reason.This is the version you must have seen.

So, it seems that the problem lies within the 'onclick' script. However, I will try modifying the <div> tags you referenced on your last post.

Meanwhile, I have re-posted the original version of the file with the original bug for you to take a look at if you want.

Thanks for your help and attention thus far.

Cheers,
Justin
justinshea
 
Posts: 7
Joined: Tue May 29, 2007 9:18 pm
Location: New York

Postby NairB » Thu May 31, 2007 9:23 am

:shock: :oops: I've solved it Justin....

OK I now see what you mean after I vote and results are displayed....the poller jumps to the top of page & cropping (rest of page jumps up with it, hiding everything above poller under the header. This is also happening using IE6 also :?

I'm embarrassed I didn't spot this sooner.....ah well :oops: :lol:

You are correct to assume it is the onclick <a href="#" onclick="castMyVote.....the "#" causes this to happen in IE but not FF.

Replace the "#" with the actual URL of your iframe source....so for example, in my case the line to change in the ajax-poller.php will read something like this.....

<a href="/poller/ajax-poller.php" onclick="castMyVote(<?php echo $pollerId; ?>,document.forms[0])"><img src="images/vote_button.gif"></a>

Give this a try and it should keep your poller stationary stopping it jumping up the page :wink:

NairB
NairB
 
Posts: 12
Joined: Wed May 23, 2007 4:20 am

Postby justinshea » Thu May 31, 2007 4:31 pm

justinshea
 
Posts: 7
Joined: Tue May 29, 2007 9:18 pm
Location: New York

Postby Batalf » Thu May 31, 2007 5:42 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby justinshea » Thu May 31, 2007 6:46 pm

justinshea
 
Posts: 7
Joined: Tue May 29, 2007 9:18 pm
Location: New York

Postby NairB » Thu May 31, 2007 9:26 pm

NairB
 
Posts: 12
Joined: Wed May 23, 2007 4:20 am

Postby Batalf » Thu May 31, 2007 10:56 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm

Postby NairB » Fri Jun 01, 2007 2:37 am

NairB
 
Posts: 12
Joined: Wed May 23, 2007 4:20 am

Postby justinshea » Fri Jun 01, 2007 4:24 pm

justinshea
 
Posts: 7
Joined: Tue May 29, 2007 9:18 pm
Location: New York


Return to General questions regarding AJAX scripts

Who is online

Users browsing this forum: No registered users and 4 guests

cron