vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Menu Alert (https://vborg.vbsupport.ru/showthread.php?t=105488)

hotwheels 01-17-2006 01:28 PM

Quote:

How can i slow down the scroll?
go to your admincp, style & templates, style manager,.......then click on the double arrow's.......scroll down to "menualert" and click customize......when the template opens up, delete all of the infromation in the box and add this:
Quote:

<!-- Alert Menu Content -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center"><if condition="$vboptions[alert_menu_switch]">
<td class="vbmenu_control" width="75"><font color="#{$vboptions['alert_menu_title_text_colour']}"><b>{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}</b></font></td>
<td class="vbmenu_control" width="535" align="left"><if condition="$vboptions['alert_menu_marquee_switch']">
<marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820" scrolldelay="120"></if><font color="#{$vboptions['alert_menu_content_text_colour']}"><b>{$vboptions['alert_menu_alert']}</b></font><if condition="$vboptions['alert_menu_marquee_switch']"></marquee></if></td>
</if>
</tr>
</table>
</div>
<!-- / #End Alert Menu Content -->

click save and reload............

the only change that i made was: scrolldelay="120" this is what will control your speed, you can change to your specific need's, but i think 120 is perfect.........Increase the number to slow down the scroll.........try inserting 140.........ect.


I hope it was okay for me to post this, please delete if not...........thanks, hotwheels

Marky 01-17-2006 01:56 PM

Quote:

Originally Posted by hotwheels
go to your admincp, style & templates, style manager,.......then click on the double arrow's.......scroll down to "menualert" and click customize......when the template opens up, delete all of the infromation in the box and add this:


click save and reload............

the only change that i made was: scrolldelay="120" this is what will control your speed, you can change to your specific need's, but i think 120 is perfect.........Increase the number to slow down the scroll.........try inserting 140.........ect.


I hope it was okay for me to post this, please delete if not...........thanks, hotwheels

It's fine :)
Thank you infact, I'll include this in the next release and make it admin controllable ;)

Kihon Kata 01-17-2006 02:28 PM

ok, this is the bomb. INSTALLS! pee pee time

sezmar 01-18-2006 04:24 PM

Great hack! I made a few changes you may want to include.

I added the mouse over, speed control different then above and added height because I use it scrolling up.

This is in the "menualert" Template.

Code:

<!-- Alert Menu Content -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center"><if condition="$vboptions[alert_menu_switch]">
<font color="#{$vboptions['alert_menu_title_text_colour']}"><b>{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}</b></font></td>
<td class="vbmenu_control" width="535" align="center"><if condition="$vboptions['alert_menu_marquee_switch']">
<marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820" scrollAmount="1" height="14" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=1"></if><font color="#{$vboptions['alert_menu_content_text_colour']}"><b>{$vboptions['alert_menu_alert']}</b></font><if condition="$vboptions['alert_menu_marquee_switch']"></marquee></if></td>
</if>
</tr>
</table>
</div>
<!-- / #End Alert Menu Content -->


scottct1 01-18-2006 11:20 PM

Any way to change it so the size of it adjusts depending on what the users resolution is?

bashy 01-21-2006 02:18 PM

Cheers for this...looks cool but,

Its too wide on my forum, how can i make it a little shorter please?

LJR 01-21-2006 02:25 PM

Thanks for this! Nice and neat.

SCRIPT3R 01-21-2006 04:45 PM

Quote:

Originally Posted by sezmar
Great hack! I made a few changes you may want to include.

I added the mouse over, speed control different then above and added height because I use it scrolling up.

This is in the "menualert" Template.

Code:

<!-- Alert Menu Content -->
<div align="center">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center"><if condition="$vboptions[alert_menu_switch]">
<font color="#{$vboptions['alert_menu_title_text_colour']}"><b>{$vboptions['alert_menu_title']}{$vboptions['alert_menu_title_fix']}</b></font></td>
<td class="vbmenu_control" width="535" align="center"><if condition="$vboptions['alert_menu_marquee_switch']">
<marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820" scrollAmount="1" height="14" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=1"></if><font color="#{$vboptions['alert_menu_content_text_colour']}"><b>{$vboptions['alert_menu_alert']}</b></font><if condition="$vboptions['alert_menu_marquee_switch']"></marquee></if></td>
</if>
</tr>
</table>
</div>
<!-- / #End Alert Menu Content -->


thnx!

bashy 01-21-2006 04:55 PM

How can we make it scoll up as well please?

Quote:

Great hack! I made a few changes you may want to include.

I added the mouse over, speed control different then above and added height because I use it scrolling up.

bashy 01-21-2006 04:57 PM

Hi m8

You need to edit the text in red (ok so red shows green pmsl) :) me sorted mine

<marquee direction="{$vboptions['alert_menu_marquee_direction']}" width="820" scrollAmount="1" height="14" onMouseover="this.scrollAmount=0"

Quote:

Originally Posted by scottct1
Any way to change it so the size of it adjusts depending on what the users resolution is?



All times are GMT. The time now is 04:18 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
  • Page Generation 0.01313 seconds
  • Memory Usage 1,750KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete