Title: Shortcode &#8211; script adds a question mark and blinking
Last modified: August 21, 2016

---

# Shortcode – script adds a question mark and blinking

 *  Resolved [Mariusz Szatkowski](https://wordpress.org/support/users/motylanogha/)
 * (@motylanogha)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/)
 * Hi
    When I use it like: `[tooltip tip="<strong>1GHz technology</strong><br>blahblah"]
   <img alt="icon" src="source/file.png" />[/tooltip]` it’s bliking on hover and
   it adds a big question mark. I checked this on FF, chrome and IE. Any idea why
   is that?
 * Thanks!
 * [http://wordpress.org/extend/plugins/responsive-mobile-friendly-tooltip/](http://wordpress.org/extend/plugins/responsive-mobile-friendly-tooltip/)

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/page/2/?output_format=md)

 *  Thread Starter [Mariusz Szatkowski](https://wordpress.org/support/users/motylanogha/)
 * (@motylanogha)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685158)
 * When I use it as:
 * `<img title="<b>1GHz technology</b> - blah blah" rel="tooltip" alt="icon" src
   ="source/file.png" /></li>`
 * html tags are stripped and nothing showes up… ;(
 *  Thread Starter [Mariusz Szatkowski](https://wordpress.org/support/users/motylanogha/)
 * (@motylanogha)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685159)
 * What I would do is to show up plugin in no conflict mode (responsive-tooltip.
   js) like:
 *     ```
       var jq142 = jQuery.noConflict();
   
       	jq142( document ).ready( function()
       		{
       			var targets = jq142( '[rel~=tooltip]' ),
       				target	= false,
       				tooltip = false,
       				title	= false;
   
       			targets.bind( 'mouseenter', function()
       			{
       				target	= jq142( this );
       				tip		= target.attr( 'title' );
       				tooltip	= jq142( '<div id="tooltip"></div>' );
   
       				if( !tip || tip == '' )
       					return false;
   
       				target.removeAttr( 'title' );
       				tooltip.css( 'opacity', 0 )
       					   .html( tip )
       					   .appendTo( 'body' );
   
       				var init_tooltip = function()
       				{
       					if( jq142( window ).width() < tooltip.outerWidth() * 1.5 )
       						tooltip.css( 'max-width', jq142( window ).width() / 2 );
       					else
       						tooltip.css( 'max-width', 340 );
   
       					var pos_left = target.offset().left + ( target.outerWidth() / 2 ) - ( tooltip.outerWidth() / 2 ),
       						pos_top	 = target.offset().top - tooltip.outerHeight() - 20;
   
       					if( pos_left < 0 )
       					{
       						pos_left = target.offset().left + target.outerWidth() / 2 - 20;
       						tooltip.addClass( 'left' );
       					}
       					else
       						tooltip.removeClass( 'left' );
   
       					if( pos_left + tooltip.outerWidth() > jq142( window ).width() )
       					{
       						pos_left = target.offset().left - tooltip.outerWidth() + target.outerWidth() / 2 + 20;
       						tooltip.addClass( 'right' );
       					}
       					else
       						tooltip.removeClass( 'right' );
   
       					if( pos_top < 0 )
       					{
       						var pos_top	 = target.offset().top + target.outerHeight();
       						tooltip.addClass( 'top' );
       					}
       					else
       						tooltip.removeClass( 'top' );
   
       					tooltip.css( { left: pos_left, top: pos_top } )
       						   .animate( { top: '+=10', opacity: 1 }, 50 );
       				};
   
       				init_tooltip();
       				jq142( window ).resize( init_tooltip );
   
       				var remove_tooltip = function()
       				{
       					tooltip.animate( { top: '-=10', opacity: 0 }, 50, function()
       					{
       						jq142( this ).remove();
       					});
   
       					target.attr( 'title', tip );
       				};
   
       				target.bind( 'mouseleave', remove_tooltip );
       				tooltip.bind( 'click', remove_tooltip );
       			});
       		});
       ```
   
 * But it still does not work..
 *  Plugin Author [ItayXD](https://wordpress.org/support/users/itayxd/)
 * (@itayxd)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685288)
 * I’ll look into it, can you link me to your website so I can check it live?
    And
   Js conflict is highly unlikely I dont think any script but jQuery uses jQuery()…(
   As you can see I’m not using $()).
 *  Thread Starter [Mariusz Szatkowski](https://wordpress.org/support/users/motylanogha/)
 * (@motylanogha)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685301)
 * could u please let me know about your email?
    I’d send you private message.
 * thanks.
 *  Plugin Author [ItayXD](https://wordpress.org/support/users/itayxd/)
 * (@itayxd)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685337)
 * I got your email, I’m looking into it.
 *  Plugin Author [ItayXD](https://wordpress.org/support/users/itayxd/)
 * (@itayxd)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685338)
 * I checked you example and it works perfectly for me…
 *  Thread Starter [Mariusz Szatkowski](https://wordpress.org/support/users/motylanogha/)
 * (@motylanogha)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685353)
 * check your email please.
 *  Plugin Author [ItayXD](https://wordpress.org/support/users/itayxd/)
 * (@itayxd)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685356)
 * I emailed you back a tested solution… problem solved as far as I can tell.
    If
   you like my plugin please add a review 😀
 *  Plugin Author [ItayXD](https://wordpress.org/support/users/itayxd/)
 * (@itayxd)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685357)
 * I understand everything works now, marking as solved…
 *  [nijip](https://wordpress.org/support/users/nijip/)
 * (@nijip)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685435)
 * Hi, I’m getting the same problem. Can you let me know how to resolve the issue.
   Thanks in advance.
 *  Plugin Author [ItayXD](https://wordpress.org/support/users/itayxd/)
 * (@itayxd)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685436)
 * Can you link me to the page the problem occur?
 *  [AgentJay](https://wordpress.org/support/users/agentjay/)
 * (@agentjay)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685437)
 * I am also getting blinking/flashing on the tooltip pop-up box.
 * You can see it in my Mortgage/Loan calculator widget on the “?” image next “Purchase
   price:” (in the right sidebar)
 * [http://www.thetestwebpage.com](http://www.thetestwebpage.com)
 * Thanks!
 *  Plugin Author [ItayXD](https://wordpress.org/support/users/itayxd/)
 * (@itayxd)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685438)
 * Hi AgentJay, I wasn’t able to reproduce your problem. When I go to that website
   and check that questionmark I see the tooltip perfectly.
    I tested both FF and
   chrome (can’t test IE as I’m a proud Ubuntu user. try it out!), what browser 
   are you using? which version? what OS? Thanks
 *  [AgentJay](https://wordpress.org/support/users/agentjay/)
 * (@agentjay)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685439)
 * In FF it does seem to work perfectly! (I didn’t check it before)
    But in Chrome
   it’s still flashing, I also just noticed that it is not offsetting either (the
   tool tip box is loading with the mouse pointer in the center of the box, making
   the box appear too low)
 * I’ll also look into some CSS code to see if there’s something that can be done.
 * My chrome version is: Version 28.0.1500.72 m (the latest one according to the
   updater)
 *  Plugin Author [ItayXD](https://wordpress.org/support/users/itayxd/)
 * (@itayxd)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/#post-3685440)
 * I’m using version 28.0.1500.52, there shouldn’t be any difference…
    What OS are
   you using? that is very weird that such a difference exists

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/page/2/?output_format=md)

The topic ‘Shortcode – script adds a question mark and blinking’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/responsive-mobile-friendly-tooltip_bbad9a.
   svg)
 * [Responsive Mobile-Friendly Tooltip](https://wordpress.org/plugins/responsive-mobile-friendly-tooltip/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/responsive-mobile-friendly-tooltip/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/responsive-mobile-friendly-tooltip/)
 * [Active Topics](https://wordpress.org/support/plugin/responsive-mobile-friendly-tooltip/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/responsive-mobile-friendly-tooltip/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/responsive-mobile-friendly-tooltip/reviews/)

 * 26 replies
 * 7 participants
 * Last reply from: [jupp25](https://wordpress.org/support/users/jupp25/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/shortcode-script-adds-a-question-mark-and-blinking/page/2/#post-3685457)
 * Status: resolved