vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Textbox Image (https://vborg.vbsupport.ru/showthread.php?t=56572)

Cal Poly Forum 08-28-2003 08:52 PM

Textbox Image
 
1 Attachment(s)
Saw this from superhonda.com

How can I have a text in the text box like that. (see attach file)

assassingod 08-29-2003 06:18 AM

Use this in your textarea tag:

Code:

style="background-image: url('imgurl'); background-repeat: no-repeat; background-attachment: fixed;
This can be done via CSS as well

lasto 08-29-2003 10:23 AM

gonna try this myself

but where about in admin cp is the textarea tag

filburt1 08-29-2003 10:24 AM

Quote:

Today at 03:18 AM assassingod said this in Post #2
Use this in your textarea tag:

Code:

style="background-image: url('imgurl'); background-repeat: no-repeat; background-attachment: fixed;
This can be done via CSS as well

That is itself CSS ;)

Edit the headinclude template to modify the textarea class.

lasto 08-29-2003 10:54 AM

cheers filburt

lasto 08-29-2003 11:06 AM

i enter the above code in the headinclude template and it just displays the code on the pages

is there more to this than that above?

and does it matter where about i put the line in headinclude ?

assassingod 08-29-2003 11:56 AM

Try this:

Open headinclude template, find:
Code:

TEXTAREA, .bginput {
Under, add
Code:

textarea {style="background-image: url('imgurl'); background-repeat: no-repeat; background-attachment: fixed;}
Should work

@filburt; heh thanks:o

lasto 08-29-2003 12:19 PM

im getting a white box is all + its changing the fonts to big for some reason

for imgurl is ('$imagefolder/hand.gif);

assassingod 08-29-2003 12:20 PM

Oops, I made a mistake in my code, use this instead:
Code:

style="background-image: url('imgurl'); background-repeat: no-repeat; background-attachment: fixed;

lasto 08-29-2003 12:46 PM

sorry assassingod i gave up on it

nothin happened all i got was a white box which was normally grey and the pic is uploaded to the dir i put in the URL

style="background-image: url('$imagefolder/hand.gif'); background-repeat: no-repeat; background-attachment: fixed;

also in my header include this may be the prob as i dont have the same code in it as u posted for me to find.

TEXTAREA, .bginput {

mine is just

TEXTAREA
{

assassingod 08-29-2003 01:01 PM

Well then try what I said in my first post, put that code ( or just
Code:

style="background-image: url('$imagefolder/hand.gif');
) in the textarea tag. That will be the easy way

EvilWa 10-09-2003 09:39 AM

Quote:

Originally Posted by lasto
im getting a white box is all + its changing the fonts to big for some reason
for imgurl is ('$imagefolder/hand.gif);

just because you forgot add ; in backgroud-color when you add the code below there!

original code in headinclude:--
Code:

TEXTAREA, .bginput {
        FONT-SIZE: 12px;
        FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
        COLOR: #000000;
        BACKGROUND-COLOR: #CFCFCF
}

replace with:--
Code:

TEXTAREA, .bginput {
        FONT-SIZE: 12px;
        FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
        COLOR: #000000;
        BACKGROUND-COLOR: #CFCFCF;
                background-image: url('imgurl'); background-repeat: no-repeat; background-attachment: fixed;
}



All times are GMT. The time now is 04:43 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.01098 seconds
  • Memory Usage 1,737KB
  • 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
  • (8)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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