craigsworks.com - Support Forum

Full Version: [Solved] IE issue. No data come.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there,

congratulations for the plugin, it is awasome.

I am having a little problem in all IE, the datas don´t appear using dynamic urls. I can see the tooltip but no the datas within.

Can you help me in any way?

JS Code
<a href="#" rel="/es/directores/pepito-perrez/4/">
				Dir.ª Calidad de Datos	
				<span>Pepito Perez</span>
			</a>


And the JS is quite simple just I get the content from "rel" attribute.

JS Code
// Create the tooltips only on document load
$(document).ready(function() 
{
   // Use the each() method to gain access to each elements attributes
   $('#organigrama a[rel]').each(function()
   {
	  $(this).qtip(
      {
         content: {
            // Set the text to an image HTML string with the correct src URL to the loading image you want to use
            text: '<img class="throbber" src="/images/ajax-load.gif" alt="Loading..." />',
            url: $(this).attr('rel'), // Use the rel attribute of each element for the url to load
            title: {
               text:  ' ', // Give the tooltip a title using each elements text
               button: 'Close' // Show a close link in the title
            }
         },
         position: {
            corner: {
               target: 'bottomMiddle', // Position the tooltip above the link
               tooltip: 'topMiddle'
            },
            adjust: {
               screen: true // Keep the tooltip on-screen at all times
            }
         },
         show: { 
            when: 'click', 
            solo: true // Only show one tooltip at a time
         },
         hide: 'unfocus',
         style: {
            tip: true, // Apply a speech bubble tip to the tooltip at the designated tooltip corner
           	background: 'none',
            border: {
               width: 0,
               radius: 4,
               padding: 5,
               color: '#FFF'
            },
            name: 'light', // Use the default light style
            width: 380 // Set the tooltip width
         }
      })
 
   });
 
 
});


Is there any restrictions using symfony or something like that?

Thank you very much for any input.
Is this only occurring in IE?
(26th October 23:35)Craig Wrote: [ -> ]Is this only occurring in IE?

Yeah! Only happen in IE (all version). This is the URL:

http://web_desarrollo.deyde.es/es/organigrama

It is like the data can´t be loaded from the URL that is built as symfony does, it is dinamically.

Any suggestion is more than wellcome!!

Thank you very much.
(27th October 08:35)davilious Wrote: [ -> ]
(26th October 23:35)Craig Wrote: [ -> ]Is this only occurring in IE?

Yeah! Only happen in IE (all version). This is the URL:

http://web_desarrollo.deyde.es/es/organigrama

It is like the data can´t be loaded from the URL that is built as symfony does, it is dinamically.

Any suggestion is more than wellcome!!

Thank you very much.
I haven´t yet found the solution for this problem!! I am getting crazy :-S... Is there any idea over here?

Thank you!
D.
It seems odd that it wouldn't load only in IE. Are you getting any error messages at all? Even in other browsers warning of a problem even though they fetch the content? Are you grabbing it from the same domain?
(3rd November 02:23)Craig Wrote: [ -> ]It seems odd that it wouldn't load only in IE. Are you getting any error messages at all? Even in other browsers warning of a problem even though they fetch the content? Are you grabbing it from the same domain?

Hi,

It is like I were grabbing it fron another domain but of course I am grabbing it from the same domain. I don´t know if it has to do with symfony and how it builts the URLs. Whatever URL I try to grabb it doesn´t bring me anything. I did it for testing:

<a href="#" rel="/es/">link</a> Nothing in IE
<a href="#" rel="/es/beneficios">link</a>Nothing in EIs
<a href="#" rel="/es/contacto">link</a> Nothing in EIs

And of course, all this URLs are in the same domain, work perfectly and using other browsers work propertly.

Thank you very much C for any help.
D.
(3rd November 11:49)davilious Wrote: [ -> ]
(3rd November 02:23)Craig Wrote: [ -> ]It seems odd that it wouldn't load only in IE. Are you getting any error messages at all? Even in other browsers warning of a problem even though they fetch the content? Are you grabbing it from the same domain?

Hi,

It is like I were grabbing it fron another domain but of course I am grabbing it from the same domain. I don´t know if it has to do with symfony and how it builts the URLs. Whatever URL I try to grabb it doesn´t bring me anything. I did it for testing:

<a href="#" rel="/es/">link</a> Nothing in IE
<a href="#" rel="/es/beneficios">link</a>Nothing in EIs
<a href="#" rel="/es/contacto">link</a> Nothing in EIs

And of course, all this URLs are in the same domain, work perfectly and using other browsers work propertly.

Thank you very much C for any help.
D.

I am almost sure that the problem comes from $.get of the file jquery.qtip-1.0.0-rc3.js:
JS Code
if(method == 'post')
               $.post(url, data, setupContent);
            else
               $.get(url, data, setupContent);
 
           function setupContent(content)
           {
               // Call API method and log event
               self.onContentLoad.call(self);
               $.fn.qtip.log.error.call(self, 1, $.fn.qtip.constants.EVENT_CONTENT_LOADED, 'loadContent');
 
               // Update the content
               self.updateContent(content);
            };


I've tried both .get and .post and neither work. Also If I put a flag into setupContent function IE doesn´t return an alert and the rest of the browsers do.

IE doesn't give me any script errors.
Hmm this almost sounds more like a jQuery problem than a qTip problem in that case... since qTip just utilises jQuery's get/post methods. What version of jQuery are you using?
I am using 1.3 as you recommend. Could I replace that get/post method? Is there anything I can do to use your plugin?

Thank you C.
D.
To be hoenst this seems more like a jQuery specific bug... can you retrieve any data at all from other pages? Or is it just effecting that specific url?
(10th November 01:10)Craig Wrote: [ -> ]To be hoenst this seems more like a jQuery specific bug... can you retrieve any data at all from other pages? Or is it just effecting that specific url?

Thanks for your response.

I was investigating a little bit more and it gives me a common error which is reported even in Microsoft. The error is error-c00ce56e and it seems it has to do with encoding and another issues.

Althought I have done everything they point out I haven´t still resolved the problem so I am going to integrated your plugin without using dinamycs URLs but static. So, maybe I will be luckier next time.

You can find extra information bellow:

http://learningconstantly.blogspot.com/2...plete.html

http://xrigher.co.cc/web/sloving-the-aja...-c00ce56e/

Thank you for your time.
Best.
D.
Reference URL's