vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBadvanced CMPS (https://vborg.vbsupport.ru/forumdisplay.php?f=101)
-   -   Getting Java to work in a html add (https://vborg.vbsupport.ru/showthread.php?t=122849)

ChErAbOo 08-02-2006 07:37 PM

Getting Java to work in a html add
 
I have added in a nice script for my guild forum only thing the java is not working via the cmps anyhelp would be appreciated nice scipt would like to integrate it into the portal..page is here as you can see if has a error and its not poping up the box here on scroll over..

http://www.arcanusdraconum.com/index.php?page=gb

now the orginal html file its linked too works fine can see it here

http://www.arcanusdraconum.com/html/bank.html

I am just trying to get it to work inside the portal any advice I would appreciate the script is

Code:

<script language="JavaScript">
<!--
ns4 = document.layers
ie4 = document.all
nn6 = document.getElementById && !document.all
function hideObject(id) {
  if (ns4) {
      document.id.visibility = "hide";
  }  else if (ie4) {
      document.all[id].style.visibility = "hidden";
  }  else if (nn6) {
      document.getElementById(id).style.visibility = "hidden";
 }
}
function showObject(id) {
  if (ns4) {
      document.id.visibility = "show";
  }  else if (ie4) {
      document.all[id].style.visibility = "visible";
  }  else if (nn6) {
      document.getElementById(id).style.visibility = "visible";
  }
}
//-->
</script>

Code:

IN Line is..example

        <a onClick=javascript:window.open("http://www.thottbot.com/?s=Small+Glimmering+Shard","blank",""); style="text-decoration: none" onMouseOver="javascript:showObject('Crillence2');" onMouseOut="javascript:hideObject('Crillence2');"><span style="position:absolute; cursor:hand;"><table width=36 height=40 cellpadding=0 cellspacing=0 border=0><tr><td valign=bottom align=right><span style="font-size: 12px;color: white; font-weight:bold;"></span></td></tr></table></span><img src="images/INV_Enchant_ShardGlimmeringSmall.jpg" width=40 height=40 border=0 style="margin-right: 0px; border: 0px""></a>

thanks in advanced for any thoughts on what might make this work without a error


All times are GMT. The time now is 07:23 AM.

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.01144 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_code_printable
  • (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