Re: Custom Search Results in IE bug?

298 views
Skip to first unread message

Joe Miao

unread,
Aug 30, 2012, 8:00:41 AM8/30/12
to google-ajax...@googlegroups.com
ZxIRAX,

Keep in mind IE has a URL limit - it can only take less than 2083 characters in your URL while other browsers allow a much bigger number.

Good luck

Joe

On Thu, Aug 30, 2012 at 5:20 AM, ZxIRAX <zxi...@gmail.com> wrote:
Hi,

I am having some issues with a google custom search implementation (results only). I have it working perfectly in FF, Chrome, Safari in the development environment. However in IE when clicking a next page (number at the bottom) the page gets skewed - the page moves to the left and is aligned with the CSE div.

I have uploaded the code into production environment on a text page so that you can see this first hand: http://www.brookson.co.uk/test99/tests/?q=tax (I have included the search param, as the search box is not currently linked to the google custom search.

Any help would be appreciated.

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
https://groups.google.com/d/msg/google-ajax-search-api/-/q11pk5Dfs1kJ
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en




ZxIRAX

unread,
Aug 30, 2012, 8:15:03 AM8/30/12
to google-ajax...@googlegroups.com
Hi Joe,

The actual URL does not change - so I do not think that this is the problem. If you open the link in my original post you will see that the page loads correctly. However, when you go to the bottom of the search results and click another page number to veiw the results, the page alignment gets changed and everything shifts to the left.


On Thursday, 30 August 2012 13:04:45 UTC+1, Joemiaoz wrote:
ZxIRAX,

Keep in mind IE has a URL limit - it can only take less than 2083 characters in your URL while other browsers allow a much bigger number.

Good luck

Joe
On Thu, Aug 30, 2012 at 5:20 AM, ZxIRAX <zxi...@gmail.com> wrote:
Hi,

I am having some issues with a google custom search implementation (results only). I have it working perfectly in FF, Chrome, Safari in the development environment. However in IE when clicking a next page (number at the bottom) the page gets skewed - the page moves to the left and is aligned with the CSE div.

I have uploaded the code into production environment on a text page so that you can see this first hand: http://www.brookson.co.uk/test99/tests/?q=tax (I have included the search param, as the search box is not currently linked to the google custom search.

Any help would be appreciated.

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to

Jeremy Geerdes

unread,
Aug 30, 2012, 8:20:59 AM8/30/12
to google-ajax...@googlegroups.com

This is true, and actually, Google has instituted a similar limit on URL length. With the Search APIs, it's generally not an issue, though.

This sounds more like an issue in building and rendering the HTML elements, but I won't be able to test until probably 9:30a CDT (i.e., two hours from now).

Jg

On Aug 30, 2012 7:04 AM, "Joe Miao" <joem...@gmail.com> wrote:
ZxIRAX,

Keep in mind IE has a URL limit - it can only take less than 2083 characters in your URL while other browsers allow a much bigger number.

Good luck

Joe
On Thu, Aug 30, 2012 at 5:20 AM, ZxIRAX <zxi...@gmail.com> wrote:
Hi,

I am having some issues with a google custom search implementation (results only). I have it working perfectly in FF, Chrome, Safari in the development environment. However in IE when clicking a next page (number at the bottom) the page gets skewed - the page moves to the left and is aligned with the CSE div.

I have uploaded the code into production environment on a text page so that you can see this first hand: http://www.brookson.co.uk/test99/tests/?q=tax (I have included the search param, as the search box is not currently linked to the google custom search.

Any help would be appreciated.

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to

To view this message on the web, visit

ZxIRAX

unread,
Aug 30, 2012, 9:03:01 AM8/30/12
to google-ajax...@googlegroups.com
Hi Joe,

Thanks for the clarification. As I mention in my original post, it works fine in all other browsers except IE - where the whole page shifts left.

I would really appreciate any help you can offer to resolve this issue.

Jay


On Thursday, 30 August 2012 13:21:09 UTC+1, jgeerdes [AJAX APIs "Guru"] wrote:

This is true, and actually, Google has instituted a similar limit on URL length. With the Search APIs, it's generally not an issue, though.

This sounds more like an issue in building and rendering the HTML elements, but I won't be able to test until probably 9:30a CDT (i.e., two hours from now).

Jg

On Aug 30, 2012 7:04 AM, "Joe Miao" <joem...@gmail.com> wrote:
ZxIRAX,

Keep in mind IE has a URL limit - it can only take less than 2083 characters in your URL while other browsers allow a much bigger number.

Good luck

Joe
On Thu, Aug 30, 2012 at 5:20 AM, ZxIRAX <zxi...@gmail.com> wrote:
Hi,

I am having some issues with a google custom search implementation (results only). I have it working perfectly in FF, Chrome, Safari in the development environment. However in IE when clicking a next page (number at the bottom) the page gets skewed - the page moves to the left and is aligned with the CSE div.

I have uploaded the code into production environment on a text page so that you can see this first hand: http://www.brookson.co.uk/test99/tests/?q=tax (I have included the search param, as the search box is not currently linked to the google custom search.

Any help would be appreciated.

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to

ZxIRAX

unread,
Aug 31, 2012, 3:03:06 AM8/31/12
to google-ajax...@googlegroups.com
Hi Joe,

were you able to have a look at the issue and figure out what the problem was yesterday?

Jay

On Thursday, 30 August 2012 13:21:09 UTC+1, jgeerdes [AJAX APIs "Guru"] wrote:

This is true, and actually, Google has instituted a similar limit on URL length. With the Search APIs, it's generally not an issue, though.

This sounds more like an issue in building and rendering the HTML elements, but I won't be able to test until probably 9:30a CDT (i.e., two hours from now).

Jg

On Aug 30, 2012 7:04 AM, "Joe Miao" <joem...@gmail.com> wrote:
ZxIRAX,

Keep in mind IE has a URL limit - it can only take less than 2083 characters in your URL while other browsers allow a much bigger number.

Good luck

Joe
On Thu, Aug 30, 2012 at 5:20 AM, ZxIRAX <zxi...@gmail.com> wrote:
Hi,

I am having some issues with a google custom search implementation (results only). I have it working perfectly in FF, Chrome, Safari in the development environment. However in IE when clicking a next page (number at the bottom) the page gets skewed - the page moves to the left and is aligned with the CSE div.

I have uploaded the code into production environment on a text page so that you can see this first hand: http://www.brookson.co.uk/test99/tests/?q=tax (I have included the search param, as the search box is not currently linked to the google custom search.

Any help would be appreciated.

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to

Joe Miao

unread,
Aug 31, 2012, 8:09:32 AM8/31/12
to google-ajax...@googlegroups.com
Sorry Jay,  I was tied up on some hot projects. I may check it today.


To view this message on the web, visit

ZxIRAX

unread,
Aug 31, 2012, 8:26:05 AM8/31/12
to google-ajax...@googlegroups.com
Hi Joe,
 
no problem - I will await your reply. I have still not been able to figure it out, so I'm hoping that you can assist.
 
Jay

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-search-api+unsub...@googlegroups.com
To view this message on the web, visit

ZxIRAX

unread,
Sep 3, 2012, 5:49:16 AM9/3/12
to google-ajax...@googlegroups.com
Hi Joe,
 
Have you had any spare time to look into the issue. I really have hit a brick wall with this.
 
Jay

On Friday, 31 August 2012 13:10:22 UTC+1, Joemiaoz wrote:

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to

--
You received this message because you are subscribed to the Google
Groups "Google AJAX APIs" group.
To post to this group, send email to
google-ajax...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-search-api+unsub...@googlegroups.com
To view this message on the web, visit

gtzo...@gmail.com

unread,
Aug 5, 2013, 7:12:27 AM8/5/13
to google-ajax...@googlegroups.com
Hi all,

I am having the exact same issue, on IE only. Does anyone have a fix for this please?

Thanks,
Gerry

ZxIRAX

unread,
Aug 5, 2013, 4:55:09 PM8/5/13
to google-ajax...@googlegroups.com
Hi Gerry,

It turned out to be an issue with the CSS. I debugged the issue with IE developer tools (F12) then modify the CSS elements to see if you can correct the alignment. I found the problem elements and rewrote them, as IE didn't seem to like them when CSE was dynamically loaded.

Let me know how you get on or send me a link to the page in question and I can see if I can help.

James

gtzo...@gmail.com

unread,
Aug 6, 2013, 6:00:40 AM8/6/13
to google-ajax...@googlegroups.com
Thanks for your reply James. I managed to fix this simply by applying the css rule "overflow: hidden" to the container div. I wish I new why this is fixes it :(

Gerry

ZxIRAX

unread,
Aug 6, 2013, 6:24:13 AM8/6/13
to google-ajax...@googlegroups.com
Hi Gerry,

Great to hear that you have managed to fix your issue!

James

Reply all
Reply to author
Forward
0 new messages