vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   modded cursors ... (https://vborg.vbsupport.ru/showthread.php?t=256366)

p@nDa 01-02-2011 07:09 PM

modded cursors ...
 
hi all , i found the code for edit cursor , and after some test and test i finally got worked different cursor for different action ...

Code:

/* ***** modded cursor ***** */
table, tr, td, div {cursor: url(images/panda01a.cur), default;}
a:hover {cursor: url(images/panda01b.cur), default;}
textarea, text, input {cursor: url(images/panda05.cur), default;}

this the code i'm using

all works right , the only one i can't modifiy is the one when u go over text ( example in this post if u go from empty space (arrow) to text written ) , it gives default cursor | for select text , and i cannot set mine cause i can't understand which voice rappresent that area ... shouldnt' be textarea ?

Digital Jedi 01-02-2011 07:34 PM

That element only affects the input area on a form field. I believe for the "I-beam" you need to set the values for cursor: text.

p@nDa 01-02-2011 09:44 PM

i already have inserted that itam 'text' in my samle posted above .

if not right in that point , where i should insert it ? in body ?

Digital Jedi 01-03-2011 09:22 AM

Quote:

Originally Posted by p@nDa (Post 2142947)
i already have inserted that itam 'text' in my samle posted above .

if not right in that point , where i should insert it ? in body ?

Like I said, text are your form fields, the places where users input text on your forum. That's why it's grouped with textarea and input.

However, I see cursor:text is what you would add if you want to change it to the I-beam. It doesn't change the I-beam where it usually appears.

I've seen it working globally on some sites, but they have added it to the CSS body class and commented it out.

HTML Code:

<!--
body{
cursor:url("greensmiley.cur");
}
-->


p@nDa 01-03-2011 06:54 PM

i should add it ...

Code:

textarea, cursor:text, text, input {cursor: url(images/panda05.cur), default;}
in this way u mean ?

Digital Jedi 01-03-2011 11:58 PM

Quote:

Originally Posted by p@nDa (Post 2143495)
i should add it ...

Code:

textarea, cursor:text, text, input {cursor: url(images/panda05.cur), default;}
in this way u mean ?

No, I mean you should forget I mentioned cursor:text altogether. In fact, just forget the word text. None of that is going to help you achieve what you want.

If you want to include the custom cursor image in place of the I-beam, you have to use the CSS I posted in my previous post. Unfortunately, I know of know other way to make it work.

p@nDa 01-06-2011 12:51 PM

i understand what u say , but in that way the cursor is the same for i-beam and all others element , i mean use :
1 custom cursor ARROW ( for default )
1 custom cursor HAND ( for link )
1 custom cursor I-BEAM ( for text )

i can make work for the first 2 cursors , but dunno how to add the 3rd ...


All times are GMT. The time now is 02:42 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.01062 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (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