General questions

  • pm4698
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 2 months ago #22053 by pm4698
Replied by pm4698 on topic General questions
I succeed in disappearing the text like you said at your previous post.

My question was different. I saw that in the same php file i can change the character which separates the articles at the scroller (echo '|'). When i used another character (echo ' - ') then at frontend i saw that the text that is scrolling and not the separator was like margined top.
Instead of :
Article 1 - Article 2 - Article 3 .....(scrolling) i get this:
Article 1 _ Article 2 _ Article 3 .....(scrolling) like the scrolling text is lifted a few pixels up. I had the same problem with the previous separator.
This is one question.

The other question is how to use an image instead of text separator.
I.E. instead of echo ' - ' to use echo ' url(../images/separator.png); '

Please Log in to join the conversation.

More
12 years 2 months ago - 12 years 2 months ago #22060 by ivan.milic
Replied by ivan.milic on topic General questions
Open modules\mod_hot_scroller\tmpl\default.php

Around line 91:
Code:
foreach ($html2out as $key => $value) { echo $value.'   |   '; }

change to:
Code:
foreach ($html2out as $key => $value) { echo $value.'&nbsp;&nbsp;&nbsp;'; ?> <img src="..path to image..." alt="..." style="..." class="..." /> <?php echo '&nbsp;&nbsp;&nbsp;'; }
Last edit: 12 years 2 months ago by ivan.milic.

Please Log in to join the conversation.

  • pm4698
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 2 months ago #22062 by pm4698
Replied by pm4698 on topic General questions
Thank you that really worked, but i didn't magage to lower the displaying article at the scroller.
I seems like the text scrolling is a few pixels higher than the separator?

How could i fix this?

Please Log in to join the conversation.

More
12 years 2 months ago #22064 by ivan.milic
Replied by ivan.milic on topic General questions
what was your link?

Please Log in to join the conversation.

  • pm4698
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
12 years 2 months ago - 12 years 2 months ago #22065 by pm4698
Replied by pm4698 on topic General questions
Right now i work on localhost
Take a look at a printscreen:

Attachments:
Last edit: 12 years 2 months ago by pm4698.

Please Log in to join the conversation.

More
12 years 2 months ago #22068 by ivan.milic
Replied by ivan.milic on topic General questions
Can not be sure without looking at it. If you did not have that problem before putting images as separator maybe you just need to set separator image margin to 0

<img src="..path to image..." alt="..." style="margin:0;padding:0;..." class="..." />

Please Log in to join the conversation.

Time to create page: 0.084 seconds
Powered by Kunena Forum