PDA

View Full Version : vb:raw floatLocation


DemOnstar
02-07-2016, 09:15 AM
Hello there. . .

Anyone know where this can be edited? {vb:raw floatLocation}
Or can it be done with css.additionals?

<vb:if condition="isset($floating) AND $floating">
scrolltofixed-floating
scrolltofixed-<vb:if condition="isset($floatLocation) AND in_array($floatLocation, array('top', 'bottom'))">{vb:raw floatLocation}<vb:else />top</vb:if>
</vb:if>

Trying to change it's floating position. .
Thanks again . .

Replicant
02-07-2016, 12:48 PM
Those css values are set dynamically by footer-rollup.js file. You could try setting the value you want in css_additional.css with the !important attribute and see if it sticks.
Do you have an example of what exactly you are trying to accomplish?

DemOnstar
02-07-2016, 01:28 PM
Those css values are set dynamically by footer-rollup.js file. You could try setting the value you want in css_additional.css with the !important attribute and see if it sticks.
Do you have an example of what exactly you are trying to accomplish?

The closest example would be similar to clicking on a Facebook picture and having the picture pop up on one side, and the comments (thread) displaying on the other. . .

It isn't easy and after 2 days messing, I think I am going the wrong way about it. . .:p

Thanks anyway. . .

Replicant
02-07-2016, 04:08 PM
The scrolltofixed css class is for the floating bar (paging, reply button, etc.) on the threads. By your description, you are wanting to basically present the thread in a totally different manner than vbulletin does?

DemOnstar
02-07-2016, 04:47 PM
The scrolltofixed css class is for the floating bar (paging, reply button, etc.) on the threads.

Still haven't figured that one. .

By your description, you are wanting to basically present the thread in a totally different manner than vbulletin does?

Yep! I had the idea that it is possible using a css.additional.css and unique style and template for that channel only. I think it could be done with what I have achieved already but it looks a bit weird and needs a lot of refinement.

I will give it a rest for a while. Not so easy on the body doing this kind of stuff. :)

Cheers. .

Replicant
02-07-2016, 07:26 PM
Doing that type of major makeover is better done at the template level considering several of the css classes are hard coded and are difficult to impossible to override in css_additional.css. It will also give you more flexibility as far as doing the exact type of layout you want to do. The downside however is some of the classes will need to be retained. The javascript on the pages relies on these classes to trigger several ajax functions in the threads and that will take some time to evaluate which ones you do and don't need.

DemOnstar
02-08-2016, 08:51 AM
Doing that type of major makeover is better done at the template level considering several of the css classes are hard coded and are difficult to impossible to override in css_additional.css. It will also give you more flexibility as far as doing the exact type of layout you want to do. The downside however is some of the classes will need to be retained. The javascript on the pages relies on these classes to trigger several ajax functions in the threads and that will take some time to evaluate which ones you do and don't need.

It's way above my head Mr Replicant. . .Too difficult for a person at my level of knowledge.
I am just messing about with the software as a hobby. I couldn't take it seriously.. Even if I did, I would choose a different platform. Version 5 is really not worth the effort. . Way too much history of disappointment. . .

I have a live site, had one for months but it has been turned off since I uploaded.
I just play about with it. . .

Thanks for your time. . . :)