vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Attachement button troubles. Please help. (https://vborg.vbsupport.ru/showthread.php?t=89511)

apokphp 07-19-2004 01:39 PM

Attachement button troubles. Please help.
 
I'm modifying a new skin. I haven't touched the newpost_attachment template.

What I have done however, is used the .css to create rollover effects for the buttons on the board. This one "attachment button" is the only one, that causes any troubles with it, and I'm not sure why. The button isn't even showing up.

My code for the rollover effects for the buttons is:

Code:

.button {    background-image: url("picts/button.gif");
        background-color:#FFFFFF;
        FONT-FAMILY: arial, verdana, helvetica, sans;
        color: #000066;
        font-size: 8pt;
        height: 20px;
        cursor:hand;
        font-weight: bold;
        text-align: center;
        BORDER: #000066 1px solid }

.buttonon { background-image: url("picts/buttonon.gif");
        background-color:#F0F0F0;
        FONT-FAMILY: arial, verdana, helvetica, sans;
        color: #660000;
        font-size: 8pt;
        height: 20px;
        cursor:hand;
        font-weight: bold;
        text-align: center;
        BORDER: #660000 1px solid }

Now to call this up for each button, I used a replacement variable:

class="button" has been replaced with: class="button" onmouseover="this.className='buttonon'" onmouseout="this.className='button'"

The button IS there and reflects the .button .css just fine. But it does not respond to the .buttonon, in fact, it doesn't even show up...not even when it is "off".

Again, all other buttons work fine...it is just the "attachment" button that doesn't. The "newpost_attachment" template hasn't been touched, it's using the default.

The beta forum where I've been working on this is: www.myfamilycorner.net/forums/

You can login and see for yourself by trying to add an attachment, by using:

login: tester
pass: testpass

Any help on this would be greatly appreciated.

defi 07-20-2004 03:04 PM

Could you post a screenshot of where this button is?

there doesn't seem to be anything wrong with your coding at first glance

Much regards,

Jonathan


All times are GMT. The time now is 07:35 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.01573 seconds
  • Memory Usage 1,711KB
  • 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)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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