View Full Version : How do i put the line.... on vb.
ofir24
05-12-2013, 09:05 AM
Hi
I found a line code to disable ctrl+a in my site, i should
add the line on body tag.
the line:
<body onselectstart="return false" topmargin="0" leftmargin="0">
in vb it's a lil diffrenet cause there is a code writtin in vb langauge.
where do i put the code and how?
nerbert
05-12-2013, 02:06 PM
Every page has a template in the Style Manager. They're all in ALL CAPS. Just edit it into the body tag.
ofir24
05-12-2013, 07:28 PM
i try to do it in headinclude and i just copy paste it to the body with no success.
it's writtin in vb.
can you be more specific and to give me more details, cause i can get lost with that.
nerbert
05-12-2013, 08:11 PM
For example, go to your SHOWTHREAD template and near the top, just after </head> you'll see the body tag. Change it from this
<body<vb:if condition="$onload"> onload="{vb:raw onload}"</vb:if>>
to this
<body<vb:if condition="$onload"> onload="{vb:raw onload}"</vb:if> onselectstart="return false">
Then you can do the same for all the other page templates. They are all listed in ALL CAPS
ofir24
05-13-2013, 03:32 AM
you said: " They are all listed in ALL CAPS"
what do you mean ALL CAPS?
you mean all the letters are big, cause there is only one,
and there is some places which need to fill without all caps
ofir24
05-14-2013, 11:17 AM
cause I try it, didn't work.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.