vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Widget with jscript not working (https://vborg.vbsupport.ru/showthread.php?t=283259)

Lloyd32552 05-21-2012 03:42 PM

Widget with jscript not working
 
I have a Static HTML widget which I've configured with the jscript:

Code:

<script language="JavaScript" src="http://www.dummy.com/customers/secure/optin/js/mynumber.js" charset="utf-8"></script> <noscript><a href="http://www.dummy.com">bulk email software</a></noscript>
When I add it to the Layout, a small space is added where it is to go, but there is no box or anything.

What am I doing wrong?

kh99 05-21-2012 03:50 PM

I don't see anything wrong with that - are you sure it's the correct url? I created my own widget to test it, and when I load the page I get an error in the javascript console: NetworkError: 403 Forbidden - http://www.infacta.com/customers/sec...js/mynumber.js (of course it may be that my test server is forbidden and you aren't).

Lloyd32552 05-21-2012 04:34 PM

My newbie mistake - I though this needed a unique name and so I changed the template name which obviously can't be done.
It's working now. Thanks for your help.


All times are GMT. The time now is 06:11 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01377 seconds
  • Memory Usage 1,709KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete