1
sova
Please help me to change publisher block
  • 2012/7/9 14:18

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


Hello
Please edit this code for me
Refuse to display information to scroll
select show ---> Scroll
This block of code here:
<form name="publisher_category_items_sel" action="javascript:void(0)">
    <
table>
        <{foreach 
item=category from=$block.categories}>
        <
tr>
            <
td style="padding-right: 5px;" align="right" valign="top">
                <
strong><{$category.name}></strong> <br/>
                <
select style="width: 140px;" name="publisher_category_item_link" onchange="location=this.options[this.selectedIndex].value"> <{foreach item=item from=$category.items}>
                    <
option title="<{$item.title}>" value="<{$item.itemurl}>"><{$item.title}></option>
                    <{/foreach}> </
select>
            </
td>
        </
tr>
        <{/foreach}>
    </
table>
</
form>


in module publisher

2
sova
Re: Please help me to change publisher block
  • 2012/7/10 11:06

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


thanks your helping.

How do I change this code:
<table cellpadding="0" cellspacing="0" border="0" >
<
div>
<
ul>
    <{foreach 
item=newitems from=$block.newitems}>
    <
tr> <{if $newitems.image}>
    <
td>
        <
img style="padding: 1px; margin: 2px; border: 1px solid #c3c3c3" width="50" src="<{$newitems.image}>" title="<{$newitems.image_name}>" alt="<{$newitems.image_name}>" />
    </
td>
    <{/if}>
    <
td>
<
li style=" margin-right: 10px; font-size: 12px;">
        <
strong><{$newitems.link}></strong> <{if $block.show_order == '1'}> (<{$newitems.new}>) <{/if}>
</
li>
    </
td>
    </
tr><{/foreach}>
</
ul>
</
div>
</
table>

To give content to scroll the screen?

I use the following code:
height="50px"
But it does not work.

Please help me!!!!

3
sova
Re: Please help me to change publisher block
  • 2012/7/10 11:23

  • sova

  • Not too shy to talk

  • Posts: 149

  • Since: 2010/4/13


I use the following code:
style="display: block; max-height: 150px; overflow: auto;"
in line 1.

But only in Firefox Browser excellent show.
In Internet Explorer does not work?

Login

Who's Online

63 user(s) are online (39 user(s) are browsing Support Forums)


Members: 0


Guests: 63


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits