javascript - code working in home page but not in inner directory-just shows loading -


My code works fine in the home directory, but showing the loading image in the internal directory. Newveer shows the original page

Here is my simple code

  & lt; Html & gt; & Lt; Head & gt; Style type = "text / css" media = "all" & gt; @import "http: // static.something.com/files/common_css/style16.css";lt;/style> & Lt; Script type = "text / javascript" src = "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "http://static.something.com/js/lightbox/js/jquery.lightbox-0.5.js" type = "text / javascript" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "http://something.com/js/jquery.form33.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; JQuery (document) .ready (function ($) {$ ('a [rel * = facebox]'). Facebox ()}) & lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt ;? Php echo '& lt; Body style = "cursor: auto" id = "curpo" onLoad = "$ .image ({ajax: \ 'http: //something.com/jquery/desigirls/77987 \'}); Description is false;" Class = "ui mediathumb ui media thumbul large ui mediaathamblb ui media tumbl albourge" & gt; & Lt; / Body & gt; '; ? & Gt; & Lt; / Body & gt; & Lt; / Html & gt;  

This code works fine

but this page does not work

Everything is the same. I think there is some problem with javascript or image reference. I tried to change the same problem to everyone.

There is also jsbin link jsbin.com/royepawomi/edit

This also does not work here

The two links you posted are two different domains

www.way2enjoy.com and way2enjoy. Com . I would recommend just selecting one and using it.

The reason for this is that you can not do the AJAX requests of the CroatianSweddom Domain. Having a www is considered a separate domain in them.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

java - Messages from .properties file do not display UTF-8 characters -

javascript - amcharts makechart not working -