Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

buttons invisible in FireFox


badboo

Recommended Posts

check out my store and click on Portfolio on the left.

 

In IE the buttons should show up and everything should be ok. But in FireFox it's just a blank page.

 

Here is the code (without the top part of the PHP content):

 

define('TEXT_INFORMATION', '<table border="0" width="100%" cellspacing="3" cellpadding="2">
                                         <tr>
        <td VALIGN=TOP ALIGN=LEFT class="smallText"><font color="#000000">
     Complete customer satisfaction is our promise. No job is finished without
     a happy and satisfied customer! To see some of our latest work please
     follow the categories below.<br><br>
     
     </td>
        </td>
       </tr>
      </table>
      <table border="0" width="100%" cellspacing="3" cellpadding="2">
                                         <tr>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/logos.html" target="_blank"><img src="images/butt_logo.jpg" border="0" alt="Logo Design" title=" Logo Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
         </td>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/business1.html" target="_blank"><img src="images/butt_bcard.jpg" border="0" alt="Business Cards" title=" Business Cards " width="161" hspace="1" vspace="1"></a>
          </noscript>
        </td>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/station.html" target="_blank"><img src="images/butt_stat.jpg" border="0" alt="Stationary Design" title=" Stationary Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
        </td>
      <tr>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/web.html" target="_blank"><img src="images/butt_web.jpg" border="0" alt="Web Design" title=" Web Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
         </td>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/other.html" target="_blank"><img src="images/butt_other.jpg" border="0" alt="Other Design" title=" Other Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
        </td>
      </tr>
        <td
        </td>
       <tr>

      </tr></table>

 

Iam pretty new to php and I just copied what I saw already in the code of osCommerce. Is there a "better" way to do this?

Preferrably without installing any contribs unless it kicks butt.

 

cheers

Link to comment
Share on other sites

The first thing you could try is removing the

<noscript> and </noscript> tags.

 

These don't look like they are needed because there are

no scripts in your links.

Link to comment
Share on other sites

Alright - thanks for this hint but now - lol :blink: - everything is reversed hahaha

 

It works in Firefox but not in IE anymore lol

 

Now it looks like this (i took the <noscript> out):

 

     <td ALIGN=CENTER
           <a href="http://www.karma-creations.com/html/logos.html" target="_blank"><img src="images/butt_logo.jpg" border="0" alt="Logo Design" title=" Logo Design " width="161" hspace="1" vspace="1"></a>
         </td>
        <td ALIGN=CENTER
          <a href="http://www.karma-creations.com/html/business1.html" target="_blank"><img src="images/butt_bcard.jpg" border="0" alt="Business Cards" title=" Business Cards " width="161" hspace="1" vspace="1"></a>
          </td>
        <td ALIGN=CENTER
          <a href="http://www.karma-creations.com/html/station.html" target="_blank"><img src="images/butt_stat.jpg" border="0" alt="Stationary Design" title=" Stationary Design " width="161" hspace="1" vspace="1"></a>
          </td>
      <tr>
        <td ALIGN=CENTER
          <a href="http://www.karma-creations.com/html/web.html" target="_blank"><img src="images/butt_web.jpg" border="0" alt="Web Design" title=" Web Design " width="161" hspace="1" vspace="1"></a>
          </td>
        <td ALIGN=CENTER
          <a href="http://www.karma-creations.com/html/other.html" target="_blank"><img src="images/butt_other.jpg" border="0" alt="Other Design" title=" Other Design " width="161" hspace="1" vspace="1"></a>
          </td>

Link to comment
Share on other sites

I think you need to clear the cache on your computer - because I've checked both IE and Firefox and both appear okay.

 

Vger

 

Uhhh, no change for me. I have two computers and both IEs don't show it correctly I dunno why - I cleared cache, cookies and what I don't know what.

 

So now what? I mean it's pretty impossible that only certain IEs don't display this simple piece of code <_<

 

hmmm

Link to comment
Share on other sites

Uhhh, no change for me. I have two computers and both IEs don't show it correctly I dunno why - I cleared cache, cookies and what  I don't know what.

 

So now what? I mean it's pretty impossible that only certain IEs don't display this simple piece of code  <_<

 

hmmm

 

Unless it's somewhere lower in your code you have either an obselete <tr> or a missing </tr>.

Link to comment
Share on other sites

Uhhh, no change for me. I have two computers and both IEs don't show it correctly I dunno why - I cleared cache, cookies and what  I don't know what.

 

So now what? I mean it's pretty impossible that only certain IEs don't display this simple piece of code  <_<

 

hmmm

 

Opera:

Cookie Security Problem:
A path in a cookie does not match the page address.
You might ask the site's webmaster to set legal cookies.
Do you want to accept this cookie?
http://www.karma-creations.com/index.php
osCsid=8c47407d2a71ff5c2b36ce7dd57ca988; path=/cookies; domain=www.karma-creations.com
let [accept] and [refuse] apply for the entire domain

 

I didn't accept :(

 

In Moz, FF and IE6 portfolio looks normal

"If you're working on something new, then you are necessarily an amateur."

Link to comment
Share on other sites

@ Howard

 

ok I will check that...

 

@ john

 

thanks for checking it with all the browsers. I don't know why the cookie problem occurs as I don't force cookie use and by using the Session IDs... :-"

Link to comment
Share on other sites

AAARGH :rolleyes:

 

Me stupid:

 

ok guys - I hope someone else got that b4 but what I am talking about is that I don't just need to have those buttons visible

 

I ALSO HAVE MORE PAGES LINKED TO THEM!!! and those links don't work in IE anymore - only in FireFox it works (at least for me).

 

I am sorry for posting this so inaccurately but maybe or hopefully averybody thought that far!

 

Thanks for bearing with me!

 

Casi :blush:

Link to comment
Share on other sites

PUMP  :rolleyes:

 

I see the buttons in both Firefox and IE6 ?! The only difference seems to be they are clickable in Firefox but not in IE6.

I looked at both the source in Firefox and IE6 and they are identical. So, probably a shot in the dark but never hurts to try, the only possible cause I see is you have an attribute TITLE="..." in your <IMG SRC=...> which is as far as I know not a supported attribute for this.

IE6 might choke on it while Firefox probably just ignores it.

Remove those 'title=' and see what gives.

 

Something else: you might have a cookie problem as there are session ID's all over in your generated source which normally shouldn't belong there.

Link to comment
Share on other sites

I removed the "title" tags and it didn't change anything...

 

For now I will change it so that it works for IE and not FF :'(

 

maybe anybody else with an idea?

 

Casi

Link to comment
Share on other sites

I removed the "title" tags and it didn't change anything...

 

For now I will change it so that it works for IE and not FF  :'(

 

maybe anybody else with an idea?

 

Casi

 

Not anybody else if you don't mind but being stubborn I found your culprit this time. The TITLE tag doesn't make a difference indeed although it doesn't belong there.

I was about to suggest to take that portion of your portfolio page and put it in a simple html page to see what gives and make it a bit easier to find the problem.

Well, I did that for you and found this:

<td ALIGN=CENTER

          >

Removing the characters between the last 'R' and the closing '>' just did the trick. Clickable and visible in IE and Firefox.

Better you change it to ALIGN="center" anyway.

Link to comment
Share on other sites

Not anybody else if you don't mind but being stubborn I found your culprit this time. The TITLE tag doesn't make a difference indeed although it doesn't belong there.

I was about to suggest to take that portion of your portfolio page and put it in a simple html page to see what gives and make it a bit easier to find the problem.

Well, I did that for you and found this:

 

Removing the characters between the last 'R' and the closing '>' just did the trick. Clickable and visible in IE and Firefox.

Better you change it to ALIGN="center" anyway.

 

I must be losing it - i have no idea what file you are talking about :'(

I suppose the portfolio.php where I have the following code:

 

</table>
      <table border="0" width="100%" cellspacing="3" cellpadding="2">
                                         <tr>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/logos.html" target="_blank"><img src="images/butt_logo.jpg" border="0" alt="Logo Design" title=" Logo Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
         </td>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/business1.html" target="_blank"><img src="images/butt_bcard.jpg" border="0" alt="Business Cards" title=" Business Cards " width="161" hspace="1" vspace="1"></a>
          </noscript>
        </td>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/station.html" target="_blank"><img src="images/butt_stat.jpg" border="0" alt="Stationary Design" title=" Stationary Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
        </td>
      <tr>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/web.html" target="_blank"><img src="images/butt_web.jpg" border="0" alt="Web Design" title=" Web Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
         </td>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/other.html" target="_blank"><img src="images/butt_other.jpg" border="0" alt="Other Design" title=" Other Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
        </td>
      </tr>
        <td
        </td>
       <tr>

      </tr></table>

 

So I don't really understand what last "R" you mean :-"

 

BTW I didn't mean nybody else I meant any other ideas - lol. Your comments are highly welcomed :thumbsup:

Link to comment
Share on other sites

I must be losing it - i have no idea what file you are talking about  :'(

I suppose the portfolio.php where I have the following code:

 

</table>
      <table border="0" width="100%" cellspacing="3" cellpadding="2">
                                         <tr>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/logos.html" target="_blank"><img src="images/butt_logo.jpg" border="0" alt="Logo Design" title=" Logo Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
         </td>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/business1.html" target="_blank"><img src="images/butt_bcard.jpg" border="0" alt="Business Cards" title=" Business Cards " width="161" hspace="1" vspace="1"></a>
          </noscript>
        </td>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/station.html" target="_blank"><img src="images/butt_stat.jpg" border="0" alt="Stationary Design" title=" Stationary Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
        </td>
      <tr>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/web.html" target="_blank"><img src="images/butt_web.jpg" border="0" alt="Web Design" title=" Web Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
         </td>
        <td ALIGN=CENTER
          <noscript> 	 
           <a href="http://www.karma-creations.com/html/other.html" target="_blank"><img src="images/butt_other.jpg" border="0" alt="Other Design" title=" Other Design " width="161" hspace="1" vspace="1"></a>
          </noscript>
        </td>
      </tr>
        <td
        </td>
       <tr>

      </tr></table>

 

So I don't really understand what last "R" you mean  :-"

 

BTW I didn't mean nybody else I meant any other ideas - lol. Your comments are highly welcomed  :thumbsup:

 

Casi, look in your PM box.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...