Forums / Basic Configuration / new uploaded banners get a style="display:none;"... why?

new uploaded banners get a style="display:none;"... why?

Locked

Views: 1,456

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
15 Nov 2006, 11:53 PM
#1
ryno267 avatar

ryno267

New Zenner

Join Date:
Oct 2005
Posts:
7
Plugin Contributions:
0

new uploaded banners get a style="display:none;"... why?

I can't figure out where this is coming from so need some help / insight.

Using the 1.3.6ZC, and using the sidebox_banners group and have all other groups turned off. The two zencart logo banners display fine and track ok on the front end.
My problem lies in the new banner I uploaded using the banner_manager "new banner". The image uploaded fine and I can access it directly in my browser so I know it's there and not corrupt. When I cycle through the banners by refreshing my homepage that one doesn't show up and here's what the "view-source" shows...

<div id="bannerbox2Content" class="sideBoxContent centeredContent"><a href="http://domain.com/index.php?main_page=redirect&action=banner&goto=9" target="_blank"><img style="display: none;" src="images/banners/sample_120x240.gif" alt="image description" title=" img description " height="240" width="120"></a></div>

Why is is putting a "style='display:none;" in there? Where is that coming from? It can't be my style sheet as that's a ZC generated inline style.

The other banners don't have that and I'm wondering why my uploaded banners are getting that put on it?

Ideas? Help! lol.. thanks!

--
zinner ;)

16 Nov 2006, 12:05 AM
#2
ryno267 avatar

ryno267

New Zenner

Join Date:
Oct 2005
Posts:
7
Plugin Contributions:
0

Re: new uploaded banners get a style="display:none;"... why?

and by the way... the ZC backend is counting views even though the image doesn't display... idk

--
zinner ;)

16 Nov 2006, 12:10 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: new uploaded banners get a style="display:none;"... why?

CSS is not code ... and therefor not too bright ... :lamo:

If you have FireFox, peek at the CSS ... View CSS and see if you can find that ...

If not, do a View Source ... what stylesheets are loading? What stylesheets do you "think" are loading? Anything extra in there?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

17 Nov 2006, 6:49 PM
#4
ryno267 avatar

ryno267

New Zenner

Join Date:
Oct 2005
Posts:
7
Plugin Contributions:
0

Re: new uploaded banners get a style="display:none;"... why?

It's putting an inline tag into it though... so it's not from a linked stylesheet. That's what I don't get... why is it putting an inline style=display:none; ?

--
zinner ;)

7 Dec 2006, 11:15 PM
#5
ryno267 avatar

ryno267

New Zenner

Join Date:
Oct 2005
Posts:
7
Plugin Contributions:
0

Re: new uploaded banners get a style="display:none;"... why?

bump - still having this issue and I can't seem to understand why it's adding that tag...

thanks.

--
zinner ;)