Title: FQDN breaks the code
Last modified: August 21, 2016

---

# FQDN breaks the code

 *  [ian.t.price](https://wordpress.org/support/users/iantpricegmailcom/)
 * (@iantpricegmailcom)
 * [13 years ago](https://wordpress.org/support/topic/fqdn-breaks-the-code/)
 * If you insert a fully qualified domain name (FQDN) in the ‘Popup Link Text/Label/
   Image’ or in the body of the of the popup then the javascript reference has a
   space inserted into it, hence breaking the code.
 * Working Example:
    If I insert `<img src="wordpress35/wp-content/uploads/2013/
   05/info_icon.jpg" />` in the ‘Popup Link Text/Label/Image’ field
 * the popup button works. The code is:
    `<a ref='javascript:AnythingPopup_OpenForm("
   AnythingPopup_BoxContainer8","AnythingPopup_BoxContainerBody8","AnythingPopup_BoxContainerFooter8","
   333","333");'><img src="wordpress35/wp-content/uploads/2013/05/info_icon.jpg"
   ></a>`
 * The same applies to the body of the text. Using this type of link breaks the 
   visual editor in WP and it is not possible to include external URLs in the popup.
 * Non-Working Example:
    If I insert `<img src="http://www.websitename.com/wordpress35/
   wp-content/uploads/2013/05/info_icon.jpg" />` in the ‘Popup Link Text/Label/Image’
   field
 * the popup button is non-responsive. The code is:
    `<a ref='javascript:AnythingPopup_OpenForm("
   AnythingPopup_BoxContainer8","AnythingPopup_BoxContainerBody8","AnythingPopup_BoxContainerFooter8","
   333","333");'><img src="http://www.websitename.com/wordpress35/wp-content/uploads/
   2013/05/info_icon.jpg"></a>`
 * Note the extra space in _OpenForm(” AnythingPopup_BoxContainer
    `^` A couple 
   of notes: (1) I tried `<img src="http://" />` in the Link field and that works(
   no space at least) but `<img src="http://w" />` fails.
 * (2) This does NOT ALWAYS fail when inserting an image into the body of the popup
 * [http://wordpress.org/extend/plugins/anything-popup/](http://wordpress.org/extend/plugins/anything-popup/)

Viewing 1 replies (of 1 total)

 *  [younghacker](https://wordpress.org/support/users/younghacker/)
 * (@younghacker)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/fqdn-breaks-the-code/#post-3802719)
 * Hi!
 * I’ve the same problem
 * if popup content has an:
 *     ```
       <img src="http://a" />
       <a>text</a>
       ```
   
 * popup link will not work and when mouse cursor is over the link the Firefox show
   only
 *     ```
       javascript:AnythingPopup_OpenForm(
       ```
   
 * without any additional parameters.
    if you delete top or bottom line of the popup
   content all be ok. …………………………………………………… **WordPress Version 3.6** **Anything 
   Popup Version 5.0**

Viewing 1 replies (of 1 total)

The topic ‘FQDN breaks the code’ is closed to new replies.

 * ![](https://ps.w.org/anything-popup/assets/icon-256x256.png?rev=1017466)
 * [Anything Popup](https://wordpress.org/plugins/anything-popup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/anything-popup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/anything-popup/)
 * [Active Topics](https://wordpress.org/support/plugin/anything-popup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/anything-popup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/anything-popup/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [younghacker](https://wordpress.org/support/users/younghacker/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/fqdn-breaks-the-code/#post-3802719)
 * Status: not resolved