PDA

View Full Version : Expandable Sticky Bar for Wordpress



symbiose
02-15-2011, 06:38 PM
Hi,

Haveing problems with integrating the Expandable Sticky Bar (http://www.dynamicdrive.com/dynamicindex17/stickybar.htm) in a Worpress theme.

The html set-up worked fine but after implementing it into the wordpress theme it showes me this error while loading the page:


Error fetching Ajax content.<br />Server Response: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> ...

Do you know what the problem could be, I am lost after trying many different workarounds.

Thanks.

ddadmin
02-15-2011, 09:24 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.

symbiose
02-15-2011, 09:43 PM
thanks for the quick response.
it's:
http://bit.ly/cZvwur

ddadmin
02-17-2011, 07:48 PM
The external file "stickybarcontent.htm" you've currently specified as your sticky bar content doesn't exist on your server: http://www.iropartners.at/stickybarcontent.htm You should either create such a page, or change the option in red inside expstickybar.js to point to where this page exists on your server:


var mystickybar=new expstickybar({
id: "stickybar", //id of sticky bar DIV
position:'bottom', //'top' or 'bottom'
revealtype:'mouseover', //'mouseover' or 'manual'
peekamount:125, //number of pixels to reveal when sticky bar is closed
externalcontent:'stickybarcontent.htm', //path to sticky bar content file on your server, or "" if content is defined inline on the page
speed:400 //duration of animation (in millisecs)
})

symbiose
02-18-2011, 07:58 AM
it worked, thank you very much!