Javascript widget not rendering on page (v5.0.2523.0)
I've added a Javascript widget to a page, not including the script tags, and no matter which option I select for placement (e.g. in head tag, where wigdet placed, before closing body) the script is not rendered on the page when published.
Using v5.0.2523
Like 100% not rendered, you've viewed source and did a find? One thing that'll tell you if it's there or not is it renders out <span></span> where you placed it in the designer too.
I only ask because I use them allover the place...
Correct - viewed source and did not find. I've used them on other pages and the only difference with this particular widget is that it's a function(). The other times I've used them successfully it was simply a view lines of jquery to adjust display.
So what's in this widget then?....do you mind pasting it in?
Ok, I just tried it using that script on my site and it's there...can you try one quick thing?
Put this in it instead, publish the page, see if it renders you get the alert popup?
$(document).ready(
function
()
alert(
"working"
);
);
function
makenew()
window.open(
"../assets/VirtualTour/Phx/VirtualTour.html"
,
"blank"
,
"toolbar=no, resizable=yes"
);