Go Back   Pligg CMS Forum > Pligg Help > Customization Assistance

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-24-2008, 01:32 PM
Casual Pligger
 
Join Date: Mar 2008
Posts: 33
Thanks: 9
Thanked 0 Times in 0 Posts
How to add this Framed Vertical Scroller

Hi:

I would like to add in the main page this script:

Marquee Emulator - Vertical Scroller

Anybody know how and where must add this code?

Thanks a lot


Note: I'm working with Pligg 9.9.5

Last edited by nuki; 08-24-2008 at 01:38 PM..
Reply With Quote
  #2 (permalink)  
Old 09-10-2008, 12:58 PM
Casual Pligger
 
Join Date: Mar 2008
Posts: 33
Thanks: 9
Thanked 0 Times in 0 Posts
Anbody have any code to add a similar marquee in the main page of our pligg site?
Reply With Quote
  #3 (permalink)  
Old 09-10-2008, 01:13 PM
Casual Pligger
 
Join Date: May 2008
Posts: 50
Thanks: 16
Thanked 5 Times in 5 Posts
Where exactly would you want that to show up at?
__________________
OSS Supporter.
Reply With Quote
The Following User Says Thank You to method20 For This Useful Post:
  #4 (permalink)  
Old 09-11-2008, 04:47 PM
Casual Pligger
 
Join Date: Mar 2008
Posts: 33
Thanks: 9
Thanked 0 Times in 0 Posts
Hi method20:

My pligg site is Sukun...za!.

And I'd like to put a marquee with some news at top of the main page. For example, here



Can you help me?

Thanks
Reply With Quote
  #5 (permalink)  
Old 09-12-2008, 12:46 AM
Casual Pligger
 
Join Date: May 2008
Posts: 50
Thanks: 16
Thanked 5 Times in 5 Posts
I have a working Marquee js. It is from dynamic drive but does the same. I added an include to scroll the top stories of the whole site on the front page, and it will change to show the top stories in a category, when in it. Download the ZIP

And add marquee.js in the js folder, and put marquee_stories in the root.

open pligg.tpl and put in the <head> section;

Code:
<script src="{$my_pligg_base}/js/marquee.js" type="text/javascript"></script>
open index_center.tpl and put at the top;
Code:
	{if $pagename neq "story"}
<div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">
<div id="vmarquee" style="position: absolute; width: 98%;">

  {* ----- show the marquee ----- *}

    {php}include('marquee_stories.php');{/php}

{* ---------------------------------------- *} 

</div>
</div>{/if}
And in your templates CSS file add;
Code:
#marqueecontainer{
position: relative;
width: 500px; /*marquee width */
height: 100px; /*marquee height */
background-color:#ffffff;
overflow: hidden;
border:1px solid #000000;
padding: 2px;
padding-left: 4px;
margin-left:100px;
Obviously you can change those values to fit your site.
Attached Files
File Type: zip marquee.zip (1.9 KB, 7 views)
__________________
OSS Supporter.

Last edited by method20; 09-12-2008 at 12:59 AM..
Reply With Quote
The Following User Says Thank You to method20 For This Useful Post:
  #6 (permalink)  
Old 09-13-2008, 04:56 PM
Casual Pligger
 
Join Date: Mar 2008
Posts: 33
Thanks: 9
Thanked 0 Times in 0 Posts
Thanks a lot method20

I've used your code with my marquee code and now it's run!!!

You can see my new marquee here: Sukun...za!

Thaks again method20
Reply With Quote
  #7 (permalink)  
Old 09-13-2008, 05:29 PM
Casual Pligger
 
Join Date: May 2008
Posts: 50
Thanks: 16
Thanked 5 Times in 5 Posts
Thumbs up

Cool. Glad to help!
__________________
OSS Supporter.
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
Option buttons : From horizental to vertical position peaux "yget" 2 09-20-2007 10:52 AM
CSS vertical spacing problem (IE6 vs FF2) bios10h Template Support 1 04-09-2007 11:02 PM
open link in framed page londoncowgirl Modification Tutorials 8 07-18-2006 11:36 AM


Search Engine Friendly URLs by vBSEO 3.2.0