Quote:
|
What do you mean by css style? I already told you which selector/element to look for: a.collapse img
|
Quote:
|
As I said: I looked at it with firebug and the settings are just there to read. If you really want to work with vB4 styling, you really should make use of this. As a cleaner solution instead of inline styling I would recommend to give the img your own custom class and define that class in additional.css :)
|
Thanks for help and sorry for all those questions - I was just lazy ;) Your first information about css (a.collapse img) was enough - I just search whole vBulletin code for that and I found what I needed :)
Thanks once again :):up: --------------- Added [DATE]1266506576[/DATE] at [TIME]1266506576[/TIME] --------------- Quote:
--------------- Added [DATE]1266507137[/DATE] at [TIME]1266507137[/TIME] --------------- Ok - I found solution anyway - I just went 1 level higher and play with style for a - seems working, but not tested in other browsers yet. --------------- Added [DATE]1266507539[/DATE] at [TIME]1266507539[/TIME] --------------- Working and tested. It is needed to ad in a with class collapse a style attribute with value position: static; float: none; So it goes: Code:
<a href="#top" class="collapse" style="position: static; float: none;" id=... |
Thanks, works like a charm, made a few changes to run it from a plugin, but still workds, lovely.
|
Does this work in vBulletin admincp?
|
Never tried, but I doubt it. This was reworked for vB4, and there have been no significant changes to the AdminCP, so maybe not. On a second thought, I am unable to remember having seen anything collapsible in the AdminCP before...
|
Thanks!!
|
Quote:
I was trying to make all my static-html cms widgets collapsible. The problem was that that template is for all static-html cms widgets, so when assign a unique id in HTML Code:
<a class="collapse" id="collapse_uniqueid".... The solution was to make use of the widget's title as the unique id: HTML Code:
<a class="collapse" id="collapse_{vb:raw widget_title}".... HTML Code:
<div class="cms_widget collapse"> And all that thanks to cellarius :up: |
All times are GMT. The time now is 11:12 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|