The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Need script for recent topics

View previous topic View next topic Go down

Need script for recent topics

Post by poesia-verses on May 11th 2014, 3:37 pm

Hi!

Give me, please, script (may be javascript?) for move these - in one line. Only this. Thanks  Shocked 


poesia-verses
New Member

Posts : 22
Reputation : 1
Language : russian

http://stihi-poesia.forumsclub.com/

Back to top Go down

Re: Need script for recent topics

Post by Ikerepc on May 12th 2014, 4:40 pm

All what you need is in widgets make bigger width. By defaut it is 180px and if you make it bigger text will fill it and go to one line.

But it will take a lot of place of your forum.

Ikerepc
Active Poster

Male Posts : 1114
Reputation : 152
Language : Croatian, HTML, CSS, jQuery, JavaScript, PHP, SQL, Bascom, Python, C, FBD & LAD for PLC and more... Little English :D
Location : Around electronics and progmamming ;)

http://help.forumotion.com

Back to top Go down

Re: Need script for recent topics

Post by poesia-verses on May 12th 2014, 6:34 pm

It's not work. <br> automatic insert between topic-name and time created. I do 500 px of this widget width, but no effect.
Wishout <br> main page nicely appearance:

(added forum in every line, in [])

poesia-verses
New Member

Posts : 22
Reputation : 1
Language : russian

http://stihi-poesia.forumsclub.com/

Back to top Go down

Re: Need script for recent topics

Post by poesia-verses on May 13th 2014, 9:51 am

{display:inline;} - how this to insert? I do not know element to it.

poesia-verses
New Member

Posts : 22
Reputation : 1
Language : russian

http://stihi-poesia.forumsclub.com/

Back to top Go down

Re: Need script for recent topics

Post by Pizza Boi on May 13th 2014, 10:28 am

Hi Very Happy

Is this your forum? http://stihi-poesia.forumsclub.com/

Can you please link us to your forum and then reset it to the way it was before if you used a code?

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Re: Need script for recent topics

Post by poesia-verses on May 13th 2014, 5:40 pm

Ready
Yes, its my forum

poesia-verses
New Member

Posts : 22
Reputation : 1
Language : russian

http://stihi-poesia.forumsclub.com/

Back to top Go down

Re: Need script for recent topics

Post by Pizza Boi on May 13th 2014, 5:51 pm

Hi Very Happy

Okay, so technically speaking, both portions have to adapt to each, correct? As far as I'm concerned, each board is allowed up to 255 characters but let's not put that much adaption to them.

Apply this in your stylesheet:

Code:
#content-container div#left {
  width: 350px !important;
}
#ipbwrapper {
  width: 180%;
}

Unfortunately, every time it exceeds, you have to adjust the values presented in the #ipbwrapper and #content-container div#left.

Don't worry, I managed to re-bunk the Forum Width Adjuster and it should now be adaptable to Invision.

Copy paste the code below into a custom table widget:

Code:
/--- Pizza Boi's tutoriel pour codes-ciel ---/
/--- Ce code peut être autorisé à être reproduit avec le consentement de Pizza Boi ---/
/--- Si ce code a déjà été faite, il s'agit d'une version différente ---/
/--- Copyright @ Pizza Boi 2014 ---/
<script type="text/javascript">
jQuery(document).ready(function(){
  jQuery("#pizzawidth").click(function(){
        var a=Number(document.getElementById("muchsalt").value);
        var b=0;
        jQuery("#ipbwrapper").animate({width:a},1100, "linear");
        if(a==1200){b=1;}
        if(a==1300){b=2;}
        if(a==1350){b=3;}
        if(a==1400){b=4;}
        if(a==1500){b=5;}
        if(a==1600){b=6;}
        if(a==1700){b=7;}
          });
        });
        </script>
<center><div style="text-align: center;"><input type="submit" value="Set" id="pizzawidth" /><select id="muchsalt">
          <option selected="selected">1200</option>
          <option>1300</option>
          <option>1350</option>
          <option>1400</option>
          <option>1500</option>
          <option>1600</option>
          <option>1700</option>
        </select></div></center>

Note: That can be used to auto re-size your whole forum's width, excluding the widget since that should be done manually via CSS. For this to work, you must have all #ipbwrapper { width: #; } removed in your CSS.

Regards,
Pizza Boi

Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

http://redlustempire.forumtl.com/

Back to top Go down

Re: Need script for recent topics

Post by poesia-verses on May 13th 2014, 6:54 pm

this is not what I need.
<br> fact still remained?
I know that there are good programmers, and therefore addressed


poesia-verses
New Member

Posts : 22
Reputation : 1
Language : russian

http://stihi-poesia.forumsclub.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum