vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   In which template do I have to put this ? (https://vborg.vbsupport.ru/showthread.php?t=96244)

utw-Mephisto 09-14-2005 09:00 AM

In which template do I have to put this ?
 
Hi,
some guys wants to have some kind of rainbow tag.

Example :

<SPAN class="rainbow">{param}</SPAN>

BUT : to get this work, usualy there has to be something in the <HEAD> section of a website.

Code:

<STYLE>
.rainbow{ behavior:url(rainbow.htc) }
</STYLE>

Where do I add this now without having the rainbow text all over the webpage but only when using the tag ?

Andreas 09-14-2005 09:01 AM

headinclude?

Main CSS?

utw-Mephisto 09-14-2005 09:18 AM

Quote:

Originally Posted by KirbyDE
headinclude?
Main CSS?

Does not work, either way ...

Boofo 09-14-2005 09:51 AM

Add:

Quote:

.rainbow{ behavior:url(rainbow.htc) }
to the additional CSS options for the style you want it in (bottom of the styles settings page for that style). ;)

utw-Mephisto 09-14-2005 10:00 AM

As I said above, does not work :(

Boofo 09-14-2005 10:02 AM

You might want to do the path to that file though. Maybe it can't find it?

utw-Mephisto 09-14-2005 10:23 AM

Good clue, the file hat an uppercase in it .. well ... would work on Windows but not on Linux :) Thanks

Boofo 09-14-2005 10:25 AM

Where did you end up adding this?

Quote:

.rainbow{ behavior:url(rainbow.htc) }

utw-Mephisto 09-14-2005 10:29 AM

Main CSS at the bottom

Code:

.spoiler
{
color: #000000;
text-decoration: none;
background-color: #000000;
}
.rainbow
{
behavior:url(rainbow.htc)
}


Boofo 09-14-2005 10:32 AM

You should be all set now. ;)

utw-Mephisto 09-14-2005 10:35 AM

As I said, was only an uppercase in the actually file :D :D All working now W00t


All times are GMT. The time now is 01:19 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.01171 seconds
  • Memory Usage 1,727KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (11)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