vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Problem with Javascript? (https://vborg.vbsupport.ru/showthread.php?t=200570)

rockinaway 01-03-2009 07:25 PM

Problem with Javascript?
 
I am using niftycube on my forum: http://www.adminfuel.com

As you go to the forum, you can see the sidebar is using it.. and all works fine UNTIL you go onto the showthread.php area, none of the boxes work. Why?

TimberFloorAu 01-03-2009 07:56 PM

great job, looks NICE.

Seems to be a css issue , not sure how or why tho, ive never wrapped div style on threadview.

Have you checked main.css is calling the left and right image properly for threadview?

rockinaway 01-03-2009 08:06 PM

What do you mean left and right image?

TimberFloorAu 01-03-2009 08:36 PM

on niftycube ( presuming nifty corners )

Arent the boxes created in css, using left and right image

Some of Niftys boxes are created in css with topleft topright bottomleft bottomright

http://www.html.it/articoli/niftycube/index.html

I have used it before, but been a long time.

rockinaway 01-03-2009 09:05 PM

No, it is all created through javascript, only the colours are set through CSS.

TimberFloorAu 01-03-2009 09:12 PM

The js initiates small css file.

http://www.html.it/articoli/nifty/screenCodice.html

The above link is css to create a box.

rockinaway 01-04-2009 02:25 PM

I still don't understand what you are getting at. It works fine on every other page, so what could be wrong?

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

Okay, on other pages, but not showthread, this is being included by itself at the bottom of the head:

<link type="text/css" rel="stylesheet" href="niftyCorners.css" media="screen">

but I don't know where I have added it.. :S

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

Right.. in the .js file, it adds the CSS line shown above.., but it won't add it when showthread.php is called :S


All times are GMT. The time now is 03:51 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.01148 seconds
  • Memory Usage 1,720KB
  • 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
  • (7)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