Please Register and Login to this forum to stop seeing this advertsing.
Add Karma
 rated by members
Add Comment
Show Comments
![online/offline]() |
Posted: Post subject: |
|
|
|
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
roycepsam* Pupil


Virtual Cash: 430
Joined: 04 May 2009 Posts: 36
Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Mon May 04, 2009 4:05 pm Post subject: |
|
|
Dear admin,
Thank you for your patience and the time you have given me so far.
I have tried to follow all instructions to no avail, after 8 hours my head is spinning..!!
I will try to put clearly what i have done so far, perhaps you could point me out my mistake..??
Forum link = http://urhitworldwide.myfreeforum.org/index.php
Fader reads on home page = Template MYFF.FADER does not exist.
I started by putting this on the end of overall_header code =
| Code: | <table width="90%" border="0">
<tr><td colspan="3">{MYFF.FADER}</td></tr>
</table> |
Next I added the below to my cms_myff.fader.tpl
| Code: | <table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_fader_title -->
<tr>
<th height="25" class="thCornerL" nowrap="nowrap">{FADER_TITLE}</th>
</tr>
<!--END switch_categories_title -->
<tr>
<td align="center">
<div id="fscroller" style="font-size: 12; font-family: Verdana,Arial; font-weight: bold; width: 100%; height: 15px; padding: 2px; filter: alpha(opacity=0); -moz-opacity: 0.0;"></div><script language="JavaScript1.2" type="text/javascript">
<!--
var iDelay = 2000;var txtColor = "000000";var fContent = [];
<!-- BEGIN fader_row -->
if ("{fader_row.U_VIEW_MENU}"=="")
{
fContent[{fader_row.MENU_NUMBER}-1] = "{fader_row.MENU_NAME}"
}else
{
fContent[{fader_row.MENU_NUMBER}-1] = "<a href=\"{fader_row.U_VIEW_MENU}\">{fader_row.MENU_NAME}<\/a>"
}
<!-- END fader_row -->
var isIE = (document.all)? true : false;var frame = 60;var st = 1;var wait = iCur = 1;var index = iCurMoz = 0;var iDir = false;var frameHalf = frame / 2;var iTimer;var frame_m = frame;var wait_m = wait;document.getElementById("fscroller").style.color = txtColor;function fade(){ if(index >= fContent.length){ index = 0; } document.getElementById("fscroller").innerHTML = fContent[index]; index ++; opacityFade();}function opacityFade(){ var fScroll = document.getElementById("fscroller"); if(frame > 0){ if(frame == frameHalf && wait > 0){ if(isIE){ fScroll.style.filter = "alpha(opacity=" + iCur + ")"; } else { fScroll.style.MozOpacity = iCurMoz; } wait --; setTimeout("opacityFade()", iDelay); } else { if(iDir){ iCur -= 3; iCurMoz -= 0.03; } else { iCur += 3; iCurMoz += 0.03; } if(isIE){ fScroll.style.filter = "alpha(opacity=" + iCur + ")"; } else { fScroll.style.MozOpacity = iCurMoz; } if(frame == (frameHalf + 1)){ if(isIE){ fScroll.style.filter = "alpha(opacity=" + iCur + ")"; } else { fScroll.style.MozOpacity = iCurMoz; } iDir = true; } frame --; setTimeout("opacityFade()", st); } } else { fScroll.innerHTML = " "; frame = frame_m; wait = wait_m; iDir = false; setTimeout("fade()", st); }}// -->
</script>
</td></tr>
</table>
<script language="JavaScript" type="text/javascript"><!--
fade();
// -->
</script> |
I have then gone to Portal settings and set up a menu titled :
Component Type MENU
Name MYFF.FADER
Title News
Links 1
Item : News Fader
Links 2
Item ; Looking Good
This is what I have done anymore help would be appreciated
|
|
| Back to top |
|
 |
Ask Mr. Religion Apprentice


 Virtual Cash: 1810
Joined: 01 Aug 2008 Posts: 160
Add Karma
 rated by 1 members
Add Comment
Show Comments
 |
Posted: Mon May 04, 2009 4:23 pm Post subject: |
|
|
| roycepsam* wrote: | Dear Admin,
Thank you for your prompt reply,
We are not experienced at this but we have basically copied from above Instruction No( 8 )
We deleted the existing Text and replaced with what is in Instruction No ( 8 )
We look forward to your reply and question what you mean :
"CATEGORIES portal and not a MENU portal"
Roycepsam |
Find the line in your code that reads
| Code: | | <!--END switch_categories_title --> |
Change it to read
| Code: | | <!--END switch_fader_title --> |
Next follow my directions in my post above to create a Fader Menu portal component into which you will add the actual news titles and any links that will be displayed by the Fader. See my fader in action here:
http://rti.myfineforum.org/index.php
AMR _________________ Ask Mr. Religion
Reformed Theology Institute

|
|
| Back to top |
|
 |
roycepsam* Pupil


Virtual Cash: 430
Joined: 04 May 2009 Posts: 36
Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Mon May 04, 2009 5:20 pm Post subject: |
|
|
OK guys thank you very much for your help that is now working fine..!!
Just wondering if you can help me with 2 other small issues I wish to solve?
1) Our Forum is private, how can I have it where you can only read News Fader once Logged in??
2) The news item only lasts about 2secs on each item...can I slow the fader down??
Regards
roycepsam
|
|
| Back to top |
|
 |
admin (no pm's please) Site Admin


 Virtual Cash: 24210
Joined: 22 May 2005 Posts: 25515
Add Karma
 rated by 214 members
Add Comment
Show Comments
 |
Posted: Mon May 04, 2009 5:30 pm Post subject: |
|
|
<!-- IF S_USER_LEVEL > -1 -->
<!-- ENDIF -->
can be place around code to make it private. As for speed I cannot believe that anyone can't read 10 lines of code and see what the time value is! _________________
Family Friendly Shareware | | Web Design/Services | Free Forums
|
|
| Back to top |
|
 |
Ask Mr. Religion Apprentice


 Virtual Cash: 1810
Joined: 01 Aug 2008 Posts: 160
Add Karma
 rated by 1 members
Add Comment
Show Comments
 |
Posted: Mon May 04, 2009 5:51 pm Post subject: |
|
|
Set the fader delay by changing the following code. Mine shown below is set for 4 seconds
AMR _________________ Ask Mr. Religion
Reformed Theology Institute

|
|
| Back to top |
|
 |
roycepsam* Pupil


Virtual Cash: 430
Joined: 04 May 2009 Posts: 36
Add Karma
 rated by 0 members
Add Comment
Show Comments
 |
Posted: Mon May 04, 2009 6:14 pm Post subject: |
|
|
| admin (no pm's please) wrote: | <!-- IF S_USER_LEVEL > -1 -->
<!-- ENDIF -->
can be place around code to make it private. As for speed I cannot believe that anyone can't read 10 lines of code and see what the time value is! |
Thanks again now private...and set each item at 5 secs.........Thanks for all the help
roycepsam
|
|
| Back to top |
|
 |