The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to Spoiler Java (Example inside)
Hello mates, I'm a long time circling an issue. How to make a deployable spoiler java.
Well here I leave a link: http://www.ps3trophies.com/forums/sh...-special-event That's the kind of spoiler that I want to have, but not how to install the java libraries or anything like that, someone can help me?, Thanks. |
#2
|
|||
|
|||
Anyone know how I can accomplish this?
|
#3
|
||||
|
||||
I believe that is using javascript, not java - those are two different types of scripting languages.
|
#4
|
|||
|
|||
I have understood that you have to install the libraries or something, as I can do it?, or is it independent of vbulletin?
|
#5
|
||||
|
||||
If you are using java, then yes, libraries are involved. But that just looks like javascript, as I said. It's in the onclick statement - look at the page source.
|
#6
|
|||
|
|||
Quote:
--------------- I do not work, and even copy all the code of the page (control + U) and does not work |
#7
|
|||
|
|||
Lynne Do not forget me please
|
#8
|
||||
|
||||
I would guess you are missing some other javascript that is in the head of the page. Look to see if any functions are called and then look through the .js files to find those functions.
|
#9
|
|||
|
|||
Quote:
HTML Code:
<!-- VigLink: http://viglink.com --> <script type="text/javascript"> var vglnk = { key: '967048c458c373aa407901f33e6611a9' }; (function(d, t) { var s = d.createElement(t); s.type = 'text/javascript'; s.async = true; s.src = '//api.viglink.com/api/vglnk.js?key=' + vglnk.key; var r = d.getElementsByTagName(t)[0]; r.parentNode.insertBefore(s, r); }(document, 'script')); </script> <!-- end VigLink --> HTML Code:
window.onload = function() { var cpost=document.location.hash.substring(1);var cpost2='';if(cpost){ var ispost=cpost.substring(0,4)=='post';if(ispost)cpost2='post_'+cpost.substring(4);if((cobj = fetch_object(cpost))||(cobj = fetch_object(cpost2))){cobj.scrollIntoView(true);}else if(ispost){cpostno = cpost.substring(4,cpost.length);if(parseInt(cpostno)>0){location.replace('http://www.ps3trophies.com/forums/showthread.php?p='+cpostno);};} } if(typeof window.orig_onload == "function") window.orig_onload(); } HTML Code:
<script type="text/javascript"><!-- window.google_analytics_uacct = 'UA-612543-2'; window.google_analytics_domain_name='.ps3trophies.com'; var _gaq = _gaq || []; _gaq.push(['_setDomainName', '.ps3trophies.com'], ['_setAccount', 'UA-612543-2'], ['_setVar', 'usergroup-1-Unregistered / Not Logged In'], ['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); //--></script> I hope it's one of those ...... I should do now? Thanks Lynne. |
#10
|
||||
|
||||
It's the jquery.min.js script you need to include in the header.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|