Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IE6 no dynamic content?
22nd March, 10:51
Post: #1
IE6 no dynamic content?
hi,

under this test link i am trying to load content dynamically into to qtip when mouseover a logo. it works very fine in every browser except IE6. here only a ? appears when trying to load the content. does anyone have a hint for me?

thanks and greets
anti
Find all posts by this user
Quote this message in a reply
26th March, 12:52
Post: #2
RE: IE6 no dynamic content?
antiheld, make sure that your code doesn't have any trailing commas in it. This is what 99% of all JS bugs in IE are caused by. e.g.

JS Code
myObject: {
   attr: 'val', // Notice the unnecessary comma
}

Craig Thompson
Web Developer / Designer
Craigsworks
http://www.craigsworks.com
Visit this user's website Find all posts by this user
Quote this message in a reply
29th March, 07:14
Post: #3
RE: IE6 no dynamic content?
(26th March 12:52)Craig Wrote:  antiheld, make sure that your code doesn't have any trailing commas in it. This is what 99% of all JS bugs in IE are caused by. e.g.

JS Code
myObject: {
   attr: 'val', // Notice the unnecessary comma
}

but in js-code there is no unnecessary comma?? or am i wrong?
JS Code
$('area').click(function(event){
		event.preventDefault();
	});
 
	$('area').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="http://craigsworks.com/projects/qtip/images/throbber.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: '<img src="images/layout/btn-close-klein.png" alt="" />' // Show a close link in the title
				}
			 },
			 position: {
				corner: {
				   target: 'rightMiddle', // Position the tooltip above the link
				   tooltip: 'leftMiddle'
				}
			 },
			 show: { 
				when: 'mouseover', 
				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: 'transparent',
				border: {
				   width: 0,
				   radius: 0,
				   color: '#ffffff'
				},
				padding: 18,
				//name: 'light', // Use the default light style
				width: 319 // Set the tooltip width
			 }
		})
	});
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] Dynamic Content From Page Element frogg3862 2 89 3rd May 17:12
Last Post: frogg3862
  [Solved] qtip showing content from db doesn't change when content in db changes. vtoepel 2 144 23rd April 16:02
Last Post: vtoepel
  Dynamic contenct not working property in sortable cleung 5 733 8th December 18:45
Last Post: Craig
  [Solved] dynamic tipcreation alnikitich 1 447 8th December 18:29
Last Post: Craig
  [Solved] Dynamic content based off map area befeetback 1 1,046 25th August 18:23
Last Post: Craig
  how to get dynamic attri('id') before displaying on content davidkhan 3 618 23rd August 18:04
Last Post: Craig
  [Solved] Dynamic content not showing? dabd 3 812 21st August 18:17
Last Post: Craig
  [Solved] dynamic content based on child eement yisman 8 1,228 27th July 14:29
Last Post: yisman
  Trying to load Dynamic Content using qTip v1 sman1 1 984 6th June 11:38
Last Post: Craig
  [Solved] dynamic content loop & updateContent opalepatrick 6 1,202 24th May 17:21
Last Post: Craig



User(s) browsing this thread: 1 Guest(s)