inherit
169267
0
Nov 23, 2024 12:51:41 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Nov 19, 2023 6:18:48 GMT -8
I found a script that might help with my marquee plugin, but I don't know where to place it.
<script src="//cdn.jsdelivr.net/npm/jquery.marquee@1.6.0/jquery.marquee.min.js" type="text /javascript"></script> Can I get some help please? Thanks in advance
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 19, 2023 7:46:17 GMT -8
I found a script that might help with my marquee plugin, but I don't know where to place it. <script src="//cdn.jsdelivr.net/npm/jquery.marquee@1.6.0/jquery.marquee.min.js" type="text /javascript"></script> Can I get some help please? Thanks in advance Ideally it would go at the top of your Global Header, but anywhere above the script you are using to call the marquee function should work.
|
|
inherit
169267
0
Nov 23, 2024 12:51:41 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Nov 19, 2023 9:09:01 GMT -8
Test siteTodgeDoesn't seem to work. I put that script in the global header. Could you take a look and tell me why. Thanks for the reply
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 20, 2023 5:04:49 GMT -8
Test siteTodge Doesn't seem to work. I put that script in the global header. Could you take a look and tell me why. Thanks for the reply The script spilt over 2 lines, the code needs to be all on one line.. Try removing what you have now and replace it with.. <script src="//cdn.jsdelivr.net/npm/jquery.marquee@1.6.0/jquery.marquee.min.js" type="text/javascript"></script> You also have the code on your forum twice, remove them BOTH before placing the code above into your global header. You also need to activate the plugin, I can't see that you have done that. If not, put this in your Global Footer.. <script> $(document).ready(function(){ $(function () { $('.marquee').marquee({ duration: 5000 }); }); }); </script> You can change the 'duration' to alter the speed of the marquee. You can then place marquees wherever you like on you form by using this HTML coding... <div class="marquee">Some scrolling text</div>
|
|
inherit
169267
0
Nov 23, 2024 12:51:41 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Nov 20, 2023 14:58:09 GMT -8
TodgeI only have a plugin with that information. It's not on the layout. I use the loco div on the layout to show the plugin. how high can I go to slow it down. I got it at 40000 already and it's too fast. I got it working correctly Thank you very much
|
|
inherit
169267
0
Nov 23, 2024 12:51:41 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Nov 21, 2023 4:42:24 GMT -8
TodgeI got the marquee working but the headlines Are disappearing before the cycle Is up. Can you help please? Thanks in advance
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,846
January 2015
msg
|
Post by Lynx on Nov 21, 2023 5:58:18 GMT -8
I found a script that might help with my marquee plugin, but I don't know where to place it. This sounds like you're unsure if this is the actual addon that's intended to be used with your code. Given what Chris had previously told you: Chris What is the addon? or is there a work around for this? I have no idea what the addon is. Wherever you got the code that informed you that you could use .marquee() in your jQuery code is probably where you would be given the addon that adds that functionality to jQuery. There are at least ten different jQuery addons returned on the first page of a search result when you type in " jquery marquee addon" just like there are at least 20 different threads by 20 different people returned when searching for the word " analytics". The code must be paired with the addon where you got that code to work properly since each addon goes about getting to the goal differently and most likely accepts inputs in totally different formats.If you don't know exactly where you got the code from, you may want to start fresh - but get the needed addon that's paired with your code at the same time. Just my $0.02.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Nov 22, 2023 8:32:57 GMT -8
As Lynx said above, the site where you originally got the code from should give you all the instructions you need to change the speed and style of the marquee.. Also, I'm not sure how you have created the marquee div itself, but the way you have populated it is creating 3 differing scrolling texts all independent of each other. I can slow them down by altering the 'translateX()' value, but the 3 scrolling texts scroll at different speeds, overlapping each other. It seems you are adding the 3 different link separately, whereas it would probably make sense to add everything as one scrolling <span>.
|
|