Error when add link to an image
Permalink
After some server load problems at arvixe in usa;
i cannot add an link (http address) to any image f.e. in a content block.
After push Save on the content block an error pops up (in an red background) with text:
Designs // DOM ready $(function() { // Create the dropdown base $("").appendTo(".navigation"); // Create default option "Go to..." $("", { "selected": "selected", "value" : "", "text" : "Go to..." }).appendTo(".navigation select"); // Populate dropdown with menu items $(".navigation a").each(function() { var el = $(this); $("", { "value" : el.attr("href"), "text" : el.text() }).appendTo(".navigation select"); }); // To make dropdown actually work // To make more unobtrusive:http://css-tricks.com/4064-unobtrusive-page-changer/... $(".navigation select").change(function() { window.location = $(this).find("option:selected").val(); }); }); $(function () { $('.header ul li ul').hide(); $('.header ul li').hover(function () { $('ul', this).stop(true, true).slideToggle(600); }); });
Well what could that be....
i cannot add an link (http address) to any image f.e. in a content block.
After push Save on the content block an error pops up (in an red background) with text:
Designs // DOM ready $(function() { // Create the dropdown base $("").appendTo(".navigation"); // Create default option "Go to..." $("", { "selected": "selected", "value" : "", "text" : "Go to..." }).appendTo(".navigation select"); // Populate dropdown with menu items $(".navigation a").each(function() { var el = $(this); $("", { "value" : el.attr("href"), "text" : el.text() }).appendTo(".navigation select"); }); // To make dropdown actually work // To make more unobtrusive:http://css-tricks.com/4064-unobtrusive-page-changer/... $(".navigation select").change(function() { window.location = $(this).find("option:selected").val(); }); }); $(function () { $('.header ul li ul').hide(); $('.header ul li').hover(function () { $('ul', this).stop(true, true).slideToggle(600); }); });
Well what could that be....
Hi Rony,
Thanx,
I did clear it but still the error message
Thanx,
I did clear it but still the error message
It seems like a bit of javascript code is displayed there. Its not any php parse error. Have you installed any add-on there?
If so then try to disable one by one and clear your cache. Then check whether the problem exists.
Here is the js code that shows:
If so then try to disable one by one and clear your cache. Then check whether the problem exists.
Here is the js code that shows:
<script type="text/javascript"> // DOM ready $(function(){ // Create the dropdown base $("").appendTo(".navigation"); // Create default option "Go to..." $("", { "selected": "selected", "value" : "", "text" : "Go to..." }).appendTo(".navigation select"); // Populate dropdown with menu items $(".navigation a").each(function() { var el = $(this); $("", { "value" : el.attr("href"), "text" : el.text() }).appendTo(".navigation select"); }); // To make dropdown actually work // To make more unobtrusive:http://css-tricks.com/4064-unobtrusive-page-changer/... $(".navigation select").change(function(){ window.location = $(this).find("option:selected").val(); }); }); $(function(){
Viewing 15 lines of 21 lines. View entire code block.
Was this issue ever resolved?
Rony