vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Sexy Beach Girls Image Javascript (https://vborg.vbsupport.ru/showthread.php?t=234623)

ComoEstaEso-com 01-31-2010 03:21 PM

Sexy Beach Girls Image Javascript
 
Hello everyone!
Running a small surfing website, and I am trying to run a javascript on an article.
I already have my user group's permissions set to HTML enabled (Admins).

I post the javascript into the article, yet when I save it and go see it, it doesn't work.
Upon closer inspection of the source, vBulletin inserted <br> tags in every empty line of the code.

Is there a way to "wrap" this javascript so vB doesn't touch it?

Is there a better way to scroll 10 images in sequence?

Much thanks for the help!

--------------- Added [DATE]1264959189[/DATE] at [TIME]1264959189[/TIME] ---------------

Ok, I was able to do the following:
0- created custom BBcode
1- dropped the javascript in there
2- now it works and the images scroll on the page!

w00t!

Question:
Would there be a better way to do it?
I don't want to have like 10-20 custom BBcodes for the cameras.
Suggestions?
Ideas?

MUCH THANKS!! =D


All times are GMT. The time now is 03:45 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.01108 seconds
  • Memory Usage 1,699KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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