Some minor kinks that I need tweaking

5 replies
So I have this site that Im currently redesigning. Pink Lilies - The number one place for bouquets . It is in 1st place right now and im getting around 1200 views a month so I decided to do with something with it. I have coded some basic javascript buttons and the 3 boxes onthe homepage have some mouseover scripts but it dosnt work and when it does it dosnt last and then when I go into the code theres a CD DATA error that just comments out all the code. Also in the banner/header area, you see the word pink lilies and the footer is all the way right. Anyone know how I can tweak these? Thanks!
#kinks #minor #tweaking
  • Profile picture of the author michaelballack
    [DELETED]
    {{ DiscussionBoard.errors[3989678].message }}
    • Profile picture of the author Anthony K
      Hm thats strange about the mouseover script. I have it on a couple of my other sites and it works just fine, maybe i missed something.
      {{ DiscussionBoard.errors[3991326].message }}
      • Profile picture of the author Anthony K
        the code is this

        <script type="text/javascript">
        var a = new Image(); a.src = 'kingsized.png'; image 1
        var b = new Image(); b.src = 'kingsized2.png'; image 2
        var c = new Image(); c.src = 'queensized.png';
        var d = new Image(); d.src = 'queensized2.png';
        var e = new Image(); e.src = 'twinsized.png';
        var f = new Image(); f.src = 'twinsized2.png';
        </script>

        <a href="http://www.greencomforter.org/handcrafted-peyton-place-green-comforter" onmouseover="document.images['s1a'].src='kingsized2.png';" onmouseout="document.images['s1a'].src='kingsized.png';"><img src="kingsized.png" name="s1a" height="200" alt="Buy King Sized Green Comforter" width="180" border="1" align="left" ></a>

        if you go to my site www.greencomforter.org Green Comforter | www.greencomforter.org it works but my other site using the exact same coding dosnt
        {{ DiscussionBoard.errors[3992150].message }}
        • Profile picture of the author Anthony K
          So I found the reason if anyones interested. The newest version of wordpress is not compatible with javascript, you have to use a custom CSS code.
          {{ DiscussionBoard.errors[3997849].message }}

Trending Topics