I'm working on redesigning our site and I'm having a problem with a JS mouseover/popup. Hopefully someone here can help me. Right now, when you mouse over an ad, you get a larger version of the ad in a popup window that appears to the left. What I need to do is make it popup to the right instead.

You can see the current popup in action here: http://www.stltoday.com/autos

I'm assuming this should be an easy fix, but I have no idea where to start. Again, if anyone can help, I would greatly appreciate it. Thanks!

Steve

Philip M

05-04-2008, 07:33 AM

Find where the function showAdLeft() is called and replace with showAdRight().

SteveMTNO

05-04-2008, 05:11 PM

Find where the function showAdLeft() is called and replace with showAdRight().

That's what I thought when I first looked at the code. But after closer inspection, they both send the popup to the left. The difference is that showAdRight() sends it over an additional 150px to allow for the popup to appear in the same place as the one in the left column on that row...

SteveMTNO

05-07-2008, 09:13 PM

OK, now that we've "semi-launched" the new site, I can post a URL so you can see the issue I'm having in the full context of the page.

Go to http://www.stltoday.com/autos and check out the Featured Rides module. You'll see 2 rows of 2 ads.

When you mouse over an ad, the popups currently go to the left. What I would to do is have them go to the right instead. More specifically, I'd like them to appear 25px to the right of the ad in the right column. So if you mouse over the ad in either column, it needs to appear 25px to the right of the ad in the right column.