Affiliate Help

Printable View

  • 07-02-2007, 08:17 PM
    souljaa
    Affiliate Help
    Hey, sorry for bringing this topic back, lol, but remember last time I had the code again?
    Code:

            echo '
            <div id="affiliate" style="text-align: center;', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width: 100%;' : '', '">
                    <marquee behavior="scroll" direction="left" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' width="100%"' : '', '>
                    <a href="http://www.google.com" target="_blank"><img src="http://images.google.com/intl/en_ALL...google_sm.gif" /></a>
                    <a href="http://www.yahoo.com" target="_blank"><img src="http://us.i1.yimg.com/us.yimg.com/i/yahoo.gif" /></a><br />
                    </marquee>
            </div>';

    What would be the code to BOX it?
    And what would be the code to make it stop or slow down again?
    Thanks once again :).
    Souljaa
  • 07-02-2007, 08:22 PM
    souljaa
    Re: Affiliate Help
    Okay, well I got the BOX, now I just need the scroll over stop thingy :P.

    EDIT*****Okay, I played around more with the codes lol, and I finally got it ;).

    Thanks!
    Souljaa

    EDIT*******Okay, I have a problem again, it doesn't appear in all the browers, here's the code,
    PHP Code:

    echo '<div class="protablo2"><div class="protablo1">
        <div id="affiliate" style="text-align: center;'
    $context['browser']['needs_size_fix'] && !$context['browser']['is_ie5'] ? ' width: 100%;' '''">
            <marquee direction="left" onmouseover="this.stop()" onmouseout="this.start()" scrollamount="5" '
    $context['browser']['needs_size_fix'] && !$context['browser']['is_ie5'] ? ' width="100%"' '''> 

    As you can see, it says ['browser']['is_ie5'], what do I do so it would show up in all browers?

    And can you please let me know if you see it in your browser..and what browser you're using.
    Thanks
    Souljaa
  • 08-22-2007, 11:27 AM
    Thor Erik
    remove this part:
    PHP Code:

    ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie5'] ? ' 

    and:
    PHP Code:

    ' : '', ' 

    after the width decleration
    remember it includes the last ' in the first part of the string and the first ' of the seccond ;)
  • 08-22-2007, 12:37 PM
    souljaa
    Alright, thanks, I'll try it out :).
    Thanks ;).

» Site Navigation

» Home
» FAQ

» Log in

User Name:

Password:

» Sponsors